]> Pileus Git - ~andy/gtk/blob - docs/reference/ChangeLog
Fix typo in "Simple Example". (#78661)
[~andy/gtk] / docs / reference / ChangeLog
1 2002-04-22  Matthias Clasen  <maclas@gmx.de>
2
3         * gtk/tree_widget.sgml: Fix typo in "Simple Example".  (#78661)
4
5 2002-04-21  Matthias Clasen  <maclas@gmx.de>
6
7         * gtk/tmpl/gtktreemodel.sgml: 
8         * gtk/tmpl/gtkradiomenuitem.sgml: Fix crossreferences.  (#78392) 
9
10         * gtk/gtk-sections.txt: Add GtkWidgetClass.  (#78392)
11
12         * gtk/tmpl/gtkwidget.sgml: Rewrite docs for
13         gtk_widget_reset_rc_styles.  (#75588)
14
15         * gdk/tmpl/properties.sgml: Fix gdk_property_change docs. (#72312)
16
17         * gtk/text_widget.sgml: Fix misleading example.  (#79080)
18         
19         * gtk/tmpl/gtkdialog.sgml: Fix stock id in example.  (#74439)
20
21 Tue Apr  9 18:34:58 2002  Owen Taylor  <otaylor@redhat.com>
22
23         * gtk/gtkcontainer.c (_gtk_container_queue_resize): Always
24         set the ALLOC_NEEDED and REQUEST_NEEDED flags up the hierarchy,
25         even if we aren't currently in a resize container... we need
26         this to properly handle size changes to widgets that are
27         being moved from one heirarchy to another. (#78226)
28
29 Tue Apr  9 21:41:24 2002  Kristian Rietveld  <kris@gtk.org>
30
31         Fixes #78110
32
33         * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
34         add override_browse_mode argument and implement,
35         (gtk_tree_selection_unselect_path): always unselect the path,
36         (toplevel): update uses of _gtk_tree_selection_internal_select_node
37
38         * gtk/gtktreeview.c: update uses of
39         _gtk_tree_selection_internal_select_node
40
41         * gtk/gtktreeprivate.h (_gtk_tree_selection_internal_select_node):
42         update prototype
43
44 Tue Apr  9 21:39:44 2002  Kristian Rietveld  <kris@gtk.org>
45
46         Fixes #77862
47
48         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_has_editable_cell
49
50         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_has_editable_cell):
51         new function
52
53         * gtk/gtktreeview.c (gtk_tree_view_button_press): send cell event
54         on first click when cell isn't editable
55
56 Tue Apr  9 21:37:31 2002  Kristian Rietveld  <kris@gtk.org>
57
58         * gtk/gtktreedatalist.c (_gtk_tree_data_list_check_type): add some
59         types which were missing and useful to use (fixes #77870)
60
61 2002-04-09  Anders Carlsson  <andersca@gnu.org>
62
63         * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
64
65 2002-04-08  Manish Singh  <yosh@gimp.org>
66
67         * tests/testgtk.c: really revert testgtk.c
68
69 Mon Apr  8 20:28:54 2002  Kristian Rietveld  <kris@gtk.org>
70
71         * gtk/gtktreeselection.c (gtk_tree_selection_select_path),
72         (gtk_tree_selection_unselect_path),
73         (gtk_tree_selection_path_is_selected): check the return value of
74         _gtk_tree_view_find_node and return if it's TRUE. This makes those
75         functions work somewhat saner on non-expanded trees.
76
77 Fri Apr  5 18:28:56 2002  Kristian Rietveld  <kris@gtk.org>
78
79         * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): free
80         anchor row reference after unselecting the selection (fixes #76272)
81
82 Fri Apr  5 18:27:48 2002  Kristian Rietveld  <kris@gtk.org>
83
84         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): only return
85         when we don't have to open all children (fixes #75736)
86
87 Fri Apr  5 18:24:24 2002  Kristian Rietveld  <kris@gtk.org>
88
89         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_clear): unref
90         cellrenderer after clearing the attributes of the renderer (fixes
91         #75592)
92
93 Fri Apr  5 05:55:14 2002  Jonathan Blandford  <jrb@gnome.org>
94
95         * gtk/gtktreeview.c (gtk_tree_view_grab_focus): implement.
96           (gtk_tree_view_move_cursor_up_down): check for focus
97           (gtk_tree_view_move_cursor_page_up_down): ditto
98           (gtk_tree_view_move_cursor_left_right): ditto
99           (gtk_tree_view_move_cursor_start_end): ditto
100           (gtk_tree_view_real_select_all): ditto
101           (gtk_tree_view_real_unselect_all): ditto
102           (gtk_tree_view_real_select_cursor_row): ditto 
103           (gtk_tree_view_real_toggle_cursor_row): ditto
104           (gtk_tree_view_real_expand_collapse_cursor_row): ditto
105           (gtk_tree_view_real_select_cursor_parent): ditto
106           (gtk_tree_view_real_start_interactive_search): ditto
107
108         * gtk/gtktreeviewcolumn.c: grab focus
109
110 2002-04-05  Alex Larsson  <alexl@redhat.com>
111
112         * gdk/linux-fb/gdkkeyboard-fb.c (write_string):
113         Fix undefined variable typo.
114         Patch from Simon Floery <simon.floery@gmx.at>
115
116 Fri Apr  5 01:06:15 2002  Tim Janik  <timj@gtk.org>
117
118         * gdk/x11/gdkwindow-x11.c (set_text_property): fix segfault
119         upon NULL return from gdk_utf8_to_string_target().
120
121         * gdk/x11/gdkselection-x11.c (gdk_utf8_to_string_target): fix
122         return value comment to mention NULL returns upon EMFILE.
123
124 Thu Apr  4 22:35:42 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
125
126         * tests/testgtk.c (menu_items): revert accidentally commited
127         change to testgtk.c
128
129 Thu Apr  4 22:28:08 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
130
131         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Fix problem with menu
132         titles being clipped (#75948)
133         
134 2002-04-04  Tor Lillqvist  <tml@iki.fi>
135
136         * gdk/gdkrgb.c: Fix some bugs, and introduce a minor feature.
137
138         (gdk_rgb_convert_4_pack): New function, for 16-color (4 bits per
139         pixel) static visuals (fixes #858).
140
141         (gdk_rgb_convert_gray4_pack, gdk_rgb_convert_gray4_d_pack): Fix
142         same bugs in both functions: Odd start coordinate (partial byte)
143         was not handled correctly. Also a partial final byte was not
144         handled correctly.
145
146         (gdk_rgb_do_colormaps): Use G_N_ELEMENTS.
147         (gdk_rgb_create_info): For pseudocolor visuals, use the 2x2x2
148         colorcube only for depths 3 and 4. For static color, use it for
149         depths 3..7 like before. (Depth 5..7 pseudocolor probably never
150         occurs on X11. It doesn't normally occur on Win32 either, but
151         there is experimental code in gdkvisual-win32.c to let the user
152         restrict the size of palette used.)
153         (gdk_rgb_init): Set gdk_rgb_verbose if the GDK_DEBUG_GDKRGB flag
154         is set.
155         (gdk_rgb_select_conv): Use gdk_rgb_convert_8 also for depths 5, 6
156         and 7 (see above). Use gdk_rgb_convert_4_pack for 4 bits per pixel
157         static color.
158
159 Tue Apr  2 11:10:13 2002  Jonathan Blandford  <jrb@redhat.com>
160
161         * gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the
162         sort_func correctly, 77030
163
164 Tue Apr  2 13:44:27 2002  Tim Janik  <timj@gtk.org>
165
166         * configure.in: update version to 2.0.2, binary age 2, interface
167         age 2.
168
169         * NEWS: updates for 2.0.2.
170
171 Mon Apr  1 22:20:24 2002  Kristian Rietveld  <kris@gtk.org>
172
173         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): add
174         check for y > tree_view->priv->height (fixes #76974)
175
176 Mon Apr  1 22:19:39 2002  Kristian Rietveld  <kris@gtk.org>
177
178         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): get
179         the stamp changes right this time
180
181 Mon Apr  1 22:13:24 2002  Kristian Rietveld  <kris@gtk.org>
182
183         * gtk/gtktreemodel.c (gtk_tree_row_reference_free): only
184         disconnect the ref callbacks when model == proxy (Thanks go to
185         Manuel Clos Crespo for the remote debugging)
186
187 Sat Mar 30 15:19:24 2002  Kristian Rietveld  <kris@gtk.org>
188
189         * gtk/gtktreemodelsort.c: revert the latest stamp increment changes,
190         as it broke stuff for trees
191
192 Fri Mar 29 18:15:12 2002  Owen Taylor  <otaylor@redhat.com>
193
194         * ===== Released 2.0.1 ======
195
196 Fri Mar 29 18:09:18 2002  Owen Taylor  <otaylor@redhat.com>
197
198         * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call 
199         gdk_keyval_to_lower() on the key passed in, since we
200         lowercase all other key vals passed in, so querying
201         keyvals will otherwise fail if the caller used
202         an uppercase accelerators (#76899, Vitaly Tishkov)
203
204 Fri Mar 29 17:41:21 2002  Owen Taylor  <otaylor@redhat.com>
205
206         * gtk/gtkmain.c (load_modules): Fix screwup in handling
207         of module path that was resulting in freed memory being
208         accessed when both GTK_MODULES and a theme were set.
209         (#76902, Johan Dahlin)
210
211 Fri Mar 29 17:57:36 2002  Owen Taylor  <otaylor@redhat.com>
212
213         * gtk/gtkiconfactory.c (get_default_icons): Fix wrong
214         stock id's for ADD/REMOVE. (#76915, Vitaly Tishkov)
215
216 2002-03-29  Hans Breuer  <hans@breuer.org>
217
218         * gtk/gtkmain.h : fix typo in gtk_init_check macro, which
219         caused crashes if argc != 0
220
221         * gtk/stock-icons/makefile.msc : added new icons
222
223 Fri Mar 29 20:17:35 2002  Kristian Rietveld  <kris@gtk.org>
224
225         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
226         remove call to gtk_tree_model_sort_increment_stamp
227         (gtk_tree_model_sort_sort_level): always increment the stamp
228
229 Fri Mar 29 00:19:41 2002  Owen Taylor  <otaylor@redhat.com>
230
231         * NEWS: Updates
232
233         * configure.in: Version 2.0.1, binary, interface age 1.
234
235         * configure.in (GDK_PIXBUF_VERSION): Up required versions
236         of dependencies.
237
238         * gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
239         Add stock_add/remove_16.
240
241 Thu Mar 28 18:38:30 2002  Owen Taylor  <otaylor@redhat.com>
242
243         * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): 
244         Don't show the window unless the widget is mapped.
245         (#76742, Dennis Björklund, Soeren Sandmann)
246
247 2002-03-29  Hans Breuer  <hans@breuer.org>
248
249         Fixed dashed line issues (#74441) to an IMO reasonable extend. 
250         That is: use PS_USERSTYLE on WinNT (the next GDI limit appears
251         to be with lines width > 50); Render horizontal and vertical
252         dashed lines on Win9x 'by hand'. Dotted selection rectangles 
253         and Dia look nice ...
254
255         * gdk/win32/gdkprivate-win32.h : add pen_dashes pointer and
256         num_pen_dashes to _GdkGCWin32
257         * gdk/win32/gdkgc-win32.c : initialize pen_dashes and remove
258         the guesses from dashes to windoze line styles.
259         (predraw_set_forground) : always ExtCreatePen (PS_SOLID) on
260         Win9x, which does not support PS_USERSTYLE.
261         * gdk/win32/gdkdrawable-win32.c : new functions render_line_
262         <horizontal|vertical>. Use them if not running on NT in
263         gdk_win32_draw_<rectangle|segments|lines> ()
264
265         * gdk/win32/gdkkeys-win32.c (gdk_keyval_name) : return NULL
266         for keyval == 0 to avoid to have zeros in all menu entries 
267         without accelerator.
268
269 2002-03-29  Jakub Steiner <jimmac@ximian.com>
270
271         * gtk/stock-icons/stock_add_24.png:
272         * gtk/stock-icons/stock_add_16.png:
273         * gtk/stock-icons/stock_remove_24.png:
274         * gtk/stock-icons/stock_remove_16.png: use a simple '+' and '-',
275           works better. the old box was too clumsy
276
277 Thu Mar 28 21:11:04 2002  Tim Janik  <timj@gtk.org>
278
279         * gtk/gtkfilesel.c (open_new_dir): when encountering non-UTF-8 file
280         names, alert the user with g_message() instead of g_warning() and
281         put out the actual conversion error.
282
283 2002-03-28  Dave Camp  <dave@ximian.com>
284
285         * gtk/gtktreeview.c (install_scroll_sync_handler): Don't install
286         the handler if the widget isn't realized.
287
288 2002-03-28  Jakub Steiner <jimmac@ximian.com>
289
290         * gtk/stock-icons/stock_font*:
291         * gtk/stock-icons/stock_align*:
292         * gtk/stock-icons/stock_text*: better solution to the dark theme
293           problem. Also looks more pretty IMHO
294
295 2002-03-27  Matthias Clasen  <maclas@gmx.de>
296
297         * configure.in: Try to find libpng via pkg-config first,
298         since libpng-1.2.2 will come with a .pc file.
299
300 Wed Mar 27 11:10:39 2002  Owen Taylor  <otaylor@redhat.com>
301
302         * gtk/gtknotebook.c (gtk_notebook_real_remove): Set
303         page->last_focus_child to NULL as well as removing the
304         weak reference, to deal with reentrancy in set_focus_child().
305         (#76634, Dennis Björklund)
306
307 2002-03-27  Murray Cumming  <murrayc@usa.net>
308  
309         * gtk/gtktreeview.c: Corrected registered return type of
310         "move-cursor" signal. Had to add a marshaller to 
311         gtk/gtkmarshalers.list.
312         
313 Tue Mar 26 14:46:50 2002  Owen Taylor  <otaylor@redhat.com>
314
315         * gtk/gtkmenu.c (gtk_menu_popup): Shuffle the ordering around
316         some more (position before realizing) fixing problems with 
317         arrows popping up at the wrong time (#73386), hopefully not
318         introducing other problems. (Reported by Ettore Perrazoli, others)
319
320 2002-03-26  Dave Camp  <dave@ximian.com>
321
322         * gtk/gtktreeview.c (gtk_tree_view_button_press): Free the path
323         after calling gtk_tree_view_row_activated() rather than before.
324
325 2002-03-25  Sven Neumann  <sven@gimp.org>
326
327         * gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
328         font_description before assigning a new one.
329         (gtk_rc_parse_stock): always unref the created icon_set. #76289
330         
331 2002-03-25  Mark McLoughlin  <mark@skynet.ie>
332
333         * gtk/gtkbindings.c: (gtk_binding_entry_add_signal),
334         kill code duplicated in gtk_binding_entry_add_signall.
335
336 Sun Mar 24 10:32:38 2002  Jonathan Blandford  <jrb@redhat.com>
337
338         * gtk/gtktreemodel.c (gtk_tree_path_copy): Make path arg const, #75653
339
340         * gtk/gtkfontsel.c (gtk_font_selection_show_available_styles): fix
341         a warning
342
343         * gtk/gtktreeview.c (gtk_tree_view_button_press): remove the grab
344         when we emit row_activated so that listeners of this signal can
345         grab the mouse, #75629
346
347 2002-03-23  Havoc Pennington  <hp@pobox.com>
348
349         * gtk/gtktextlayout.c (gtk_text_layout_real_invalidate):
350         invalidate the line containing start, even if the [start,end)
351         range is empty (just invalidate [start,end], essentially).
352         Partially fixes #72374
353
354 2002-03-23  Havoc Pennington  <hp@pobox.com>
355
356         * gtk/gtktextview.c (gtk_text_view_do_popup): end any selection in
357         progress, patch from db@zigo.dhs.org, #74620
358
359 2002-03-23  Havoc Pennington  <hp@pobox.com>
360
361         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): extend
362         selection for pageup/pagedown and ctrl+pageup/pagedown if 
363         shift is held. more of #53934
364
365 2002-03-23  Havoc Pennington  <hp@pobox.com>
366
367         * gtk/gtktextview.c (gtk_text_view_destroy_layout): disconnect 
368         layout handlers earlier in the function, to avoid possible
369         reentrancy screwups
370         (gtk_text_view_invalidate): Don't install idle handlers if 
371         layout == NULL, otherwise we get problems during finalization 
372         since clearing the buffer invalidates and puts the idle handlers
373         back after we destroy the layout. #74660
374         (gtk_text_view_ensure_layout): Install the validation handlers
375         right after creating the layout.
376
377         * gtk/gtktexttagtable.c (foreach_unref): call
378         _gtk_text_buffer_notify_will_remove_tag(), #75126
379
380 2002-03-22  Havoc Pennington  <hp@pobox.com>
381
382         * gdk/x11/gdkfont-x11.c (gdk_fontset_load): add more explanatory
383         text to the error message about missing charsets, and use
384         g_printerr() not g_warning() since this is typically not a
385         programming error (we do not export any API to ask whether 
386         a font set will have missing charsets so apps realistically can't 
387         do anything other than try the gdk_fontset_load())
388
389         * gtk/gtktextview.c (gtk_text_view_key_press_event): return FALSE
390         if the text view isn't editable and the user presses Return, 
391         so default buttons and such can be activated, #74937
392
393         * gtk/gtktextbuffer.c (paste_from_buffer): don't insert 
394         if the insertion point is not editable and the paste 
395         is interactive, #74125
396
397         * gtk/gtkwindow.c (gtk_window_move_resize): enhance the #if 0
398         debug spew
399
400         * gtk/gtktextbuffer.c (cut_or_copy): only remove the previous 
401         cut/copied data right before replacing it, when we know we are
402         going to replace it. Fixes #74049
403
404 2002-03-22  Richard Hult  <rhult@codefactory.se>
405
406         * gdk/gdkevents.c (gdk_event_get_root_coords): Fix typo, where x
407         value was assigned to both x and y.
408
409 Fri Mar 22 11:29:11 2002  Owen Taylor  <otaylor@redhat.com>
410
411         Partial fix for problem where keypad keys acted
412         as shift-arrows in an entry rather than arrows (#74327)
413
414         * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Sort lookup
415         results by number of modifiers in the entry. Fixes
416         problem where if a key matched both modified and unmodified
417         key bindings ... e.g., the distinguishing key binding
418         was consumed, then it was random which was used. 
419
420         * gtk/gtkbindings.c (gtk_binding_entries_sort_patterns): 
421         Catch the case where there are multiple entries from the
422         same bindingset (with different modifiers), and use only
423         the first entry, which, with the change in _gtk_key_hash_lookup()
424         will be the preferred value.
425
426 Fri Mar 22 10:56:19 2002  Owen Taylor  <otaylor@redhat.com>
427
428         * gtk/gtkaccelmap.c (gtk_accel_map_save_fd): Fix memory
429         leak. (#74400, Morten Welinder.)
430
431         * gtk/gtkaccelmap.c: Properly handle short returns from
432         write() calls. (Handling EINTR isn't enough... that only
433         handles the case where you were interrupted before you
434         wrote a single byte.)
435         
436         * gdk/linux-fb/gdkmouse-fb.c gdk/linux-fb/gdkkeyboard-fb.c:
437         Robustify against short returns from write() calls.
438
439 Fri Mar 22 10:12:10 2002  Owen Taylor  <otaylor@redhat.com>
440
441         * gtk/gtktextview.c (gtk_text_view_paint): Change
442         G_BREAKPOINT() to g_assert_not_reached ().
443         (#75865, Ashok Venkiteswaran)
444         
445 2002-03-22  Tor Lillqvist  <tml@iki.fi>
446
447         * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
448         all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
449         but that is just the special case of one-pixel wide one-pixel
450         on-off dotted lines. To fully implement generic X11 style dashed
451         lines a major rewrite would be needed.
452
453 2002-03-21  Matthias Clasen  <maclas@gmx.de>
454
455         * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
456         fix. (Vitaly Tishkov, #75726)
457
458 Thu Mar 21 10:04:05 2002  Owen Taylor  <otaylor@redhat.com>
459
460         * gdk/gdkwindow.c (gdk_window_real_get_depth): Remove
461         some left over debugging code with a G_BREAKPOINT()
462         in it.
463
464 Wed Mar 20 19:33:31 2002  Owen Taylor  <otaylor@redhat.com>
465
466         * gtk/gtkcalendar.c (gtk_calendar_main_button): When
467         changing months when the user clicks on a prev-month
468         or next-month day, focus and select the new day.
469         Ignore double clicks on prev-month, next-month days.
470         (Based on suggestions from Andras Salamon, #74173)
471
472         * gtk/gtkcalendar.c: Implement th01700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3230343432383833373231323236303434343638000000001800000000000000481c141e963f0a0d0400000015e1f72e64770034"
473 ADD 134217747 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3230343432383833373231323236303434343638000000001800000000000000481c141e963f0a0d0400000015e1f72e64770034"
474 ADD 150994964 "def" "/system/gnome-vfs" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3230343432383833373231323236303434343638000000001800000000000000481c141e963f0a0d0400000015e1f72e64770034"
475 CLIENTADD "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d3738303530313930373932313535333437300000000000001800000000000000aa339f6f8b3d48850400000096860fef60231737"
476 ADD 167772181 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d3738303530313930373932313535333437300000000000001800000000000000aa339f6f8b3d48850400000096860fef60231737"
477 CLIENTADD "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d36313132313137333236333037393935383300000000000018000000000000008d73b7d1346083e8040000009196fd8de688604d"
478 ADD 184549398 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d36313132313137333236333037393935383300000000000018000000000000008d73b7d1346083e8040000009196fd8de688604d"
479 CLIENTADD "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3135363339303134353031393239333638383337000000001800000000000000ddd33ce6282042d304000000e640a9f986363f72"
480 ADD 201326615 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3135363339303134353031393239333638383337000000001800000000000000ddd33ce6282042d304000000e640a9f986363f72"
481 CLIENTADD "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002c0000002f746d702f6f726269742d6d617474686961732f6f72622d3131383231333939373238343433353033323400000000001800000000000000d4f6f197a3d8217704000000dd5fdd74d176f84c"
482 ADD 218103832 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002c0000002f746d702f6f726269742d6d617474686961732f6f72622d3131383231333939373238343433353033323400000000001800000000000000d4f6f197a3d8217704000000dd5fdd74d176f84c"
483 ADD 234881049 "def" "/system/gnome-vfs" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d3738303530313930373932313535333437300000000000001800000000000000aa339f6f8b3d48850400000096860fef60231737"
484 ADD 251658266 "def" "/system/gnome-vfs" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3135363339303134353031393239333638383337000000001800000000000000ddd33ce6282042d304000000e640a9f986363f72"
485 ADD 268435483 "def" "/system/gnome-vfs" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d36313132313137333236333037393935383300000000000018000000000000008d73b7d1346083e8040000009196fd8de688604d"
486 ADD 285212700 "def" "/system/gnome-vfs" ""
487 ALIGN="RIGHT"
488 VALIGN="TOP"
489 ><SPAN
490 CLASS="emphasis"
491 ><I
492 CLASS="EMPHASIS"
493 >Returns</I
494 ></SPAN
495 > :</TD
496 ><TD
497 WIDTH="80%"
498 ALIGN="LEFT"
499 VALIGN="TOP"
500 > a new <A
501 HREF="gtk-themeable-stock-images.html#GTKICONFACTORY"
502 >GtkIconFactory</A
503 ></TD
504 ></TR
505 ></TBODY
506 ></TABLE
507 ><P
508 ></P
509 ></DIV
510 ></DIV
511 ><HR><DIV
512 CLASS="REFSECT2"
513 ><A
514 NAME="AEN6890"
515 ></A
516 ><H3
517 ><A
518 NAME="GTK-ICON-FACTORY-REMOVE-DEFAULT"
519 ></A
520 >gtk_icon_factory_remove_default ()</H3
521 ><TABLE
522 BORDER="0"
523 BGCOLOR="#D6E8FF"
524 WIDTH="100%"
525 CELLPADDING="6"
526 ><TR
527 ><TD
528 ><PRE
529 CLASS="PROGRAMLISTING"
530 >void        gtk_icon_factory_remove_default (<A
531 HREF="gtk-themeable-stock-images.html#GTKICONFACTORY"
532 >GtkIconFactory</A
533 > *factory);</PRE
534 ></TD
535 ></TR
536 ></TABLE
537 ><P
538 >Removes an icon factory from the list of default icon
539 factories. Not normally used; you might use it for a library that
540 can be unloaded or shut down.</P
541 ><P
542 ></P
543 ><DIV
544 CLASS="INFORMALTABLE"
545 ><A
546 NAME="AEN6897"
547 ></A
548 ><P
549 ></P
550 ><TABLE
551 BORDER="0"
552 WIDTH="100%"
553 BGCOLOR="#FFD0D0"
554 CELLSPACING="0"
555 CELLPADDING="4"
556 CLASS="CALSTABLE"
557 ><TBODY
558 ><TR
559 ><TD
560 WIDTH="20%"
561 ALIGN="RIGHT"
562 VALIGN="TOP"
563 ><TT
564 CLASS="PARAMETER"
565 ><I
566 >factory</I
567 ></TT
568 >&nbsp;:</TD
569 ><TD
570 WIDTH="80%"
571 ALIGN="LEFT"
572 VALIGN="TOP"
573 > a <A
574 HREF="gtk-themeable-stock-images.html#GTKICONFACTORY"
575 >GtkIconFactory</A
576 > previously added with <A
577 HREF="gtk-themeable-stock-images.html#GTK-ICON-FACTORY-ADD-DEFAULT"
578 >gtk_icon_factory_add_default</A
579 >()</TD
580 ></TR
581 ></TBODY
582 ></TABLE
583 ><P
584 ></P
585 ></DIV
586 ></DIV
587 ><HR><DIV
588 CLASS="REFSECT2"
589 ><A
590 NAME="AEN6908"
591 ></A
592 ><H3
593 ><A
594 NAME="GTK-ICON-SET-ADD-SOURCE"
595 ></A
596 >gtk_icon_set_add_source ()</H3
597 ><TABLE
598 BORDER="0"
599 BGCOLOR="#D6E8FF"
600 WIDTH="100%"
601 CELLPADDING="6"
602 ><TR
603 ><TD
604 ><PRE
605 CLASS="PROGRAMLISTING"
606 >void        gtk_icon_set_add_source         (<A
607 HREF="gtk-themeable-stock-images.html#GTKICONSET"
608 >GtkIconSet</A
609 > *icon_set,
610                                              const <A
611 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
612 >GtkIconSource</A
613 > *source);</PRE
614 ></TD
615 ></TR
616 ></TABLE
617 ><P
618 >Icon sets have a list of <A
619 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
620 >GtkIconSource</A
621 >, which they use as base
622 icons for rendering icons in different states and sizes. Icons are
623 scaled, made to look insensitive, etc. in
624 <A
625 HREF="gtk-themeable-stock-images.html#GTK-ICON-SET-RENDER-ICON"
626 >gtk_icon_set_render_icon</A
627 >(), but <A
628 HREF="gtk-themeable-stock-images.html#GTKICONSET"
629 >GtkIconSet</A
630 > needs base images to
631 work with. The base images and when to use them are described by
632 a <A
633 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
634 >GtkIconSource</A
635 >.</P
636 ><P
637 >This function copies <TT
638 CLASS="PARAMETER"
639 ><I
640 >source</I
641 ></TT
642 >, so you can reuse the same source immediately
643 without affecting the icon set.</P
644 ><P
645 >An example of when you'd use this function: a web browser's "Back
646 to Previous Page" icon might point in a different direction in
647 Hebrew and in English; it might look different when insensitive;
648 and it might change size depending on toolbar mode (small/large
649 icons). So a single icon set would contain all those variants of
650 the icon, and you might add a separate source for each one.</P
651 ><P
652 >You should nearly always add a "default" icon source with all
653 fields wildcarded, which will be used as a fallback if no more
654 specific source matches. <A
655 HREF="gtk-themeable-stock-images.html#GTKICONSET"
656 >GtkIconSet</A
657 > always prefers more specific
658 icon sources to more generic icon sources. The order in which you
659 add the sources to the icon set does not matter.</P
660 ><P
661 ><A
662 HREF="gtk-themeable-stock-images.html#GTK-ICON-SET-NEW-FROM-PIXBUF"
663 >gtk_icon_set_new_from_pixbuf</A
664 >() creates a new icon set with a
665 default icon source based on the given pixbuf.</P
666 ><P
667 ></P
668 ><DIV
669 CLASS="INFORMALTABLE"
670 ><A
671 NAME="AEN6927"
672 ></A
673 ><P
674 ></P
675 ><TABLE
676 BORDER="0"
677 WIDTH="100%"
678 BGCOLOR="#FFD0D0"
679 CELLSPACING="0"
680 CELLPADDING="4"
681 CLASS="CALSTABLE"
682 ><TBODY
683 ><TR
684 ><TD
685 WIDTH="20%"
686 ALIGN="RIGHT"
687 VALIGN="TOP"
688 ><TT
689 CLASS="PARAMETER"
690 ><I
691 >icon_set</I
692 ></TT
693 >&nbsp;:</TD
694 ><TD
695 WIDTH="80%"
696 ALIGN="LEFT"
697 VALIGN="TOP"
698 > a <A
699 HREF="gtk-themeable-stock-images.html#GTKICONSET"
700 >GtkIconSet</A
701 ></TD
702 ></TR
703 ><TR
704 ><TD
705 WIDTH="20%"
706 ALIGN="RIGHT"
707 VALIGN="TOP"
708 ><TT
709 CLASS="PARAMETER"
710 ><I
711 >source</I
712 ></TT
713 >&nbsp;:</TD
714 ><TD
715 WIDTH="80%"
716 ALIGN="LEFT"
717 VALIGN="TOP"
718 > a <A
719 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
720 >GtkIconSource</A
721 ></TD
722 ></TR
723 ></TBODY
724 ></TABLE
725 ><P
726 ></P
727 ></DIV
728 ></DIV
729 ><HR><DIV
730 CLASS="REFSECT2"
731 ><A
732 NAME="AEN6942"
733 ></A
734 ><H3
735 ><A
736 NAME="GTK-ICON-SET-COPY"
737 ></A
738 >gtk_icon_set_copy ()</H3
739 ><TABLE
740 BORDER="0"
741 BGCOLOR="#D6E8FF"
742 WIDTH="100%"
743 CELLPADDING="6"
744 ><TR
745 ><TD
746 ><PRE
747 CLASS="PROGRAMLISTING"
748 ><A
749 HREF="gtk-themeable-stock-images.html#GTKICONSET"
750 >GtkIconSet</A
751 >* gtk_icon_set_copy               (<A
752 HREF="gtk-themeable-stock-images.html#GTKICONSET"
753 >GtkIconSet</A
754 > *icon_set);</PRE
755 ></TD
756 ></TR
757 ></TABLE
758 ><P
759 >Copies <TT
760 CLASS="PARAMETER"
761 ><I
762 >icon_set</I
763 ></TT
764 > by value.</P
765 ><P
766 ></P
767 ><DIV
768 CLASS="INFORMALTABLE"
769 ><A
770 NAME="AEN6951"
771 ></A
772 ><P
773 ></P
774 ><TABLE
775 BORDER="0"
776 WIDTH="100%"
777 BGCOLOR="#FFD0D0"
778 CELLSPACING="0"
779 CELLPADDING="4"
780 CLASS="CALSTABLE"
781 ><TBODY
782 ><TR
783 ><TD
784 WIDTH="20%"
785 ALIGN="RIGHT"
786 VALIGN="TOP"
787 ><TT
788 CLASS="PARAMETER"
789 ><I
790 >icon_set</I
791 ></TT
792 >&nbsp;:</TD
793 ><TD
794 WIDTH="80%"
795 ALIGN="LEFT"
796 VALIGN="TOP"
797 > a <A
798 HREF="gtk-themeable-stock-images.html#GTKICONSET"
799 >GtkIconSet</A
800 ></TD
801 ></TR
802 ><TR
803 ><TD
804 WIDTH="20%"
805 ALIGN="RIGHT"
806 VALIGN="TOP"
807 ><SPAN
808 CLASS="emphasis"
809 ><I
810 CLASS="EMPHASIS"
811 >Returns</I
812 ></SPAN
813 > :</TD
814 ><TD
815 WIDTH="80%"
816 ALIGN="LEFT"
817 VALIGN="TOP"
818 > a new <A
819 HREF="gtk-themeable-stock-images.html#GTKICONSET"
820 >GtkIconSet</A
821 > identical to the first.</TD
822 ></TR
823 ></TBODY
824 ></TABLE
825 ><P
826 ></P
827 ></DIV
828 ></DIV
829 ><HR><DIV
830 CLASS="REFSECT2"
831 ><A
832 NAME="AEN6966"
833 ></A
834 ><H3
835 ><A
836 NAME="GTK-ICON-SET-NEW"
837 ></A
838 >gtk_icon_set_new ()</H3
839 ><TABLE
840 BORDER="0"
841 BGCOLOR="#D6E8FF"
842 WIDTH="100%"
843 CELLPADDING="6"
844 ><TR
845 ><TD
846 ><PRE
847 CLASS="PROGRAMLISTING"
848 ><A
849 HREF="gtk-themeable-stock-images.html#GTKICONSET"
850 >GtkIconSet</A
851 >* gtk_icon_set_new                (void);</PRE
852 ></TD
853 ></TR
854 ></TABLE
855 ><P
856 >Creates a new <A
857 HREF="gtk-themeable-stock-images.html#GTKICONSET"
858 >GtkIconSet</A
859 >. A <A
860 HREF="gtk-themeable-stock-images.html#GTKICONSET"
861 >GtkIconSet</A
862 > represents a single icon
863 in various sizes and widget states. It can provide a <GTKDOCLINK
864 HREF="GDKPIXBUF"
865 >GdkPixbuf</GTKDOCLINK
866 >
867 for a given size and state on request, and automatically caches
868 some of the rendered <GTKDOCLINK
869 HREF="GDKPIXBUF"
870 >GdkPixbuf</GTKDOCLINK
871 > objects.</P
872 ><P
873 >Normally you would use <A
874 HREF="gtkwidget.html#GTK-WIDGET-RENDER-ICON"
875 >gtk_widget_render_icon</A
876 >() instead of
877 using <A
878 HREF="gtk-themeable-stock-images.html#GTKICONSET"
879 >GtkIconSet</A
880 > directly. The one case where you'd use
881 <A
882 HREF="gtk-themeable-stock-images.html#GTKICONSET"
883 >GtkIconSet</A
884 > is to create application-specific icon sets to place in
885 a <A
886 HREF="gtk-themeable-stock-images.html#GTKICONFACTORY"
887 >GtkIconFactory</A
888 >.</P
889 ><P
890 ></P
891 ><DIV
892 CLASS="INFORMALTABLE"
893 ><A
894 NAME="AEN6982"
895 ></A
896 ><P
897 ></P
898 ><TABLE
899 BORDER="0"
900 WIDTH="100%"
901 BGCOLOR="#FFD0D0"
902 CELLSPACING="0"
903 CELLPADDING="4"
904 CLASS="CALSTABLE"
905 ><TBODY
906 ><TR
907 ><TD
908 WIDTH="20%"
909 ALIGN="RIGHT"
910 VALIGN="TOP"
911 ><SPAN
912 CLASS="emphasis"
913 ><I
914 CLASS="EMPHASIS"
915 >Returns</I
916 ></SPAN
917 > :</TD
918 ><TD
919 WIDTH="80%"
920 ALIGN="LEFT"
921 VALIGN="TOP"
922 > a new <A
923 HREF="gtk-themeable-stock-images.html#GTKICONSET"
924 >GtkIconSet</A
925 ></TD
926 ></TR
927 ></TBODY
928 ></TABLE
929 ><P
930 ></P
931 ></DIV
932 ></DIV
933 ><HR><DIV
934 CLASS="REFSECT2"
935 ><A
936 NAME="AEN6992"
937 ></A
938 ><H3
939 ><A
940 NAME="GTK-ICON-SET-NEW-FROM-PIXBUF"
941 ></A
942 >gtk_icon_set_new_from_pixbuf ()</H3
943 ><TABLE
944 BORDER="0"
945 BGCOLOR="#D6E8FF"
946 WIDTH="100%"
947 CELLPADDING="6"
948 ><TR
949 ><TD
950 ><PRE
951 CLASS="PROGRAMLISTING"
952 ><A
953 HREF="gtk-themeable-stock-images.html#GTKICONSET"
954 >GtkIconSet</A
955 >* gtk_icon_set_new_from_pixbuf    (<GTKDOCLINK
956 HREF="GDKPIXBUF"
957 >GdkPixbuf</GTKDOCLINK
958 > *pixbuf);</PRE
959 ></TD
960 ></TR
961 ></TABLE
962 ><P
963 >Creates a new <A
964 HREF="gtk-themeable-stock-images.html#GTKICONSET"
965 >GtkIconSet</A
966 > with <TT
967 CLASS="PARAMETER"
968 ><I
969 >pixbuf</I
970 ></TT
971 > as the default/fallback
972 source image. If you don't add any additional <A
973 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
974 >GtkIconSource</A
975 > to the
976 icon set, all variants of the icon will be created from <TT
977 CLASS="PARAMETER"
978 ><I
979 >pixbuf</I
980 ></TT
981 >,
982 using scaling, pixelation, etc. as required to adjust the icon size
983 or make the icon look insensitive/prelighted.</P
984 ><P
985 ></P
986 ><DIV
987 CLASS="INFORMALTABLE"
988 ><A
989 NAME="AEN7004"
990 ></A
991 ><P
992 ></P
993 ><TABLE
994 BORDER="0"
995 WIDTH="100%"
996 BGCOLOR="#FFD0D0"
997 CELLSPACING="0"
998 CELLPADDING="4"
999 CLASS="CALSTABLE"
1000 ><TBODY
1001 ><TR
1002 ><TD
1003 WIDTH="20%"
1004 ALIGN="RIGHT"
1005 VALIGN="TOP"
1006 ><TT
1007 CLASS="PARAMETER"
1008 ><I
1009 >pixbuf</I
1010 ></TT
1011 >&nbsp;:</TD
1012 ><TD
1013 WIDTH="80%"
1014 ALIGN="LEFT"
1015 VALIGN="TOP"
1016 > a <GTKDOCLINK
1017 HREF="GDKPIXBUF"
1018 >GdkPixbuf</GTKDOCLINK
1019 ></TD
1020 ></TR
1021 ><TR
1022 ><TD
1023 WIDTH="20%"
1024 ALIGN="RIGHT"
1025 VALIGN="TOP"
1026 ><SPAN
1027 CLASS="emphasis"
1028 ><I
1029 CLASS="EMPHASIS"
1030 >Returns</I
1031 ></SPAN
1032 > :</TD
1033 ><TD
1034 WIDTH="80%"
1035 ALIGN="LEFT"
1036 VALIGN="TOP"
1037 > a new <A
1038 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1039 >GtkIconSet</A
1040 ></TD
1041 ></TR
1042 ></TBODY
1043 ></TABLE
1044 ><P
1045 ></P
1046 ></DIV
1047 ></DIV
1048 ><HR><DIV
1049 CLASS="REFSECT2"
1050 ><A
1051 NAME="AEN7019"
1052 ></A
1053 ><H3
1054 ><A
1055 NAME="GTK-ICON-SET-REF"
1056 ></A
1057 >gtk_icon_set_ref ()</H3
1058 ><TABLE
1059 BORDER="0"
1060 BGCOLOR="#D6E8FF"
1061 WIDTH="100%"
1062 CELLPADDING="6"
1063 ><TR
1064 ><TD
1065 ><PRE
1066 CLASS="PROGRAMLISTING"
1067 ><A
1068 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1069 >GtkIconSet</A
1070 >* gtk_icon_set_ref                (<A
1071 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1072 >GtkIconSet</A
1073 > *icon_set);</PRE
1074 ></TD
1075 ></TR
1076 ></TABLE
1077 ><P
1078 >Increments the reference count on <TT
1079 CLASS="PARAMETER"
1080 ><I
1081 >icon_set</I
1082 ></TT
1083 >.</P
1084 ><P
1085 ></P
1086 ><DIV
1087 CLASS="INFORMALTABLE"
1088 ><A
1089 NAME="AEN7028"
1090 ></A
1091 ><P
1092 ></P
1093 ><TABLE
1094 BORDER="0"
1095 WIDTH="100%"
1096 BGCOLOR="#FFD0D0"
1097 CELLSPACING="0"
1098 CELLPADDING="4"
1099 CLASS="CALSTABLE"
1100 ><TBODY
1101 ><TR
1102 ><TD
1103 WIDTH="20%"
1104 ALIGN="RIGHT"
1105 VALIGN="TOP"
1106 ><TT
1107 CLASS="PARAMETER"
1108 ><I
1109 >icon_set</I
1110 ></TT
1111 >&nbsp;:</TD
1112 ><TD
1113 WIDTH="80%"
1114 ALIGN="LEFT"
1115 VALIGN="TOP"
1116 > a <A
1117 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1118 >GtkIconSet</A
1119 >.</TD
1120 ></TR
1121 ><TR
1122 ><TD
1123 WIDTH="20%"
1124 ALIGN="RIGHT"
1125 VALIGN="TOP"
1126 ><SPAN
1127 CLASS="emphasis"
1128 ><I
1129 CLASS="EMPHASIS"
1130 >Returns</I
1131 ></SPAN
1132 > :</TD
1133 ><TD
1134 WIDTH="80%"
1135 ALIGN="LEFT"
1136 VALIGN="TOP"
1137 > <TT
1138 CLASS="PARAMETER"
1139 ><I
1140 >icon_set</I
1141 ></TT
1142 >.</TD
1143 ></TR
1144 ></TBODY
1145 ></TABLE
1146 ><P
1147 ></P
1148 ></DIV
1149 ></DIV
1150 ><HR><DIV
1151 CLASS="REFSECT2"
1152 ><A
1153 NAME="AEN7043"
1154 ></A
1155 ><H3
1156 ><A
1157 NAME="GTK-ICON-SET-RENDER-ICON"
1158 ></A
1159 >gtk_icon_set_render_icon ()</H3
1160 ><TABLE
1161 BORDER="0"
1162 BGCOLOR="#D6E8FF"
1163 WIDTH="100%"
1164 CELLPADDING="6"
1165 ><TR
1166 ><TD
1167 ><PRE
1168 CLASS="PROGRAMLISTING"
1169 ><GTKDOCLINK
1170 HREF="GDKPIXBUF"
1171 >GdkPixbuf</GTKDOCLINK
1172 >*  gtk_icon_set_render_icon        (<A
1173 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1174 >GtkIconSet</A
1175 > *icon_set,
1176                                              <A
1177 HREF="gtkstyle.html"
1178 >GtkStyle</A
1179 > *style,
1180                                              <A
1181 HREF="gtkwidget.html#GTKTEXTDIRECTION"
1182 >GtkTextDirection</A
1183 > direction,
1184                                              <A
1185 HREF="gtk-standard-enumerations.html#GTKSTATETYPE"
1186 >GtkStateType</A
1187 > state,
1188                                              <A
1189 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1190 >GtkIconSize</A
1191 > size,
1192                                              <A
1193 HREF="gtkwidget.html"
1194 >GtkWidget</A
1195 > *widget,
1196                                              const char *detail);</PRE
1197 ></TD
1198 ></TR
1199 ></TABLE
1200 ><P
1201 >Renders an icon using <A
1202 HREF="gtkstyle.html#GTK-STYLE-RENDER-ICON"
1203 >gtk_style_render_icon</A
1204 >(). In most cases,
1205 <A
1206 HREF="gtkwidget.html#GTK-WIDGET-RENDER-ICON"
1207 >gtk_widget_render_icon</A
1208 >() is better, since it automatically provides
1209 most of the arguments from the current widget settings.  This
1210 function never returns <TT
1211 CLASS="LITERAL"
1212 >NULL</TT
1213 >; if the icon can't be rendered
1214 (perhaps because an image file fails to load), a default "missing
1215 image" icon will be returned instead.</P
1216 ><P
1217 ></P
1218 ><DIV
1219 CLASS="INFORMALTABLE"
1220 ><A
1221 NAME="AEN7059"
1222 ></A
1223 ><P
1224 ></P
1225 ><TABLE
1226 BORDER="0"
1227 WIDTH="100%"
1228 BGCOLOR="#FFD0D0"
1229 CELLSPACING="0"
1230 CELLPADDING="4"
1231 CLASS="CALSTABLE"
1232 ><TBODY
1233 ><TR
1234 ><TD
1235 WIDTH="20%"
1236 ALIGN="RIGHT"
1237 VALIGN="TOP"
1238 ><TT
1239 CLASS="PARAMETER"
1240 ><I
1241 >icon_set</I
1242 ></TT
1243 >&nbsp;:</TD
1244 ><TD
1245 WIDTH="80%"
1246 ALIGN="LEFT"
1247 VALIGN="TOP"
1248 > a <A
1249 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1250 >GtkIconSet</A
1251 ></TD
1252 ></TR
1253 ><TR
1254 ><TD
1255 WIDTH="20%"
1256 ALIGN="RIGHT"
1257 VALIGN="TOP"
1258 ><TT
1259 CLASS="PARAMETER"
1260 ><I
1261 >style</I
1262 ></TT
1263 >&nbsp;:</TD
1264 ><TD
1265 WIDTH="80%"
1266 ALIGN="LEFT"
1267 VALIGN="TOP"
1268 > a <A
1269 HREF="gtkstyle.html"
1270 >GtkStyle</A
1271 > associated with <TT
1272 CLASS="PARAMETER"
1273 ><I
1274 >widget</I
1275 ></TT
1276 >, or <TT
1277 CLASS="LITERAL"
1278 >NULL</TT
1279 ></TD
1280 ></TR
1281 ><TR
1282 ><TD
1283 WIDTH="20%"
1284 ALIGN="RIGHT"
1285 VALIGN="TOP"
1286 ><TT
1287 CLASS="PARAMETER"
1288 ><I
1289 >direction</I
1290 ></TT
1291 >&nbsp;:</TD
1292 ><TD
1293 WIDTH="80%"
1294 ALIGN="LEFT"
1295 VALIGN="TOP"
1296 > text direction</TD
1297 ></TR
1298 ><TR
1299 ><TD
1300 WIDTH="20%"
1301 ALIGN="RIGHT"
1302 VALIGN="TOP"
1303 ><TT
1304 CLASS="PARAMETER"
1305 ><I
1306 >state</I
1307 ></TT
1308 >&nbsp;:</TD
1309 ><TD
1310 WIDTH="80%"
1311 ALIGN="LEFT"
1312 VALIGN="TOP"
1313 > widget state</TD
1314 ></TR
1315 ><TR
1316 ><TD
1317 WIDTH="20%"
1318 ALIGN="RIGHT"
1319 VALIGN="TOP"
1320 ><TT
1321 CLASS="PARAMETER"
1322 ><I
1323 >size</I
1324 ></TT
1325 >&nbsp;:</TD
1326 ><TD
1327 WIDTH="80%"
1328 ALIGN="LEFT"
1329 VALIGN="TOP"
1330 > icon size</TD
1331 ></TR
1332 ><TR
1333 ><TD
1334 WIDTH="20%"
1335 ALIGN="RIGHT"
1336 VALIGN="TOP"
1337 ><TT
1338 CLASS="PARAMETER"
1339 ><I
1340 >widget</I
1341 ></TT
1342 >&nbsp;:</TD
1343 ><TD
1344 WIDTH="80%"
1345 ALIGN="LEFT"
1346 VALIGN="TOP"
1347 > widget that will display the icon, or <TT
1348 CLASS="LITERAL"
1349 >NULL</TT
1350 ></TD
1351 ></TR
1352 ><TR
1353 ><TD
1354 WIDTH="20%"
1355 ALIGN="RIGHT"
1356 VALIGN="TOP"
1357 ><TT
1358 CLASS="PARAMETER"
1359 ><I
1360 >detail</I
1361 ></TT
1362 >&nbsp;:</TD
1363 ><TD
1364 WIDTH="80%"
1365 ALIGN="LEFT"
1366 VALIGN="TOP"
1367 > detail to pass to the theme engine, or <TT
1368 CLASS="LITERAL"
1369 >NULL</TT
1370 ></TD
1371 ></TR
1372 ><TR
1373 ><TD
1374 WIDTH="20%"
1375 ALIGN="RIGHT"
1376 VALIGN="TOP"
1377 ><SPAN
1378 CLASS="emphasis"
1379 ><I
1380 CLASS="EMPHASIS"
1381 >Returns</I
1382 ></SPAN
1383 > :</TD
1384 ><TD
1385 WIDTH="80%"
1386 ALIGN="LEFT"
1387 VALIGN="TOP"
1388 > a <GTKDOCLINK
1389 HREF="GDKPIXBUF"
1390 >GdkPixbuf</GTKDOCLINK
1391 > to be displayed</TD
1392 ></TR
1393 ></TBODY
1394 ></TABLE
1395 ><P
1396 ></P
1397 ></DIV
1398 ></DIV
1399 ><HR><DIV
1400 CLASS="REFSECT2"
1401 ><A
1402 NAME="AEN7103"
1403 ></A
1404 ><H3
1405 ><A
1406 NAME="GTK-ICON-SET-UNREF"
1407 ></A
1408 >gtk_icon_set_unref ()</H3
1409 ><TABLE
1410 BORDER="0"
1411 BGCOLOR="#D6E8FF"
1412 WIDTH="100%"
1413 CELLPADDING="6"
1414 ><TR
1415 ><TD
1416 ><PRE
1417 CLASS="PROGRAMLISTING"
1418 >void        gtk_icon_set_unref              (<A
1419 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1420 >GtkIconSet</A
1421 > *icon_set);</PRE
1422 ></TD
1423 ></TR
1424 ></TABLE
1425 ><P
1426 >Decrements the reference count on <TT
1427 CLASS="PARAMETER"
1428 ><I
1429 >icon_set</I
1430 ></TT
1431 >, and frees memory
1432 if the reference count reaches 0.</P
1433 ><P
1434 ></P
1435 ><DIV
1436 CLASS="INFORMALTABLE"
1437 ><A
1438 NAME="AEN7111"
1439 ></A
1440 ><P
1441 ></P
1442 ><TABLE
1443 BORDER="0"
1444 WIDTH="100%"
1445 BGCOLOR="#FFD0D0"
1446 CELLSPACING="0"
1447 CELLPADDING="4"
1448 CLASS="CALSTABLE"
1449 ><TBODY
1450 ><TR
1451 ><TD
1452 WIDTH="20%"
1453 ALIGN="RIGHT"
1454 VALIGN="TOP"
1455 ><TT
1456 CLASS="PARAMETER"
1457 ><I
1458 >icon_set</I
1459 ></TT
1460 >&nbsp;:</TD
1461 ><TD
1462 WIDTH="80%"
1463 ALIGN="LEFT"
1464 VALIGN="TOP"
1465 > a <A
1466 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1467 >GtkIconSet</A
1468 ></TD
1469 ></TR
1470 ></TBODY
1471 ></TABLE
1472 ><P
1473 ></P
1474 ></DIV
1475 ></DIV
1476 ><HR><DIV
1477 CLASS="REFSECT2"
1478 ><A
1479 NAME="AEN7121"
1480 ></A
1481 ><H3
1482 ><A
1483 NAME="GTK-ICON-SIZE-LOOKUP"
1484 ></A
1485 >gtk_icon_size_lookup ()</H3
1486 ><TABLE
1487 BORDER="0"
1488 BGCOLOR="#D6E8FF"
1489 WIDTH="100%"
1490 CELLPADDING="6"
1491 ><TR
1492 ><TD
1493 ><PRE
1494 CLASS="PROGRAMLISTING"
1495 ><GTKDOCLINK
1496 HREF="GBOOLEAN"
1497 >gboolean</GTKDOCLINK
1498 >    gtk_icon_size_lookup            (<A
1499 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1500 >GtkIconSize</A
1501 > size,
1502                                              <GTKDOCLINK
1503 HREF="GINT"
1504 >gint</GTKDOCLINK
1505 > *width,
1506                                              <GTKDOCLINK
1507 HREF="GINT"
1508 >gint</GTKDOCLINK
1509 > *height);</PRE
1510 ></TD
1511 ></TR
1512 ></TABLE
1513 ><P
1514 >Obtains the pixel size of a semantic icon size, normally <TT
1515 CLASS="PARAMETER"
1516 ><I
1517 >size</I
1518 ></TT
1519 > would be
1520 <GTKDOCLINK
1521 HREF="GTK-ICON-SIZE-MENU-CAPS"
1522 >GTK_ICON_SIZE_MENU</GTKDOCLINK
1523 >, <GTKDOCLINK
1524 HREF="GTK-ICON-SIZE-BUTTON-CAPS"
1525 >GTK_ICON_SIZE_BUTTON</GTKDOCLINK
1526 >, etc.  This function
1527 isn't normally needed, <A
1528 HREF="gtkwidget.html#GTK-WIDGET-RENDER-ICON"
1529 >gtk_widget_render_icon</A
1530 >() is the usual
1531 way to get an icon for rendering, then just look at the size of
1532 the rendered pixbuf. The rendered pixbuf may not even correspond to
1533 the width/height returned by <A
1534 HREF="gtk-themeable-stock-images.html#GTK-ICON-SIZE-LOOKUP"
1535 >gtk_icon_size_lookup</A
1536 >(), because themes
1537 are free to render the pixbuf however they like, including changing
1538 the usual size.</P
1539 ><P
1540 ></P
1541 ><DIV
1542 CLASS="INFORMALTABLE"
1543 ><A
1544 NAME="AEN7136"
1545 ></A
1546 ><P
1547 ></P
1548 ><TABLE
1549 BORDER="0"
1550 WIDTH="100%"
1551 BGCOLOR="#FFD0D0"
1552 CELLSPACING="0"
1553 CELLPADDING="4"
1554 CLASS="CALSTABLE"
1555 ><TBODY
1556 ><TR
1557 ><TD
1558 WIDTH="20%"
1559 ALIGN="RIGHT"
1560 VALIGN="TOP"
1561 ><TT
1562 CLASS="PARAMETER"
1563 ><I
1564 >size</I
1565 ></TT
1566 >&nbsp;:</TD
1567 ><TD
1568 WIDTH="80%"
1569 ALIGN="LEFT"
1570 VALIGN="TOP"
1571 > an icon size</TD
1572 ></TR
1573 ><TR
1574 ><TD
1575 WIDTH="20%"
1576 ALIGN="RIGHT"
1577 VALIGN="TOP"
1578 ><TT
1579 CLASS="PARAMETER"
1580 ><I
1581 >width</I
1582 ></TT
1583 >&nbsp;:</TD
1584 ><TD
1585 WIDTH="80%"
1586 ALIGN="LEFT"
1587 VALIGN="TOP"
1588 > location to store icon width</TD
1589 ></TR
1590 ><TR
1591 ><TD
1592 WIDTH="20%"
1593 ALIGN="RIGHT"
1594 VALIGN="TOP"
1595 ><TT
1596 CLASS="PARAMETER"
1597 ><I
1598 >height</I
1599 ></TT
1600 >&nbsp;:</TD
1601 ><TD
1602 WIDTH="80%"
1603 ALIGN="LEFT"
1604 VALIGN="TOP"
1605 > location to store icon height</TD
1606 ></TR
1607 ><TR
1608 ><TD
1609 WIDTH="20%"
1610 ALIGN="RIGHT"
1611 VALIGN="TOP"
1612 ><SPAN
1613 CLASS="emphasis"
1614 ><I
1615 CLASS="EMPHASIS"
1616 >Returns</I
1617 ></SPAN
1618 > :</TD
1619 ><TD
1620 WIDTH="80%"
1621 ALIGN="LEFT"
1622 VALIGN="TOP"
1623 > <TT
1624 CLASS="LITERAL"
1625 >TRUE</TT
1626 > if <TT
1627 CLASS="PARAMETER"
1628 ><I
1629 >size</I
1630 ></TT
1631 > was a valid size</TD
1632 ></TR
1633 ></TBODY
1634 ></TABLE
1635 ><P
1636 ></P
1637 ></DIV
1638 ></DIV
1639 ><HR><DIV
1640 CLASS="REFSECT2"
1641 ><A
1642 NAME="AEN7159"
1643 ></A
1644 ><H3
1645 ><A
1646 NAME="GTK-ICON-SIZE-REGISTER"
1647 ></A
1648 >gtk_icon_size_register ()</H3
1649 ><TABLE
1650 BORDER="0"
1651 BGCOLOR="#D6E8FF"
1652 WIDTH="100%"
1653 CELLPADDING="6"
1654 ><TR
1655 ><TD
1656 ><PRE
1657 CLASS="PROGRAMLISTING"
1658 ><A
1659 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1660 >GtkIconSize</A
1661 > gtk_icon_size_register          (const <GTKDOCLINK
1662 HREF="GCHAR"
1663 >gchar</GTKDOCLINK
1664 > *name,
1665                                              <GTKDOCLINK
1666 HREF="GINT"
1667 >gint</GTKDOCLINK
1668 > width,
1669                                              <GTKDOCLINK
1670 HREF="GINT"
1671 >gint</GTKDOCLINK
1672 > height);</PRE
1673 ></TD
1674 ></TR
1675 ></TABLE
1676 ><P
1677 >Registers a new icon size, along the same lines as <GTKDOCLINK
1678 HREF="GTK-ICON-SIZE-MENU-CAPS"
1679 >GTK_ICON_SIZE_MENU</GTKDOCLINK
1680 >,
1681 etc. Returns the integer value for the size.</P
1682 ><P
1683 ></P
1684 ><DIV
1685 CLASS="INFORMALTABLE"
1686 ><A
1687 NAME="AEN7170"
1688 ></A
1689 ><P
1690 ></P
1691 ><TABLE
1692 BORDER="0"
1693 WIDTH="100%"
1694 BGCOLOR="#FFD0D0"
1695 CELLSPACING="0"
1696 CELLPADDING="4"
1697 CLASS="CALSTABLE"
1698 ><TBODY
1699 ><TR
1700 ><TD
1701 WIDTH="20%"
1702 ALIGN="RIGHT"
1703 VALIGN="TOP"
1704 ><TT
1705 CLASS="PARAMETER"
1706 ><I
1707 >name</I
1708 ></TT
1709 >&nbsp;:</TD
1710 ><TD
1711 WIDTH="80%"
1712 ALIGN="LEFT"
1713 VALIGN="TOP"
1714 > name of the icon size</TD
1715 ></TR
1716 ><TR
1717 ><TD
1718 WIDTH="20%"
1719 ALIGN="RIGHT"
1720 VALIGN="TOP"
1721 ><TT
1722 CLASS="PARAMETER"
1723 ><I
1724 >width</I
1725 ></TT
1726 >&nbsp;:</TD
1727 ><TD
1728 WIDTH="80%"
1729 ALIGN="LEFT"
1730 VALIGN="TOP"
1731 > the icon width</TD
1732 ></TR
1733 ><TR
1734 ><TD
1735 WIDTH="20%"
1736 ALIGN="RIGHT"
1737 VALIGN="TOP"
1738 ><TT
1739 CLASS="PARAMETER"
1740 ><I
1741 >height</I
1742 ></TT
1743 >&nbsp;:</TD
1744 ><TD
1745 WIDTH="80%"
1746 ALIGN="LEFT"
1747 VALIGN="TOP"
1748 > the icon height</TD
1749 ></TR
1750 ><TR
1751 ><TD
1752 WIDTH="20%"
1753 ALIGN="RIGHT"
1754 VALIGN="TOP"
1755 ><SPAN
1756 CLASS="emphasis"
1757 ><I
1758 CLASS="EMPHASIS"
1759 >Returns</I
1760 ></SPAN
1761 > :</TD
1762 ><TD
1763 WIDTH="80%"
1764 ALIGN="LEFT"
1765 VALIGN="TOP"
1766 > integer value representing the size&#13;</TD
1767 ></TR
1768 ></TBODY
1769 ></TABLE
1770 ><P
1771 ></P
1772 ></DIV
1773 ></DIV
1774 ><HR><DIV
1775 CLASS="REFSECT2"
1776 ><A
1777 NAME="AEN7191"
1778 ></A
1779 ><H3
1780 ><A
1781 NAME="GTK-ICON-SIZE-REGISTER-ALIAS"
1782 ></A
1783 >gtk_icon_size_register_alias ()</H3
1784 ><TABLE
1785 BORDER="0"
1786 BGCOLOR="#D6E8FF"
1787 WIDTH="100%"
1788 CELLPADDING="6"
1789 ><TR
1790 ><TD
1791 ><PRE
1792 CLASS="PROGRAMLISTING"
1793 >void        gtk_icon_size_register_alias    (const <GTKDOCLINK
1794 HREF="GCHAR"
1795 >gchar</GTKDOCLINK
1796 > *alias,
1797                                              <A
1798 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1799 >GtkIconSize</A
1800 > target);</PRE
1801 ></TD
1802 ></TR
1803 ></TABLE
1804 ><P
1805 >Registers <TT
1806 CLASS="PARAMETER"
1807 ><I
1808 >alias</I
1809 ></TT
1810 > as another name for <TT
1811 CLASS="PARAMETER"
1812 ><I
1813 >target</I
1814 ></TT
1815 >.
1816 So calling <A
1817 HREF="gtk-themeable-stock-images.html#GTK-ICON-SIZE-FROM-NAME"
1818 >gtk_icon_size_from_name</A
1819 >() with <TT
1820 CLASS="PARAMETER"
1821 ><I
1822 >alias</I
1823 ></TT
1824 > as argument
1825 will return <TT
1826 CLASS="PARAMETER"
1827 ><I
1828 >target</I
1829 ></TT
1830 >.</P
1831 ><P
1832 ></P
1833 ><DIV
1834 CLASS="INFORMALTABLE"
1835 ><A
1836 NAME="AEN7204"
1837 ></A
1838 ><P
1839 ></P
1840 ><TABLE
1841 BORDER="0"
1842 WIDTH="100%"
1843 BGCOLOR="#FFD0D0"
1844 CELLSPACING="0"
1845 CELLPADDING="4"
1846 CLASS="CALSTABLE"
1847 ><TBODY
1848 ><TR
1849 ><TD
1850 WIDTH="20%"
1851 ALIGN="RIGHT"
1852 VALIGN="TOP"
1853 ><TT
1854 CLASS="PARAMETER"
1855 ><I
1856 >alias</I
1857 ></TT
1858 >&nbsp;:</TD
1859 ><TD
1860 WIDTH="80%"
1861 ALIGN="LEFT"
1862 VALIGN="TOP"
1863 > an alias for <TT
1864 CLASS="PARAMETER"
1865 ><I
1866 >target</I
1867 ></TT
1868 ></TD
1869 ></TR
1870 ><TR
1871 ><TD
1872 WIDTH="20%"
1873 ALIGN="RIGHT"
1874 VALIGN="TOP"
1875 ><TT
1876 CLASS="PARAMETER"
1877 ><I
1878 >target</I
1879 ></TT
1880 >&nbsp;:</TD
1881 ><TD
1882 WIDTH="80%"
1883 ALIGN="LEFT"
1884 VALIGN="TOP"
1885 > an existing icon size</TD
1886 ></TR
1887 ></TBODY
1888 ></TABLE
1889 ><P
1890 ></P
1891 ></DIV
1892 ></DIV
1893 ><HR><DIV
1894 CLASS="REFSECT2"
1895 ><A
1896 NAME="AEN7218"
1897 ></A
1898 ><H3
1899 ><A
1900 NAME="GTK-ICON-SIZE-FROM-NAME"
1901 ></A
1902 >gtk_icon_size_from_name ()</H3
1903 ><TABLE
1904 BORDER="0"
1905 BGCOLOR="#D6E8FF"
1906 WIDTH="100%"
1907 CELLPADDING="6"
1908 ><TR
1909 ><TD
1910 ><PRE
1911 CLASS="PROGRAMLISTING"
1912 ><A
1913 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1914 >GtkIconSize</A
1915 > gtk_icon_size_from_name         (const <GTKDOCLINK
1916 HREF="GCHAR"
1917 >gchar</GTKDOCLINK
1918 > *name);</PRE
1919 ></TD
1920 ></TR
1921 ></TABLE
1922 ><P
1923 >Looks up the icon size associated with <TT
1924 CLASS="PARAMETER"
1925 ><I
1926 >name</I
1927 ></TT
1928 >.</P
1929 ><P
1930 ></P
1931 ><DIV
1932 CLASS="INFORMALTABLE"
1933 ><A
1934 NAME="AEN7227"
1935 ></A
1936 ><P
1937 ></P
1938 ><TABLE
1939 BORDER="0"
1940 WIDTH="100%"
1941 BGCOLOR="#FFD0D0"
1942 CELLSPACING="0"
1943 CELLPADDING="4"
1944 CLASS="CALSTABLE"
1945 ><TBODY
1946 ><TR
1947 ><TD
1948 WIDTH="20%"
1949 ALIGN="RIGHT"
1950 VALIGN="TOP"
1951 ><TT
1952 CLASS="PARAMETER"
1953 ><I
1954 >name</I
1955 ></TT
1956 >&nbsp;:</TD
1957 ><TD
1958 WIDTH="80%"
1959 ALIGN="LEFT"
1960 VALIGN="TOP"
1961 > the name to look up.</TD
1962 ></TR
1963 ><TR
1964 ><TD
1965 WIDTH="20%"
1966 ALIGN="RIGHT"
1967 VALIGN="TOP"
1968 ><SPAN
1969 CLASS="emphasis"
1970 ><I
1971 CLASS="EMPHASIS"
1972 >Returns</I
1973 ></SPAN
1974 > :</TD
1975 ><TD
1976 WIDTH="80%"
1977 ALIGN="LEFT"
1978 VALIGN="TOP"
1979 > the icon size with the given name.</TD
1980 ></TR
1981 ></TBODY
1982 ></TABLE
1983 ><P
1984 ></P
1985 ></DIV
1986 ></DIV
1987 ><HR><DIV
1988 CLASS="REFSECT2"
1989 ><A
1990 NAME="AEN7240"
1991 ></A
1992 ><H3
1993 ><A
1994 NAME="GTK-ICON-SIZE-GET-NAME"
1995 ></A
1996 >gtk_icon_size_get_name ()</H3
1997 ><TABLE
1998 BORDER="0"
1999 BGCOLOR="#D6E8FF"
2000 WIDTH="100%"
2001 CELLPADDING="6"
2002 ><TR
2003 ><TD
2004 ><PRE
2005 CLASS="PROGRAMLISTING"
2006 >G_CONST_RETURN <GTKDOCLINK
2007 HREF="GCHAR"
2008 >gchar</GTKDOCLINK
2009 >* gtk_icon_size_get_name
2010                                             (<A
2011 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
2012 >GtkIconSize</A
2013 > size);</PRE
2014 ></TD
2015 ></TR
2016 ></TABLE
2017 ><P
2018 >Gets the canonical name of the given icon size. The returned string 
2019 is statically allocated and should not be freed.</P
2020 ><P
2021 ></P
2022 ><DIV
2023 CLASS="INFORMALTABLE"
2024 ><A
2025 NAME="AEN7248"
2026 ></A
2027 ><P
2028 ></P
2029 ><TABLE
2030 BORDER="0"
2031 WIDTH="100%"
2032 BGCOLOR="#FFD0D0"
2033 CELLSPACING="0"
2034 CELLPADDING="4"
2035 CLASS="CALSTABLE"
2036 ><TBODY
2037 ><TR
2038 ><TD
2039 WIDTH="20%"
2040 ALIGN="RIGHT"
2041 VALIGN="TOP"
2042 ><TT
2043 CLASS="PARAMETER"
2044 ><I
2045 >size</I
2046 ></TT
2047 >&nbsp;:</TD
2048 ><TD
2049 WIDTH="80%"
2050 ALIGN="LEFT"
2051 VALIGN="TOP"
2052 > a <A
2053 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
2054 >GtkIconSize</A
2055 >.</TD
2056 ></TR
2057 ><TR
2058 ><TD
2059 WIDTH="20%"
2060 ALIGN="RIGHT"
2061 VALIGN="TOP"
2062 ><SPAN
2063 CLASS="emphasis"
2064 ><I
2065 CLASS="EMPHASIS"
2066 >Returns</I
2067 ></SPAN
2068 > :</TD
2069 ><TD
2070 WIDTH="80%"
2071 ALIGN="LEFT"
2072 VALIGN="TOP"
2073 > the name of the given icon size.</TD
2074 ></TR
2075 ></TBODY
2076 ></TABLE
2077 ><P
2078 ></P
2079 ></DIV
2080 ></DIV
2081 ><HR><DIV
2082 CLASS="REFSECT2"
2083 ><A
2084 NAME="AEN7262"
2085 ></A
2086 ><H3
2087 ><A
2088 NAME="GTK-ICON-SET-GET-SIZES"
2089 ></A
2090 >gtk_icon_set_get_sizes ()</H3
2091 ><TABLE
2092 BORDER="0"
2093 BGCOLOR="#D6E8FF"
2094 WIDTH="100%"
2095 CELLPADDING="6"
2096 ><TR
2097 ><TD
2098 ><PRE
2099 CLASS="PROGRAMLISTING"
2100 >void        gtk_icon_set_get_sizes          (<A
2101 HREF="gtk-themeable-stock-images.html#GTKICONSET"
2102 >GtkIconSet</A
2103 > *icon_set,
2104                                              <A
2105 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
2106 >GtkIconSize</A
2107 > **sizes,
2108                                              <GTKDOCLINK
2109 HREF="GINT"
2110 >gint</GTKDOCLINK
2111 > *n_sizes);</PRE
2112 ></TD
2113 ></TR
2114 ></TABLE
2115 ><P
2116 >Obtains a list of icon sizes this icon set can render. The returned
2117 array must be freed with <GTKDOCLINK
2118 HREF="G-FREE"
2119 >g_free</GTKDOCLINK
2120 >().</P
2121 ><P
2122 ></P
2123 ><DIV
2124 CLASS="INFORMALTABLE"
2125 ><A
2126 NAME="AEN7272"
2127 ></A
2128 ><P
2129 ></P
2130 ><TABLE
2131 BORDER="0"
2132 WIDTH="100%"
2133 BGCOLOR="#FFD0D0"
2134 CELLSPACING="0"
2135 CELLPADDING="4"
2136 CLASS="CALSTABLE"
2137 ><TBODY
2138 ><TR
2139 ><TD
2140 WIDTH="20%"
2141 ALIGN="RIGHT"
2142 VALIGN="TOP"
2143 ><TT
2144 CLASS="PARAMETER"
2145 ><I
2146 >icon_set</I
2147 ></TT
2148 >&nbsp;:</TD
2149 ><TD
2150 WIDTH="80%"
2151 ALIGN="LEFT"
2152 VALIGN="TOP"
2153 > a <A
2154 HREF="gtk-themeable-stock-images.html#GTKICONSET"
2155 >GtkIconSet</A
2156 ></TD
2157 ></TR
2158 ><TR
2159 ><TD
2160 WIDTH="20%"
2161 ALIGN="RIGHT"
2162 VALIGN="TOP"
2163 ><TT
2164 CLASS="PARAMETER"
2165 ><I
2166 >sizes</I
2167 ></TT
2168 >&nbsp;:</TD
2169 ><TD
2170 WIDTH="80%"
2171 ALIGN="LEFT"
2172 VALIGN="TOP"
2173 > return location for array of sizes</TD
2174 ></TR
2175 ><TR
2176 ><TD
2177 WIDTH="20%"
2178 ALIGN="RIGHT"
2179 VALIGN="TOP"
2180 ><TT
2181 CLASS="PARAMETER"
2182 ><I
2183 >n_sizes</I
2184 ></TT
2185 >&nbsp;:</TD
2186 ><TD
2187 WIDTH="80%"
2188 ALIGN="LEFT"
2189 VALIGN="TOP"
2190 > location to store number of elements in returned array</TD
2191 ></TR
2192 ></TBODY
2193 ></TABLE
2194 ><P
2195 ></P
2196 ></DIV
2197 ></DIV
2198 ><HR><DIV
2199 CLASS="REFSECT2"
2200 ><A
2201 NAME="AEN7290"
2202 ></A
2203 ><H3
2204 ><A
2205 NAME="GTK-ICON-SOURCE-GET-DIRECTION"
2206 ></A
2207 >gtk_icon_source_get_direction ()</H3
2208 ><TABLE
2209 BORDER="0"
2210 BGCOLOR="#D6E8FF"
2211 WIDTH="100%"
2212 CELLPADDING="6"
2213 ><TR
2214 ><TD
2215 ><PRE
2216 CLASS="PROGRAMLISTING"
2217 ><A
2218 HREF="gtkwidget.html#GTKTEXTDIRECTION"
2219 >GtkTextDirection</A
2220 > gtk_icon_source_get_direction
2221                                             (const <A
2222 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2223 >GtkIconSource</A
2224 > *source);</PRE
2225 ></TD
2226 ></TR
2227 ></TABLE
2228 ><P
2229 >Obtains the text direction this icon source applies to. The return
2230 value is only useful/meaningful if the text direction is <SPAN
2231 CLASS="emphasis"
2232 ><I
2233 CLASS="EMPHASIS"
2234 >not</I
2235 ></SPAN
2236
2237 wildcarded.</P
2238 ><P
2239 ></P
2240 ><DIV
2241 CLASS="INFORMALTABLE"
2242 ><A
2243 NAME="AEN7299"
2244 ></A
2245 ><P
2246 ></P
2247 ><TABLE
2248 BORDER="0"
2249 WIDTH="100%"
2250 BGCOLOR="#FFD0D0"
2251 CELLSPACING="0"
2252 CELLPADDING="4"
2253 CLASS="CALSTABLE"
2254 ><TBODY
2255 ><TR
2256 ><TD
2257 WIDTH="20%"
2258 ALIGN="RIGHT"
2259 VALIGN="TOP"
2260 ><TT
2261 CLASS="PARAMETER"
2262 ><I
2263 >source</I
2264 ></TT
2265 >&nbsp;:</TD
2266 ><TD
2267 WIDTH="80%"
2268 ALIGN="LEFT"
2269 VALIGN="TOP"
2270 > a <A
2271 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2272 >GtkIconSource</A
2273 ></TD
2274 ></TR
2275 ><TR
2276 ><TD
2277 WIDTH="20%"
2278 ALIGN="RIGHT"
2279 VALIGN="TOP"
2280 ><SPAN
2281 CLASS="emphasis"
2282 ><I
2283 CLASS="EMPHASIS"
2284 >Returns</I
2285 ></SPAN
2286 > :</TD
2287 ><TD
2288 WIDTH="80%"
2289 ALIGN="LEFT"
2290 VALIGN="TOP"
2291 > text direction this source matches</TD
2292 ></TR
2293 ></TBODY
2294 ></TABLE
2295 ><P
2296 ></P
2297 ></DIV
2298 ></DIV
2299 ><HR><DIV
2300 CLASS="REFSECT2"
2301 ><A
2302 NAME="AEN7313"
2303 ></A
2304 ><H3
2305 ><A
2306 NAME="GTK-ICON-SOURCE-GET-DIRECTION-WILDCARDED"
2307 ></A
2308 >gtk_icon_source_get_direction_wildcarded ()</H3
2309 ><TABLE
2310 BORDER="0"
2311 BGCOLOR="#D6E8FF"
2312 WIDTH="100%"
2313 CELLPADDING="6"
2314 ><TR
2315 ><TD
2316 ><PRE
2317 CLASS="PROGRAMLISTING"
2318 ><GTKDOCLINK
2319 HREF="GBOOLEAN"
2320 >gboolean</GTKDOCLINK
2321 >    gtk_icon_source_get_direction_wildcarded
2322                                             (const <A
2323 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2324 >GtkIconSource</A
2325 > *source);</PRE
2326 ></TD
2327 ></TR
2328 ></TABLE
2329 ><P
2330 >Gets the value set by <A
2331 HREF="gtk-themeable-stock-images.html#GTK-ICON-SOURCE-SET-DIRECTION-WILDCARDED"
2332 >gtk_icon_source_set_direction_wildcarded</A
2333 >().</P
2334 ><P
2335 ></P
2336 ><DIV
2337 CLASS="INFORMALTABLE"
2338 ><A
2339 NAME="AEN7322"
2340 ></A
2341 ><P
2342 ></P
2343 ><TABLE
2344 BORDER="0"
2345 WIDTH="100%"
2346 BGCOLOR="#FFD0D0"
2347 CELLSPACING="0"
2348 CELLPADDING="4"
2349 CLASS="CALSTABLE"
2350 ><TBODY
2351 ><TR
2352 ><TD
2353 WIDTH="20%"
2354 ALIGN="RIGHT"
2355 VALIGN="TOP"
2356 ><TT
2357 CLASS="PARAMETER"
2358 ><I
2359 >source</I
2360 ></TT
2361 >&nbsp;:</TD
2362 ><TD
2363 WIDTH="80%"
2364 ALIGN="LEFT"
2365 VALIGN="TOP"
2366 > a <A
2367 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2368 >GtkIconSource</A
2369 ></TD
2370 ></TR
2371 ><TR
2372 ><TD
2373 WIDTH="20%"
2374 ALIGN="RIGHT"
2375 VALIGN="TOP"
2376 ><SPAN
2377 CLASS="emphasis"
2378 ><I
2379 CLASS="EMPHASIS"
2380 >Returns</I
2381 ></SPAN
2382 > :</TD
2383 ><TD
2384 WIDTH="80%"
2385 ALIGN="LEFT"
2386 VALIGN="TOP"
2387 > <TT
2388 CLASS="LITERAL"
2389 >TRUE</TT
2390 > if this icon source is a base for any text direction variant</TD
2391 ></TR
2392 ></TBODY
2393 ></TABLE
2394 ><P
2395 ></P
2396 ></DIV
2397 ></DIV
2398 ><HR><DIV
2399 CLASS="REFSECT2"
2400 ><A
2401 NAME="AEN7337"
2402 ></A
2403 ><H3
2404 ><A
2405 NAME="GTK-ICON-SOURCE-GET-FILENAME"
2406 ></A
2407 >gtk_icon_source_get_filename ()</H3
2408 ><TABLE
2409 BORDER="0"
2410 BGCOLOR="#D6E8FF"
2411 WIDTH="100%"
2412 CELLPADDING="6"
2413 ><TR
2414 ><TD
2415 ><PRE
2416 CLASS="PROGRAMLISTING"
2417 >G_CONST_RETURN <GTKDOCLINK
2418 HREF="GCHAR"
2419 >gchar</GTKDOCLINK
2420 >* gtk_icon_source_get_filename
2421                                             (const <A
2422 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2423 >GtkIconSource</A
2424 > *source);</PRE
2425 ></TD
2426 ></TR
2427 ></TABLE
2428 ><P
2429 >Retrieves the source filename, or <TT
2430 CLASS="LITERAL"
2431 >NULL</TT
2432 > if none is set.  The
2433 filename is not a copy, and should not be modified or expected to
2434 persist beyond the lifetime of the icon source.</P
2435 ><P
2436 ></P
2437 ><DIV
2438 CLASS="INFORMALTABLE"
2439 ><A
2440 NAME="AEN7346"
2441 ></A
2442 ><P
2443 ></P
2444 ><TABLE
2445 BORDER="0"
2446 WIDTH="100%"
2447 BGCOLOR="#FFD0D0"
2448 CELLSPACING="0"
2449 CELLPADDING="4"
2450 CLASS="CALSTABLE"
2451 ><TBODY
2452 ><TR
2453 ><TD
2454 WIDTH="20%"
2455 ALIGN="RIGHT"
2456 VALIGN="TOP"
2457 ><TT
2458 CLASS="PARAMETER"
2459 ><I
2460 >source</I
2461 ></TT
2462 >&nbsp;:</TD
2463 ><TD
2464 WIDTH="80%"
2465 ALIGN="LEFT"
2466 VALIGN="TOP"
2467 > a <A
2468 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2469 >GtkIconSource</A
2470 ></TD
2471 ></TR
2472 ><TR
2473 ><TD
2474 WIDTH="20%"
2475 ALIGN="RIGHT"
2476 VALIGN="TOP"
2477 ><SPAN
2478 CLASS="emphasis"
2479 ><I
2480 CLASS="EMPHASIS"
2481 >Returns</I
2482 ></SPAN
2483 > :</TD
2484 ><TD
2485 WIDTH="80%"
2486 ALIGN="LEFT"
2487 VALIGN="TOP"
2488 > image filename</TD
2489 ></TR
2490 ></TBODY
2491 ></TABLE
2492 ><P
2493 ></P
2494 ></DIV
2495 ></DIV
2496 ><HR><DIV
2497 CLASS="REFSECT2"
2498 ><A
2499 NAME="AEN7360"
2500 ></A
2501 ><H3
2502 ><A
2503 NAME="GTK-ICON-SOURCE-GET-PIXBUF"
2504 ></A
2505 >gtk_icon_source_get_pixbuf ()</H3
2506 ><TABLE
2507 BORDER="0"
2508 BGCOLOR="#D6E8FF"
2509 WIDTH="100%"
2510 CELLPADDING="6"
2511 ><TR
2512 ><TD
2513 ><PRE
2514 CLASS="PROGRAMLISTING"
2515 ><GTKDOCLINK
2516 HREF="GDKPIXBUF"
2517 >GdkPixbuf</GTKDOCLINK
2518 >*  gtk_icon_source_get_pixbuf      (const <A
2519 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2520 >GtkIconSource</A
2521 > *source);</PRE
2522 ></TD
2523 ></TR
2524 ></TABLE
2525 ><P
2526 >Retrieves the source pixbuf, or <TT
2527 CLASS="LITERAL"
2528 >NULL</TT
2529 > if none is set.
2530 The reference count on the pixbuf is not incremented.</P
2531 ><P
2532 ></P
2533 ><DIV
2534 CLASS="INFORMALTABLE"
2535 ><A
2536 NAME="AEN7369"
2537 ></A
2538 ><P
2539 ></P
2540 ><TABLE
2541 BORDER="0"
2542 WIDTH="100%"
2543 BGCOLOR="#FFD0D0"
2544 CELLSPACING="0"
2545 CELLPADDING="4"
2546 CLASS="CALSTABLE"
2547 ><TBODY
2548 ><TR
2549 ><TD
2550 WIDTH="20%"
2551 ALIGN="RIGHT"
2552 VALIGN="TOP"
2553 ><TT
2554 CLASS="PARAMETER"
2555 ><I
2556 >source</I
2557 ></TT
2558 >&nbsp;:</TD
2559 ><TD
2560 WIDTH="80%"
2561 ALIGN="LEFT"
2562 VALIGN="TOP"
2563 > a <A
2564 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2565 >GtkIconSource</A
2566 ></TD
2567 ></TR
2568 ><TR
2569 ><TD
2570 WIDTH="20%"
2571 ALIGN="RIGHT"
2572 VALIGN="TOP"
2573 ><SPAN
2574 CLASS="emphasis"
2575 ><I
2576 CLASS="EMPHASIS"
2577 >Returns</I
2578 ></SPAN
2579 > :</TD
2580 ><TD
2581 WIDTH="80%"
2582 ALIGN="LEFT"
2583 VALIGN="TOP"
2584 > source pixbuf</TD
2585 ></TR
2586 ></TBODY
2587 ></TABLE
2588 ><P
2589 ></P
2590 ></DIV
2591 ></DIV
2592 ><HR><DIV
2593 CLASS="REFSECT2"
2594 ><A
2595 NAME="AEN7383"
2596 ></A
2597 ><H3
2598 ><A
2599 NAME="GTK-ICON-SOURCE-GET-SIZE"
2600 ></A
2601 >gtk_icon_source_get_size ()</H3
2602 ><TABLE
2603 BORDER="0"
2604 BGCOLOR="#D6E8FF"
2605 WIDTH="100%"
2606 CELLPADDING="6"
2607 ><TR
2608 ><TD
2609 ><PRE
2610 CLASS="PROGRAMLISTING"
2611 ><A
2612 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
2613 >GtkIconSize</A
2614 > gtk_icon_source_get_size        (const <A
2615 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2616 >GtkIconSource</A
2617 > *source);</PRE
2618 ></TD
2619 ></TR
2620 ></TABLE
2621 ><P
2622 >Obtains the icon size this source applies to. The return value
2623 is only useful/meaningful if the icon size is <SPAN
2624 CLASS="emphasis"
2625 ><I
2626 CLASS="EMPHASIS"