Description Usage Arguments Details Note Author(s)
This is a utility function for GtkActivatable
implementors.
1 | gtkActivatableDoSetRelatedAction(object, action)
|
|
a |
|
the |
When implementing GtkActivatable
you must call this when
handling changes of the "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.
PLEASE NOTE: Be careful to call this before setting the local
copy of the GtkAction
property, since this function uses
gtkActivatableGetAction()
to retrieve the previous action Since 2.16
Be careful to call this before setting the local
copy of the GtkAction
property, since this function uses
gtkActivatableGetAction()
to retrieve the previous action
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.