Function

Gtk.WidgetActionActivateFunc

Declaration

void
WidgetActionActivateFunc (
  GtkWidget* widget,
  const char* action_name,
  GVariant* parameter
)

Description [src]

The type of the callback functions used for activating actions installed with gtk_widget_class_install_action().

The parameter must match the parameter_type of the action.

Parameters

widget GtkWidget
 

the widget to which the action belongs

 The data is owned by the caller of the function
action_name const char*
 

the action name

 The data is owned by the caller of the function
 The string is a NUL terminated UTF-8 string
parameter GVariant*
 

parameter for activation

 The data is owned by the caller of the function