gtk.ActivatableT

Undocumented in source.

Public Imports

gtkc.gtktypes
public import gtkc.gtktypes;
Undocumented in source.
gtkc.gtk
public import gtkc.gtk;
Undocumented in source.
glib.ConstructionException
public import glib.ConstructionException;
Undocumented in source.
gobject.ObjectG
public import gobject.ObjectG;
Undocumented in source.
gtk.Action
public import gtk.Action;
Undocumented in source.

Members

Templates

ActivatableT
template ActivatableT(TStruct)

Description Activatable widgets can be connected to a GtkAction and reflects the state of its action. A GtkActivatable can also provide feedback through its action, as they are responsible for activating their related actions. Implementing GtkActivatable When extending a class that is already GtkActivatable; it is only necessary to implement the GtkActivatable->sync_action_properties() and GtkActivatable->update() methods and chain up to the parent implementation, however when introducing a new GtkActivatable class; the "related-action" and "use-action-appearance" properties need to be handled by the implementor. Handling these properties is mostly a matter of installing the action pointer and boolean flag on your instance, and calling gtk_activatable_do_set_related_action() and gtk_activatable_sync_action_properties() at the appropriate times.

Meta