Virtual Method

Gtk.Actionable.set_action_name

Declaration [src]

void
set_action_name (
  GtkActionable* actionable,
  const char* action_name
)

Description [src]

Specifies the name of the action with which this widget should be associated.

If action_name is NULL then the widget will be unassociated from any previous action.

Usually this function is used when the widget is located (or will be located) within the hierarchy of a GtkApplicationWindow.

Names are of the form “win.save” or “app.quit” for actions on the containing GtkApplicationWindow or its associated GtkApplication, respectively. This is the same form used for actions in the GMenu associated with the window.

org.gtk.Property.setaction-name

Parameters

action_name const char*
 

an action name, or NULL

 Can be NULL
 Ownership is not transferred to the callee
 The string is a NUL terminated UTF-8 string