Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkActivatable |
Interface : | Activatable |
Implementations: | GnomeBluetooth.ChooserButton, Gtk.Button, Gtk.CheckButton, Gtk.CheckMenuItem, Gtk.ColorButton, Gtk.FontButton, Gtk.ImageMenuItem, Gtk.LinkButton, Gtk.MenuItem, Gtk.MenuToolButton, Gtk.RadioButton, Gtk.RadioMenuItem, Gtk.RadioToolButton, Gtk.RecentChooserMenu, Gtk.ScaleButton, Gtk.SeparatorMenuItem, Gtk.SeparatorToolItem, Gtk.Switch, Gtk.TearoffMenuItem, Gtk.ToggleButton, Gtk.ToggleToolButton, Gtk.ToolButton, Gtk.ToolItem, Gtk.VolumeButton |
Properties | Defined By | |
---|---|---|
related_action : Gtk.Action
The action that this activatable will activate and receive
updates from for various states and possibly appearance. The action that this activatable will activate and receive
updates from for various states and possibly appearance. call gtk_activatable_do_set_related_action() when it changes. |
Gtk.Activatable | |
use_action_appearance : gboolean
Whether this activatable should reset its layout
and appearance when setting the related action or when the action changes appearance. Whether this activatable should reset its layout
and appearance when setting the related action or when the action changes appearance. See the GtkAction documentation directly to find which properties should be ignored by the GtkActivatable when this property is FALSE. and call gtk_activatable_sync_action_properties() on the activatable widget when it changes. |
Gtk.Activatable |
Method / Constructor | Defined By | |
---|---|---|
do_set_related_action
(Action action)
:
none
This is a utility function for GtkActivatable implementors.
This is a utility function for GtkActivatable implementors.
When implementing GtkActivatable you must call this when handling changes of the GtkActivatable:related-action, and you must also use this to break references in GObject->dispose(). This function adds a reference to the currently set related action for you, it also makes sure the GtkActivatable->update() method is called when the related GtkAction properties change and registers to the action's proxy list. copy of the GtkAction property, since this function uses gtk_activatable_get_action() to retrieve the previous action
|
Gtk.Activatable | |
get_related_action
()
:
Gtk.Action
Gets the related GtkAction for activatable.
Gets the related GtkAction for activatable.
|
Gtk.Activatable | |
get_use_action_appearance
()
:
gboolean
Gets whether this activatable should reset its layout
and appearance when setting the related action or when the action changes appearance.
Gets whether this activatable should reset its layout
and appearance when setting the related action or when the action changes appearance.
|
Gtk.Activatable | |
set_related_action
(Action action)
:
none
Sets the related action on the activatable object.
Sets the related action on the activatable object.
property and call gtk_activatable_do_set_related_action() when it changes.
|
Gtk.Activatable | |
set_use_action_appearance
(gboolean use_appearance)
:
none
Sets whether this activatable should reset its layout and appearance
when setting the related action or when the action changes appearance GtkActivatable:use-action-appearance property and call gtk_activatable_sync_action_properties() to update activatable if needed.
Sets whether this activatable should reset its layout and appearance
when setting the related action or when the action changes appearance GtkActivatable:use-action-appearance property and call gtk_activatable_sync_action_properties() to update activatable if needed.
|
Gtk.Activatable | |
sync_action_properties
(Action action)
:
none
This is called to update the activatable completely, this is called
internally when the GtkActivatable::related-action property is set or unset and by the implementing class when GtkActivatable::use-action-appearance changes.
This is called to update the activatable completely, this is called
internally when the GtkActivatable::related-action property is set or unset and by the implementing class when GtkActivatable::use-action-appearance changes.
|
Gtk.Activatable |
None |