Method

GtkActionableset_detailed_action_name

since: 3.4

Declaration [src]

void
gtk_actionable_set_detailed_action_name (
  GtkActionable* actionable,
  const gchar* detailed_action_name
)

Description [src]

Sets the action-name and associated string target value of an actionable widget.

detailed_action_name is a string in the format accepted by g_action_parse_detailed_name().

(Note that prior to version 3.22.25, this function is only usable for actions with a simple “s” target, and detailed_action_name must be of the form "action::target" where action is the action name and target is the string to use as the target.)

Available since: 3.4

Parameters

detailed_action_name

Type: const gchar*

The detailed action name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.