Method
Gtk.Widget.activate_action
Declaration [src]
gboolean
gtk_widget_activate_action (
GtkWidget* widget,
const char* name,
const char* format_string,
...
)
Description [src]
Looks up the action in the action groups associated
with widget
and its ancestors, and activates it.
This is a wrapper around gtk_widget_activate_action_variant()
that constructs the args
variant according to format_string
.
Parameters
name |
const char* |
the name of the action to activate |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string | |
format_string |
const char* |
GVariant format string for arguments or |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string | |
... |
|
arguments, as given by format string |