summaryrefslogtreecommitdiff
path: root/docs/reference/gtk/tmpl/gtklistitem.sgml
blob: e7a4d9abed59b62e11baa9c890120545f586f492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!-- ##### 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>
<para>
GtkList has has been deprecated since GTK+ 2.0 and should not be used
in newly written code. Use #GtkTreeView instead.
</para>

<!-- ##### SECTION See_Also ##### -->
<para>
<variablelist>

<varlistentry>
<term>#GtkList</term>
<listitem><para>the parent list widget.</para></listitem>
</varlistentry>

</variablelist>

</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### SECTION Image ##### -->


<!-- ##### STRUCT GtkListItem ##### -->
<para>
The #GtkListItem struct contains private data only, and should
only be accessed using the functions below.
</para>


<!-- ##### 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.

<!-- ##### FUNCTION gtk_list_item_new ##### -->
<para>
Creates a new #GtkListitem.
</para>

@void: 
@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.