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
146 lines
2.7 KiB
Plaintext
146 lines
2.7 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GtkListItem
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
an item in a #GtkList.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
The #GtkListItem widget is used for each item in a #GtkList.
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
<term>#GtkList</term>
|
|
<listitem><para>the parent list widget.</para></listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GtkListItem ##### -->
|
|
<para>
|
|
The #GtkListItem struct contains private data only, and should
|
|
only be accessed using the functions below.
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_list_item_new ##### -->
|
|
<para>
|
|
Creates a new #GtkListitem.
|
|
</para>
|
|
|
|
@Returns: a new #GtkListItem.
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_list_item_new_with_label ##### -->
|
|
<para>
|
|
Creates a new #GtkListItem with a child label containing the given string.
|
|
</para>
|
|
|
|
@label: the string to use for the child label.
|
|
@Returns: a new #GtkListItem with a child #GtkLabel with the text set to
|
|
@label.
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_list_item_select ##### -->
|
|
<para>
|
|
Selects the item, by emitting the item's "select" signal.
|
|
Depending on the selection mode of the list, this may cause other items to
|
|
be deselected.
|
|
</para>
|
|
|
|
@list_item: a #GtkListItem.
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_list_item_deselect ##### -->
|
|
<para>
|
|
Deselects the item, by emitting the item's "deselect" signal.
|
|
</para>
|
|
|
|
@list_item: a #GtkListItem.
|
|
|
|
|
|
<!-- ##### SIGNAL GtkListItem::end-selection ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@listitem: the object which received the signal.
|
|
|
|
<!-- ##### SIGNAL GtkListItem::extend-selection ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@listitem: the object which received the signal.
|
|
@scroll_type:
|
|
@position:
|
|
@auto_start_selection:
|
|
|
|
<!-- ##### SIGNAL GtkListItem::scroll-horizontal ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@listitem: the object which received the signal.
|
|
@scroll_type:
|
|
@position:
|
|
|
|
<!-- ##### SIGNAL GtkListItem::scroll-vertical ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@listitem: the object which received the signal.
|
|
@scroll_type:
|
|
@position:
|
|
|
|
<!-- ##### SIGNAL GtkListItem::select-all ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@listitem: the object which received the signal.
|
|
|
|
<!-- ##### SIGNAL GtkListItem::start-selection ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@listitem: the object which received the signal.
|
|
|
|
<!-- ##### SIGNAL GtkListItem::toggle-add-mode ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@listitem: the object which received the signal.
|
|
|
|
<!-- ##### SIGNAL GtkListItem::toggle-focus-row ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@listitem: the object which received the signal.
|
|
|
|
<!-- ##### SIGNAL GtkListItem::undo-selection ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@listitem: the object which received the signal.
|
|
|
|
<!-- ##### SIGNAL GtkListItem::unselect-all ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@listitem: the object which received the signal.
|
|
|