Method

GioActionGroupget_action_enabled

Declaration

gboolean
g_action_group_get_action_enabled (
  GActionGroup* action_group,
  const gchar* action_name
)

Description

Checks if the named action within action_group is currently enabled.

An action must be enabled in order to be activated or in order to have its state changed from outside callers.

Available since:2.28

Parameters

action_name const gchar*
 

The name of the action to query.

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

Return value

Returns: gboolean
 

Whether or not the action is currently enabled.