Synopsis
#include <gtk/gtk.h>
GtkListItem;
GtkWidget* gtk_list_item_new (void);
GtkWidget* gtk_list_item_new_with_label (const gchar *label);
void gtk_list_item_select (GtkListItem *list_item);
void gtk_list_item_deselect (GtkListItem *list_item);
Object Hierarchy
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkItem
+----GtkListItem
Signals"end-selection" : Run Last / Action "extend-selection" : Run Last / Action "scroll-horizontal" : Run Last / Action "scroll-vertical" : Run Last / Action "select-all" : Run Last / Action "start-selection" : Run Last / Action "toggle-add-mode" : Run Last / Action "toggle-focus-row" : Run Last / Action "undo-selection" : Run Last / Action "unselect-all" : Run Last / Action DescriptionThe GtkListItem widget is used for each item in a GtkList. GtkList has has been deprecated since GTK+ 2.0 and should not be used in newly written code. Use GtkTreeView instead. DetailsGtkListItemtypedef struct _GtkListItem GtkListItem; Warning
The GtkListItem struct contains private data only, and should only be accessed using the functions below. gtk_list_item_new ()GtkWidget* gtk_list_item_new (void); Warning
Creates a new GtkListitem.
gtk_list_item_new_with_label ()GtkWidget* gtk_list_item_new_with_label (const gchar *label); Warning
Creates a new GtkListItem with a child label containing the given string.
gtk_list_item_select ()void gtk_list_item_select (GtkListItem *list_item); Warning
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.
gtk_list_item_deselect ()void gtk_list_item_deselect (GtkListItem *list_item); Warning
Deselects the item, by emitting the item's "deselect" signal.
Signal DetailsThe
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"extend-selection" signalvoid user_function (GtkListItem *listitem, GtkScrollType scroll_type, gfloat position, gboolean auto_start_selection, gpointer user_data) : Run Last / Action
|
the object which received the signal. |
|
|
|
|
|
|
|
user data set when the signal handler was connected. |
"scroll-horizontal" signalvoid user_function (GtkListItem *listitem, GtkScrollType scroll_type, gfloat position, gpointer user_data) : Run Last / Action
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |
"scroll-vertical" signalvoid user_function (GtkListItem *listitem, GtkScrollType scroll_type, gfloat position, gpointer user_data) : Run Last / Action
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |
"select-all" signalvoid user_function (GtkListItem *listitem, gpointer user_data) : Run Last / Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"start-selection" signalvoid user_function (GtkListItem *listitem, gpointer user_data) : Run Last / Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"toggle-add-mode" signalvoid user_function (GtkListItem *listitem, gpointer user_data) : Run Last / Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"toggle-focus-row" signalvoid user_function (GtkListItem *listitem, gpointer user_data) : Run Last / Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"undo-selection" signalvoid user_function (GtkListItem *listitem, gpointer user_data) : Run Last / Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"unselect-all" signalvoid user_function (GtkListItem *listitem, gpointer user_data) : Run Last / Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |