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