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
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GtkSeparatorToolItem
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
A toolbar item that separates groups of other toolbar items.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
A #GtkSeparatorItem is a #GtkToolItem that separates groups of other
|
|
#GtkToolItems. Depending on the theme, a #GtkSeparatorToolItem will
|
|
often look like a vertical line on horizontally docked toolbars.
|
|
</para>
|
|
<para>
|
|
If the property "expand" is #TRUE and the property "draw" is #FALSE, a
|
|
#GtkSeparatorToolItem will act as a "spring" that forces other items
|
|
to the ends of the toolbar.
|
|
</para>
|
|
<para>
|
|
Use gtk_separator_tool_item_new() to create a new #GtkSeparatorToolItem.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term>#GtkToolbar</term>
|
|
<listitem><para>The toolbar widget</para></listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term>#GtkRadioToolButton</term>
|
|
<listitem><para>A toolbar item containing a radio
|
|
button</para></listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GtkSeparatorToolItem ##### -->
|
|
<para>
|
|
The #GtkSeparatorToolItem struct contains only private data and
|
|
should only be accessed through the functions described below.
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_separator_tool_item_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### ARG GtkSeparatorToolItem:draw ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|