2003-08-24 20:47:37 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkToggleAction
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2004-10-11 18:08:35 +00:00
|
|
|
An action which can be toggled between two states
|
2003-08-24 20:47:37 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
2003-08-31 00:27:15 +00:00
|
|
|
A #GtkToggleAction corresponds roughly to a #GtkCheckMenuItem. It has an
|
|
|
|
"active" state specifying whether the action has been checked or not.
|
2003-08-24 20:47:37 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkToggleAction ##### -->
|
|
|
|
<para>
|
2003-08-31 00:27:15 +00:00
|
|
|
The <structname>GtkToggleAction</structname> struct contains only
|
|
|
|
private members and should not be accessed directly.
|
2003-08-24 20:47:37 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### SIGNAL GtkToggleAction::toggled ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@toggleaction: the object which received the signal.
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkToggleAction:draw-as-radio ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-01-22 06:48:20 +00:00
|
|
|
<!-- ##### FUNCTION gtk_toggle_action_new ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@name:
|
|
|
|
@label:
|
|
|
|
@tooltip:
|
|
|
|
@stock_id:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2003-08-24 20:47:37 +00:00
|
|
|
<!-- ##### FUNCTION gtk_toggle_action_toggled ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@action:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_toggle_action_set_active ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@action:
|
|
|
|
@is_active:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_toggle_action_get_active ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@action:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2003-09-30 17:10:02 +00:00
|
|
|
<!-- ##### FUNCTION gtk_toggle_action_set_draw_as_radio ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@action:
|
|
|
|
@draw_as_radio:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_toggle_action_get_draw_as_radio ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@action:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|