Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkActivatable |
Interface : | Activatable |
Implementations: | Gtk.Button, Gtk.CheckButton, Gtk.CheckMenuItem, Gtk.ColorButton, Gtk.FontButton, Gtk.ImageMenuItem, Gtk.LinkButton, Gtk.MenuItem, Gtk.MenuToolButton, Gtk.OptionMenu, Gtk.RadioButton, Gtk.RadioMenuItem, Gtk.RadioToolButton, Gtk.RecentChooserMenu, Gtk.ScaleButton, Gtk.SeparatorMenuItem, Gtk.SeparatorToolItem, Gtk.TearoffMenuItem, Gtk.ToggleButton, Gtk.ToggleToolButton, Gtk.ToolButton, Gtk.ToolItem, Gtk.VolumeButton |
Show / Hide Inherited methods, properties and signals |
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.
|
Gtk.Activatable | |
use_action_appearance : Boolean
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.
|
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.
|
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
()
:
Boolean
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.
|
Gtk.Activatable | |
set_use_action_appearance
(Boolean use_appearance)
:
none
Sets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance
Sets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance
|
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 |