1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkListItem
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2004-10-11 20:10:52 +00:00
|
|
|
An item in a GtkList
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
2000-02-28 21:39:41 +00:00
|
|
|
The #GtkListItem widget is used for each item in a #GtkList.
|
2004-05-11 04:32:13 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
GtkList has has been deprecated since GTK+ 2.0 and should not be used
|
|
|
|
in newly written code. Use #GtkTreeView instead.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
2000-02-28 21:39:41 +00:00
|
|
|
<variablelist>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>#GtkList</term>
|
|
|
|
<listitem><para>the parent list widget.</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkListItem ##### -->
|
|
|
|
<para>
|
2000-02-28 21:39:41 +00:00
|
|
|
The #GtkListItem struct contains private data only, and should
|
|
|
|
only be accessed using the functions below.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkListItem::end-selection ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@listitem: the object which received the signal.
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkListItem::extend-selection ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@listitem: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@scroll_type:
|
|
|
|
@position:
|
|
|
|
@auto_start_selection:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkListItem::scroll-horizontal ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@listitem: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@scroll_type:
|
|
|
|
@position:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkListItem::scroll-vertical ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@listitem: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@scroll_type:
|
|
|
|
@position:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkListItem::select-all ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@listitem: the object which received the signal.
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkListItem::start-selection ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@listitem: the object which received the signal.
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkListItem::toggle-add-mode ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@listitem: the object which received the signal.
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkListItem::toggle-focus-row ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@listitem: the object which received the signal.
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkListItem::undo-selection ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@listitem: the object which received the signal.
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkListItem::unselect-all ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@listitem: the object which received the signal.
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### 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.
|
|
|
|
|
|
|
|
|