~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to docs/reference/gtk/tmpl/gtkitemfactory.sgml

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-05-04 12:24:25 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20070504122425-0m8midgzrp40y8w2
Tags: 2.10.12-1ubuntu1
* Sync with Debian
* New upstream version:
  Fixed bugs:
  - 379414 file chooser warnings when changing path in the entry
  - 418585 GtkFileChooserDefault sizing code is not DPI independent
  - 419568 Crash in search if start with special letter
  - 435062 build dies with icon cache validation
  - 379399 Segfault to call gtk_print_operation_run twice.
  - 387889 cups backend has problems when there are too many printers
  - 418531 invalid read to gtkicontheme.c gtk_icon_theme_lookup_icon...
  - 423916 crash in color scheme code
  - 424042 Segmentation fault while quickly pressing Alt+arrows
  - 415260 Protect against negative indices when setting values in G...
  - 419171 XGetVisualInfo() may not set nxvisuals
  - 128852 Gdk cursors don't look good on win32
  - 344657 Ctrl-H doesn't toggle "Show Hidden Files" setting
  - 345345 PrintOperation::paginate is not emitted for class handler
  - 347567 GtkPrintOperation::end-print is not emitted if it's cance...
  - 369112 gtk_ui_manager_add_ui should accept unnamed separator
  - 392015 Selected menu item invisible on Windows Vista
  - 399253 MS-Windows Theme Bottom Tab placement rendering glitches
  - 399425 gtk_input_dialog_fill_axes() adds child to gtkscrolledwin...
  - 403251 [patch] little memory leak in GtkPrintJob
  - 403267 [patch] memory leak in GtkPageSetupUnixDialog
  - 403470 MS-Windows Theme tab placement other than on top leaks a ...
  - 404506 Windows system fonts that have multi-byte font names cann...
  - 405089 Incorrect window placement for GtkEventBox private window
  - 405515 Minor leak in gtkfilesystemmodel.c
  - 405539 gdk_pixbuf_save() for PNG saver can return FALSE without ...
  - 415681 gdk_window_clear_area includes an extra line and column o...
  - 418219 GtkRecentChooser should apply filter before sorting and c...
  - 418403 Scroll to printer after selecting it from settings
  - 421985 _gtk_print_operation_platform_backend_launch_preview
  - 421990 gtk_print_job_get_surface
  - 421993 gtk_print_operation_init
  - 423064 Conditional jump or move depends on uninitialised value(s...
  - 423722 Fix printing header in gtk-demo
  - 424168 gtk_print_operation_run on async preview
  - 425655 Don't install gtk+-unix-print-2.0.pc on non-UNIX platforms
  - 425786 GDK segfaults if XineramaQueryScreens fails
  - 428665 Lpr Backend gets stuck in infinite loop during gtk_enumer...
  - 429902 GtkPrintOperation leaks cairo contextes
  - 431997 First delay of GdkPixbufAnimationIter is wrong
  - 433242 Inconsistent scroll arrow position calculations
  - 433972 Placing gtk.Expander inside a gtk.TextView() changes gtk....
  - 434261 _gtk_toolbar_elide_underscores incorrectly handles some s...
  - 383354 ctrl-L should make 'Location' entry disappear
  - 418673 gtk_recent_manager_add_item
  - 429732 gtk_accel_group_finalize accesses invalid memory
  - 435028 WM_CLIENT_LEADER is wrong on the leader_window
  - 431067 Background of the header window is not updated
  - 338843 add recent files support inside the ui manager
  - 148535 add drop shadow to menus, tooltips, etc. under Windows XP
* debian/control.in:
  - Conflicts on ubuntulooks (<= 0.9.11-1)
* debian/patches/15_default-fallback-icon-theme.patch:
  - patch from Debian, fallback on gnome icon theme

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- ##### SECTION Title ##### -->
 
2
GtkItemFactory
 
3
 
 
4
<!-- ##### SECTION Short_Description ##### -->
 
5
A factory for menus
 
6
 
 
7
<!-- ##### SECTION Long_Description ##### -->
 
8
<para>
 
9
As of GTK+ 2.4, #GtkItemFactory has been deprecated in favour of #GtkUIManager.
 
10
</para>
 
11
 
 
12
<!-- ##### SECTION See_Also ##### -->
 
13
<para>
 
14
 
 
15
</para>
 
16
 
 
17
<!-- ##### SECTION Stability_Level ##### -->
 
18
 
 
19
 
 
20
<!-- ##### STRUCT GtkItemFactory ##### -->
 
21
<para>
 
22
 
 
23
</para>
 
24
 
 
25
 
 
26
<!-- ##### USER_FUNCTION GtkPrintFunc ##### -->
 
27
<para>
 
28
 
 
29
</para>
 
30
 
 
31
@func_data: 
 
32
@str: 
 
33
 
 
34
 
 
35
<!-- ##### USER_FUNCTION GtkTranslateFunc ##### -->
 
36
<para>
 
37
The function used to translate messages in e.g. #GtkIconFactory
 
38
and #GtkActionGroup. 
 
39
</para>
 
40
 
 
41
@path: The id of the message. In #GtkItemFactory this will be a path
 
42
  from a #GtkItemFactoryEntry, in #GtkActionGroup, it will be a label
 
43
  or tooltip from a #GtkActionEntry.
 
44
@func_data: user data passed in when registering the function
 
45
@Returns: the translated message
 
46
 
 
47
 
 
48
<!-- ##### USER_FUNCTION GtkItemFactoryCallback ##### -->
 
49
<para>
 
50
 
 
51
</para>
 
52
 
 
53
 
 
54
 
 
55
<!-- ##### USER_FUNCTION GtkItemFactoryCallback1 ##### -->
 
56
<para>
 
57
 
 
58
</para>
 
59
 
 
60
@callback_data: 
 
61
@callback_action: 
 
62
@widget: 
 
63
 
 
64
 
 
65
<!-- ##### USER_FUNCTION GtkItemFactoryCallback2 ##### -->
 
66
<para>
 
67
 
 
68
</para>
 
69
 
 
70
@widget: 
 
71
@callback_data: 
 
72
@callback_action: 
 
73
 
 
74
 
 
75
<!-- ##### STRUCT GtkItemFactoryEntry ##### -->
 
76
<para>
 
77
 
 
78
</para>
 
79
 
 
80
@path: 
 
81
@accelerator: 
 
82
@callback: 
 
83
@callback_action: 
 
84
@item_type: 
 
85
@extra_data: 
 
86
 
 
87
<!-- ##### STRUCT GtkItemFactoryItem ##### -->
 
88
<para>
 
89
 
 
90
</para>
 
91
 
 
92
@path: 
 
93
@widgets: 
 
94
 
 
95
<!-- ##### FUNCTION gtk_item_factory_new ##### -->
 
96
<para>
 
97
 
 
98
</para>
 
99
 
 
100
@container_type: 
 
101
@path: 
 
102
@accel_group: 
 
103
@Returns: 
 
104
 
 
105
 
 
106
<!-- ##### FUNCTION gtk_item_factory_construct ##### -->
 
107
<para>
 
108
 
 
109
</para>
 
110
 
 
111
@ifactory: 
 
112
@container_type: 
 
113
@path: 
 
114
@accel_group: 
 
115
 
 
116
 
 
117
<!-- ##### FUNCTION gtk_item_factory_add_foreign ##### -->
 
118
<para>
 
119
 
 
120
</para>
 
121
 
 
122
@accel_widget: 
 
123
@full_path: 
 
124
@accel_group: 
 
125
@keyval: 
 
126
@modifiers: 
 
127
 
 
128
 
 
129
<!-- ##### FUNCTION gtk_item_factory_from_widget ##### -->
 
130
<para>
 
131
 
 
132
</para>
 
133
 
 
134
@widget: 
 
135
@Returns: 
 
136
 
 
137
 
 
138
<!-- ##### FUNCTION gtk_item_factory_path_from_widget ##### -->
 
139
<para>
 
140
 
 
141
</para>
 
142
 
 
143
@widget: 
 
144
@Returns: 
 
145
 
 
146
 
 
147
<!-- ##### FUNCTION gtk_item_factory_get_item ##### -->
 
148
<para>
 
149
 
 
150
</para>
 
151
 
 
152
@ifactory: 
 
153
@path: 
 
154
@Returns: 
 
155
 
 
156
 
 
157
<!-- ##### FUNCTION gtk_item_factory_get_widget ##### -->
 
158
<para>
 
159
 
 
160
</para>
 
161
 
 
162
@ifactory: 
 
163
@path: 
 
164
@Returns: 
 
165
 
 
166
 
 
167
<!-- ##### FUNCTION gtk_item_factory_get_widget_by_action ##### -->
 
168
<para>
 
169
 
 
170
</para>
 
171
 
 
172
@ifactory: 
 
173
@action: 
 
174
@Returns: 
 
175
 
 
176
 
 
177
<!-- ##### FUNCTION gtk_item_factory_get_item_by_action ##### -->
 
178
<para>
 
179
 
 
180
</para>
 
181
 
 
182
@ifactory: 
 
183
@action: 
 
184
@Returns: 
 
185
 
 
186
 
 
187
<!-- ##### FUNCTION gtk_item_factory_create_item ##### -->
 
188
<para>
 
189
 
 
190
</para>
 
191
 
 
192
@ifactory: 
 
193
@entry: 
 
194
@callback_data: 
 
195
@callback_type: 
 
196
 
 
197
 
 
198
<!-- ##### FUNCTION gtk_item_factory_create_items ##### -->
 
199
<para>
 
200
 
 
201
</para>
 
202
 
 
203
@ifactory: 
 
204
@n_entries: 
 
205
@entries: 
 
206
@callback_data: 
 
207
 
 
208
 
 
209
<!-- ##### FUNCTION gtk_item_factory_create_items_ac ##### -->
 
210
<para>
 
211
 
 
212
</para>
 
213
 
 
214
@ifactory: 
 
215
@n_entries: 
 
216
@entries: 
 
217
@callback_data: 
 
218
@callback_type: 
 
219
 
 
220
 
 
221
<!-- ##### FUNCTION gtk_item_factory_delete_item ##### -->
 
222
<para>
 
223
 
 
224
</para>
 
225
 
 
226
@ifactory: 
 
227
@path: 
 
228
 
 
229
 
 
230
<!-- ##### FUNCTION gtk_item_factory_delete_entry ##### -->
 
231
<para>
 
232
 
 
233
</para>
 
234
 
 
235
@ifactory: 
 
236
@entry: 
 
237
 
 
238
 
 
239
<!-- ##### FUNCTION gtk_item_factory_delete_entries ##### -->
 
240
<para>
 
241
 
 
242
</para>
 
243
 
 
244
@ifactory: 
 
245
@n_entries: 
 
246
@entries: 
 
247
 
 
248
 
 
249
<!-- ##### FUNCTION gtk_item_factory_popup ##### -->
 
250
<para>
 
251
 
 
252
</para>
 
253
 
 
254
@ifactory: 
 
255
@x: 
 
256
@y: 
 
257
@mouse_button: 
 
258
@time_: 
 
259
 
 
260
 
 
261
<!-- ##### FUNCTION gtk_item_factory_popup_with_data ##### -->
 
262
<para>
 
263
 
 
264
</para>
 
265
 
 
266
@ifactory: 
 
267
@popup_data: 
 
268
@destroy: 
 
269
@x: 
 
270
@y: 
 
271
@mouse_button: 
 
272
@time_: 
 
273
 
 
274
 
 
275
<!-- ##### FUNCTION gtk_item_factory_popup_data ##### -->
 
276
<para>
 
277
 
 
278
</para>
 
279
 
 
280
@ifactory: 
 
281
@Returns: 
 
282
 
 
283
 
 
284
<!-- ##### FUNCTION gtk_item_factory_popup_data_from_widget ##### -->
 
285
<para>
 
286
 
 
287
</para>
 
288
 
 
289
@widget: 
 
290
@Returns: 
 
291
 
 
292
 
 
293
<!-- ##### FUNCTION gtk_item_factory_from_path ##### -->
 
294
<para>
 
295
 
 
296
</para>
 
297
 
 
298
@path: 
 
299
@Returns: 
 
300
 
 
301
 
 
302
<!-- ##### FUNCTION gtk_item_factory_create_menu_entries ##### -->
 
303
<para>
 
304
 
 
305
</para>
 
306
 
 
307
@n_entries: 
 
308
@entries: 
 
309
 
 
310
 
 
311
<!-- ##### FUNCTION gtk_item_factories_path_delete ##### -->
 
312
<para>
 
313
 
 
314
</para>
 
315
 
 
316
@ifactory_path: 
 
317
@path: 
 
318
 
 
319
 
 
320
<!-- ##### FUNCTION gtk_item_factory_set_translate_func ##### -->
 
321
<para>
 
322
 
 
323
</para>
 
324
 
 
325
@ifactory: 
 
326
@func: 
 
327
@data: 
 
328
@notify: 
 
329
 
 
330