forked from AuroraMiddleware/gtk
356df7f650
Thu Oct 23 21:55:10 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make this function take an index and a GtkToolItem. * tests/testtoolbar.c (main): Make "Show Arrow" default to true. Make one of the separators !draw and expand. Update for new highlight_drop_location() API. * gtk/gtktoolitem.[ch]: Remove "pack_end" property * gtk/gtktoolbar.h: Formatting fixes. * gtk/gtktoolbar.c: Remove "pack_end" child property. Allow separator tool items to expand. (logical_to_physical, physical_to_logical): Fix off-by-one errors (Fix #125472, Marco Pesenti Gritti) * gtk/gtkseparatortoolitem.[ch]: Add new "draw" property. (gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also return FALSE, not TRUE. (gtk_separator_too_item_{set|get}_property, (gtk_separator_tool_item_{set|get}_draw): new functions
81 lines
1.3 KiB
Plaintext
81 lines
1.3 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GtkToggleAction
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
an action which can be toggled between two states
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
A #GtkToggleAction corresponds roughly to a #GtkCheckMenuItem. It has an
|
|
"active" state specifying whether the action has been checked or not.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GtkToggleAction ##### -->
|
|
<para>
|
|
The <structname>GtkToggleAction</structname> struct contains only
|
|
private members and should not be accessed directly.
|
|
</para>
|
|
|
|
|
|
<!-- ##### 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:
|
|
|
|
|
|
<!-- ##### 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:
|
|
|
|
|
|
<!-- ##### SIGNAL GtkToggleAction::toggled ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@toggleaction: the object which received the signal.
|
|
|
|
<!-- ##### ARG GtkToggleAction:draw-as-radio ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|