|
|
|
|
@ -40,40 +40,6 @@ members and should not be accessed directly.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkActionEntry ##### -->
|
|
|
|
|
<para>
|
|
|
|
|
<structname>GtkActionEntry</structname> structs are used with
|
|
|
|
|
gtk_action_group_add_actions() to construct actions.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
@name: The name of the action.
|
|
|
|
|
@stock_id: The stock id for the action.
|
|
|
|
|
@label: The label for the action. This field should typically be marked for
|
|
|
|
|
translation, see gtk_action_group_set_translation_domain().
|
|
|
|
|
@accelerator: The accelerator for the action, in the format understood by
|
|
|
|
|
gtk_accelerator_parse().
|
|
|
|
|
@tooltip: The tooltip for the action. This field should typically be marked
|
|
|
|
|
for translation, see gtk_action_group_set_translation_domain().
|
|
|
|
|
@callback: The function to call when the action is activated.
|
|
|
|
|
@is_toggle: If this is %TRUE, a #GtkToggleAction is constructed, else a
|
|
|
|
|
#GtkAction.
|
|
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkRadioActionEntry ##### -->
|
|
|
|
|
<para>
|
|
|
|
|
<structname>GtkRadioActionEntry</structname> structs are used with
|
|
|
|
|
gtk_action_group_add_radio_actions() to construct radio actions.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
@name: The name of the action.
|
|
|
|
|
@stock_id: The stock id for the action.
|
|
|
|
|
@label: The label for the action. This field should typically be marked for
|
|
|
|
|
translation, see gtk_action_group_set_translation_domain().
|
|
|
|
|
@accelerator: The accelerator for the action, in the format understood by
|
|
|
|
|
gtk_accelerator_parse().
|
|
|
|
|
@tooltip: The tooltip for the action. This field should typically be marked for
|
|
|
|
|
translation, see gtk_action_group_set_translation_domain().
|
|
|
|
|
@value: The value to set on the radio action. See gtk_radio_action_get_current_value().
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_action_group_new ##### -->
|
|
|
|
|
<para>
|
|
|
|
|
|
|
|
|
|
@ -129,6 +95,22 @@ gtk_action_group_add_radio_actions() to construct radio actions.
|
|
|
|
|
@action:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkActionEntry ##### -->
|
|
|
|
|
<para>
|
|
|
|
|
<structname>GtkActionEntry</structname> structs are used with
|
|
|
|
|
gtk_action_group_add_actions() to construct actions.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
@name: The name of the action.
|
|
|
|
|
@stock_id: The stock id for the action.
|
|
|
|
|
@label: The label for the action. This field should typically be marked for
|
|
|
|
|
translation, see gtk_action_group_set_translation_domain().
|
|
|
|
|
@accelerator: The accelerator for the action, in the format understood by
|
|
|
|
|
gtk_accelerator_parse().
|
|
|
|
|
@tooltip: The tooltip for the action. This field should typically be marked
|
|
|
|
|
for translation, see gtk_action_group_set_translation_domain().
|
|
|
|
|
@callback: The function to call when the action is activated.
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_action_group_add_actions ##### -->
|
|
|
|
|
<para>
|
|
|
|
|
|
|
|
|
|
@ -152,6 +134,62 @@ gtk_action_group_add_radio_actions() to construct radio actions.
|
|
|
|
|
@destroy:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkToggleActionEntry ##### -->
|
|
|
|
|
<para>
|
|
|
|
|
<structname>GtkToggleActionEntry</structname> structs are used with
|
|
|
|
|
gtk_action_group_add_toggle_actions() to construct toggle actions.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
@name: The name of the action.
|
|
|
|
|
@stock_id: The stock id for the action.
|
|
|
|
|
@label: The label for the action. This field should typically be marked for
|
|
|
|
|
translation, see gtk_action_group_set_translation_domain().
|
|
|
|
|
@accelerator: The accelerator for the action, in the format understood by
|
|
|
|
|
gtk_accelerator_parse().
|
|
|
|
|
@tooltip: The tooltip for the action. This field should typically be marked
|
|
|
|
|
for translation, see gtk_action_group_set_translation_domain().
|
|
|
|
|
@callback: The function to call when the action is activated.
|
|
|
|
|
@is_active: The initial state of the toggle action.
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_action_group_add_toggle_actions ##### -->
|
|
|
|
|
<para>
|
|
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
@action_group:
|
|
|
|
|
@entries:
|
|
|
|
|
@n_entries:
|
|
|
|
|
@user_data:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_action_group_add_toggle_actions_full ##### -->
|
|
|
|
|
<para>
|
|
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
@action_group:
|
|
|
|
|
@entries:
|
|
|
|
|
@n_entries:
|
|
|
|
|
@user_data:
|
|
|
|
|
@destroy:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkRadioActionEntry ##### -->
|
|
|
|
|
<para>
|
|
|
|
|
<structname>GtkRadioActionEntry</structname> structs are used with
|
|
|
|
|
gtk_action_group_add_radio_actions() to construct groups of radio actions.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
@name: The name of the action.
|
|
|
|
|
@stock_id: The stock id for the action.
|
|
|
|
|
@label: The label for the action. This field should typically be marked for
|
|
|
|
|
translation, see gtk_action_group_set_translation_domain().
|
|
|
|
|
@accelerator: The accelerator for the action, in the format understood by
|
|
|
|
|
gtk_accelerator_parse().
|
|
|
|
|
@tooltip: The tooltip for the action. This field should typically be marked for
|
|
|
|
|
translation, see gtk_action_group_set_translation_domain().
|
|
|
|
|
@value: The value to set on the radio action. See gtk_radio_action_get_current_value().
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_action_group_add_radio_actions ##### -->
|
|
|
|
|
<para>
|
|
|
|
|
|
|
|
|
|
@ -160,6 +198,7 @@ gtk_action_group_add_radio_actions() to construct radio actions.
|
|
|
|
|
@action_group:
|
|
|
|
|
@entries:
|
|
|
|
|
@n_entries:
|
|
|
|
|
@value:
|
|
|
|
|
@on_change:
|
|
|
|
|
@user_data:
|
|
|
|
|
|
|
|
|
|
@ -172,6 +211,7 @@ gtk_action_group_add_radio_actions() to construct radio actions.
|
|
|
|
|
@action_group:
|
|
|
|
|
@entries:
|
|
|
|
|
@n_entries:
|
|
|
|
|
@value:
|
|
|
|
|
@on_change:
|
|
|
|
|
@user_data:
|
|
|
|
|
@destroy:
|
|
|
|
|
|