Gtk.WidgetActionActivateFunc
Description: Reference for Gtk.WidgetActionActivateFunc

### Function

# GtkWidgetActionActivateFunc

#### 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.