~ubuntu-branches/ubuntu/raring/gtk+2.0/raring-proposed

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkIconTheme.html

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2013-01-10 12:53:20 UTC
  • mfrom: (1.14.16)
  • Revision ID: package-import@ubuntu.com-20130110125320-x13bjpwtqq36izs2
Tags: 2.24.14-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
7
7
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
8
8
<link rel="up" href="gtkbase.html" title="Part II. GTK+ Core Reference">
9
 
<link rel="prev" href="gtk-Drag-and-Drop.html" title="Drag and Drop">
10
 
<link rel="next" href="gtk-Stock-Items.html" title="Stock Items">
11
 
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
 
9
<link rel="prev" href="gtk2-Drag-and-Drop.html" title="Drag and Drop">
 
10
<link rel="next" href="gtk2-Stock-Items.html" title="Stock Items">
 
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
16
<tr valign="middle">
17
 
<td><a accesskey="p" href="gtk-Drag-and-Drop.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
17
<td><a accesskey="p" href="gtk2-Drag-and-Drop.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
18
<td><a accesskey="u" href="gtkbase.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
20
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
21
 
<td><a accesskey="n" href="gtk-Stock-Items.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
21
<td><a accesskey="n" href="gtk2-Stock-Items.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
22
</tr>
23
23
<tr><td colspan="5" class="shortcuts">
24
24
<a href="#GtkIconTheme.synopsis" class="shortcut">Top</a>
51
51
enum                <a class="link" href="GtkIconTheme.html#GtkIconThemeError" title="enum GtkIconThemeError">GtkIconThemeError</a>;
52
52
<a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="returnvalue">GtkIconTheme</span></a> *      <a class="link" href="GtkIconTheme.html#gtk-icon-theme-new" title="gtk_icon_theme_new ()">gtk_icon_theme_new</a>                  (<em class="parameter"><code><span class="type">void</span></code></em>);
53
53
<a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="returnvalue">GtkIconTheme</span></a> *      <a class="link" href="GtkIconTheme.html#gtk-icon-theme-get-default" title="gtk_icon_theme_get_default ()">gtk_icon_theme_get_default</a>          (<em class="parameter"><code><span class="type">void</span></code></em>);
54
 
<a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="returnvalue">GtkIconTheme</span></a> *      <a class="link" href="GtkIconTheme.html#gtk-icon-theme-get-for-screen" title="gtk_icon_theme_get_for_screen ()">gtk_icon_theme_get_for_screen</a>       (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);
 
54
<a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="returnvalue">GtkIconTheme</span></a> *      <a class="link" href="GtkIconTheme.html#gtk-icon-theme-get-for-screen" title="gtk_icon_theme_get_for_screen ()">gtk_icon_theme_get_for_screen</a>       (<em class="parameter"><code><a href="../gdk2/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);
55
55
<span class="returnvalue">void</span>                <a class="link" href="GtkIconTheme.html#gtk-icon-theme-set-screen" title="gtk_icon_theme_set_screen ()">gtk_icon_theme_set_screen</a>           (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
56
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);
 
56
                                                         <em class="parameter"><code><a href="../gdk2/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);
57
57
#define             <a class="link" href="GtkIconTheme.html#gtk-icon-theme-set-search-path" title="gtk_icon_theme_set_search_path">gtk_icon_theme_set_search_path</a>
58
58
#define             <a class="link" href="GtkIconTheme.html#gtk-icon-theme-get-search-path" title="gtk_icon_theme_get_search_path">gtk_icon_theme_get_search_path</a>
59
59
#define             <a class="link" href="GtkIconTheme.html#gtk-icon-theme-append-search-path" title="gtk_icon_theme_append_search_path">gtk_icon_theme_append_search_path</a>
60
60
#define             <a class="link" href="GtkIconTheme.html#gtk-icon-theme-prepend-search-path" title="gtk_icon_theme_prepend_search_path">gtk_icon_theme_prepend_search_path</a>
61
61
<span class="returnvalue">void</span>                <a class="link" href="GtkIconTheme.html#gtk-icon-theme-set-custom-theme" title="gtk_icon_theme_set_custom_theme ()">gtk_icon_theme_set_custom_theme</a>     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
62
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *theme_name</code></em>);
63
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkIconTheme.html#gtk-icon-theme-has-icon" title="gtk_icon_theme_has_icon ()">gtk_icon_theme_has_icon</a>             (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
64
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>);
 
62
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *theme_name</code></em>);
 
63
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkIconTheme.html#gtk-icon-theme-has-icon" title="gtk_icon_theme_has_icon ()">gtk_icon_theme_has_icon</a>             (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
 
64
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);
65
65
<a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="returnvalue">GtkIconInfo</span></a> *       <a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-icon" title="gtk_icon_theme_lookup_icon ()">gtk_icon_theme_lookup_icon</a>          (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
66
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>,
67
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
 
66
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>,
 
67
                                                         <em class="parameter"><code><span class="type">gint</span> size</code></em>,
68
68
                                                         <em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconLookupFlags" title="enum GtkIconLookupFlags"><span class="type">GtkIconLookupFlags</span></a> flags</code></em>);
69
69
<a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="returnvalue">GtkIconInfo</span></a> *       <a class="link" href="GtkIconTheme.html#gtk-icon-theme-choose-icon" title="gtk_icon_theme_choose_icon ()">gtk_icon_theme_choose_icon</a>          (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
70
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_names[]</code></em>,
71
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
 
70
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *icon_names[]</code></em>,
 
71
                                                         <em class="parameter"><code><span class="type">gint</span> size</code></em>,
72
72
                                                         <em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconLookupFlags" title="enum GtkIconLookupFlags"><span class="type">GtkIconLookupFlags</span></a> flags</code></em>);
73
73
<a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="returnvalue">GtkIconInfo</span></a> *       <a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-by-gicon" title="gtk_icon_theme_lookup_by_gicon ()">gtk_icon_theme_lookup_by_gicon</a>      (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
74
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GIcon.html"><span class="type">GIcon</span></a> *icon</code></em>,
75
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
 
74
                                                         <em class="parameter"><code><span class="type">GIcon</span> *icon</code></em>,
 
75
                                                         <em class="parameter"><code><span class="type">gint</span> size</code></em>,
76
76
                                                         <em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconLookupFlags" title="enum GtkIconLookupFlags"><span class="type">GtkIconLookupFlags</span></a> flags</code></em>);
77
77
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         <a class="link" href="GtkIconTheme.html#gtk-icon-theme-load-icon" title="gtk_icon_theme_load_icon ()">gtk_icon_theme_load_icon</a>            (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
78
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>,
79
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
 
78
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>,
 
79
                                                         <em class="parameter"><code><span class="type">gint</span> size</code></em>,
80
80
                                                         <em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconLookupFlags" title="enum GtkIconLookupFlags"><span class="type">GtkIconLookupFlags</span></a> flags</code></em>,
81
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
82
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="GtkIconTheme.html#gtk-icon-theme-list-contexts" title="gtk_icon_theme_list_contexts ()">gtk_icon_theme_list_contexts</a>        (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>);
83
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="GtkIconTheme.html#gtk-icon-theme-list-icons" title="gtk_icon_theme_list_icons ()">gtk_icon_theme_list_icons</a>           (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
84
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context</code></em>);
85
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> *              <a class="link" href="GtkIconTheme.html#gtk-icon-theme-get-icon-sizes" title="gtk_icon_theme_get_icon_sizes ()">gtk_icon_theme_get_icon_sizes</a>       (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
86
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>);
 
81
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
 
82
<span class="returnvalue">GList</span> *             <a class="link" href="GtkIconTheme.html#gtk-icon-theme-list-contexts" title="gtk_icon_theme_list_contexts ()">gtk_icon_theme_list_contexts</a>        (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>);
 
83
<span class="returnvalue">GList</span> *             <a class="link" href="GtkIconTheme.html#gtk-icon-theme-list-icons" title="gtk_icon_theme_list_icons ()">gtk_icon_theme_list_icons</a>           (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
 
84
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *context</code></em>);
 
85
<span class="returnvalue">gint</span> *              <a class="link" href="GtkIconTheme.html#gtk-icon-theme-get-icon-sizes" title="gtk_icon_theme_get_icon_sizes ()">gtk_icon_theme_get_icon_sizes</a>       (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
 
86
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);
87
87
<span class="returnvalue">char</span> *              <a class="link" href="GtkIconTheme.html#gtk-icon-theme-get-example-icon-name" title="gtk_icon_theme_get_example_icon_name ()">gtk_icon_theme_get_example_icon_name</a>
88
88
                                                        (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>);
89
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkIconTheme.html#gtk-icon-theme-rescan-if-needed" title="gtk_icon_theme_rescan_if_needed ()">gtk_icon_theme_rescan_if_needed</a>     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>);
90
 
<span class="returnvalue">void</span>                <a class="link" href="GtkIconTheme.html#gtk-icon-theme-add-builtin-icon" title="gtk_icon_theme_add_builtin_icon ()">gtk_icon_theme_add_builtin_icon</a>     (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>,
91
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
 
89
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkIconTheme.html#gtk-icon-theme-rescan-if-needed" title="gtk_icon_theme_rescan_if_needed ()">gtk_icon_theme_rescan_if_needed</a>     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>);
 
90
<span class="returnvalue">void</span>                <a class="link" href="GtkIconTheme.html#gtk-icon-theme-add-builtin-icon" title="gtk_icon_theme_add_builtin_icon ()">gtk_icon_theme_add_builtin_icon</a>     (<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>,
 
91
                                                         <em class="parameter"><code><span class="type">gint</span> size</code></em>,
92
92
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
93
93
<a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="returnvalue">GtkIconInfo</span></a> *       <a class="link" href="GtkIconTheme.html#gtk-icon-info-copy" title="gtk_icon_info_copy ()">gtk_icon_info_copy</a>                  (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>);
94
94
<span class="returnvalue">void</span>                <a class="link" href="GtkIconTheme.html#gtk-icon-info-free" title="gtk_icon_info_free ()">gtk_icon_info_free</a>                  (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>);
95
95
<a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="returnvalue">GtkIconInfo</span></a> *       <a class="link" href="GtkIconTheme.html#gtk-icon-info-new-for-pixbuf" title="gtk_icon_info_new_for_pixbuf ()">gtk_icon_info_new_for_pixbuf</a>        (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
96
96
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
97
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-base-size" title="gtk_icon_info_get_base_size ()">gtk_icon_info_get_base_size</a>         (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>);
 
97
<span class="returnvalue">gint</span>                <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-base-size" title="gtk_icon_info_get_base_size ()">gtk_icon_info_get_base_size</a>         (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>);
98
98
#define             <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-filename" title="gtk_icon_info_get_filename">gtk_icon_info_get_filename</a>
99
99
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-builtin-pixbuf" title="gtk_icon_info_get_builtin_pixbuf ()">gtk_icon_info_get_builtin_pixbuf</a>    (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>);
100
100
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         <a class="link" href="GtkIconTheme.html#gtk-icon-info-load-icon" title="gtk_icon_info_load_icon ()">gtk_icon_info_load_icon</a>             (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
101
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
101
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
102
102
<span class="returnvalue">void</span>                <a class="link" href="GtkIconTheme.html#gtk-icon-info-set-raw-coordinates" title="gtk_icon_info_set_raw_coordinates ()">gtk_icon_info_set_raw_coordinates</a>   (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
103
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> raw_coordinates</code></em>);
104
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-embedded-rect" title="gtk_icon_info_get_embedded_rect ()">gtk_icon_info_get_embedded_rect</a>     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
105
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);
106
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-attach-points" title="gtk_icon_info_get_attach_points ()">gtk_icon_info_get_attach_points</a>     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
107
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Points-Rectangles-and-Regions.html#GdkPoint"><span class="type">GdkPoint</span></a> **points</code></em>,
108
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_points</code></em>);
109
 
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-display-name" title="gtk_icon_info_get_display_name ()">gtk_icon_info_get_display_name</a>      (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>);
 
103
                                                         <em class="parameter"><code><span class="type">gboolean</span> raw_coordinates</code></em>);
 
104
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-embedded-rect" title="gtk_icon_info_get_embedded_rect ()">gtk_icon_info_get_embedded_rect</a>     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
 
105
                                                         <em class="parameter"><code><a href="../gdk2/gdk2-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);
 
106
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-attach-points" title="gtk_icon_info_get_attach_points ()">gtk_icon_info_get_attach_points</a>     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
 
107
                                                         <em class="parameter"><code><a href="../gdk2/gdk2-Points-Rectangles-and-Regions.html#GdkPoint"><span class="type">GdkPoint</span></a> **points</code></em>,
 
108
                                                         <em class="parameter"><code><span class="type">gint</span> *n_points</code></em>);
 
109
const <span class="returnvalue">gchar</span> *       <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-display-name" title="gtk_icon_info_get_display_name ()">gtk_icon_info_get_display_name</a>      (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>);
110
110
</pre>
111
111
</div>
112
112
<div class="refsect1">
113
113
<a name="GtkIconTheme.object-hierarchy"></a><h2>Object Hierarchy</h2>
114
114
<pre class="synopsis">
115
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
115
  GObject
116
116
   +----GtkIconTheme
117
117
</pre>
118
118
</div>
119
119
<div class="refsect1">
120
120
<a name="GtkIconTheme.signals"></a><h2>Signals</h2>
121
121
<pre class="synopsis">
122
 
  "<a class="link" href="GtkIconTheme.html#GtkIconTheme-changed" title='The "changed" signal'>changed</a>"                                        : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
 
122
  "<a class="link" href="GtkIconTheme.html#GtkIconTheme-changed" title='The "changed" signal'>changed</a>"                                        : <code class="literal">Run Last</code>
123
123
</pre>
124
124
</div>
125
125
<div class="refsect1">
137
137
installed as operating system vendors and users choose.
138
138
</p>
139
139
<p>
140
 
Named icons are similar to the <a class="xref" href="gtk-Themeable-Stock-Images.html" title="Themeable Stock Images"><span class="refentrytitle"><a name="gtk-Themeable-Stock-Images.top_of_page"></a>Themeable Stock Images</span>(3)</a>
 
140
Named icons are similar to the <a class="xref" href="">???</a>
141
141
facility, and the distinction between the two may be a bit confusing.
142
142
A few things to keep in mind:
143
143
</p>
144
144
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
145
145
<li class="listitem"><p>
146
146
Stock images usually are used in conjunction with
147
 
<a class="xref" href="gtk-Stock-Items.html" title="Stock Items"><span class="refentrytitle"><a name="gtk-Stock-Items.top_of_page"></a>Stock Items</span>(3)</a>., such as <a class="link" href="gtk-Stock-Items.html#GTK-STOCK-OK:CAPS" title="GTK_STOCK_OK"><code class="literal">GTK_STOCK_OK</code></a> or
148
 
<a class="link" href="gtk-Stock-Items.html#GTK-STOCK-OPEN:CAPS" title="GTK_STOCK_OPEN"><code class="literal">GTK_STOCK_OPEN</code></a>. Named icons are easier to set up and therefore
 
147
<a class="xref" href="">???</a>., such as <a class="link" href="gtk2-Stock-Items.html#GTK-STOCK-OK:CAPS" title="GTK_STOCK_OK"><code class="literal">GTK_STOCK_OK</code></a> or
 
148
<a class="link" href="gtk2-Stock-Items.html#GTK-STOCK-OPEN:CAPS" title="GTK_STOCK_OPEN"><code class="literal">GTK_STOCK_OPEN</code></a>. Named icons are easier to set up and therefore
149
149
are more useful for new icons that an application wants to
150
150
add, such as application icons or window icons.
151
151
</p></li>
152
152
<li class="listitem"><p>
153
153
Stock images can only be loaded at the symbolic sizes defined
154
 
by the <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> enumeration, or by custom sizes defined
155
 
by <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-size-register" title="gtk_icon_size_register ()"><code class="function">gtk_icon_size_register()</code></a>, while named icons are more flexible
 
154
by the <a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> enumeration, or by custom sizes defined
 
155
by <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk-icon-size-register" title="gtk_icon_size_register ()"><code class="function">gtk_icon_size_register()</code></a>, while named icons are more flexible
156
156
and any pixel size can be specified.
157
157
</p></li>
158
158
<li class="listitem"><p>
177
177
directly is also simple. The <a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> object acts
178
178
as a database of all the icons in the current theme. You
179
179
can create new <a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> objects, but its much more
180
 
efficient to use the standard icon theme for the <a href="http://library.gnome.org/devel/gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a>
 
180
efficient to use the standard icon theme for the <a href="../gdk2/GdkScreen.html"><span class="type">GdkScreen</span></a>
181
181
so that the icon information is shared with other people
182
182
looking up icons. In the case where the default screen is
183
183
being used, looking up an icon can be as simple as:
205
205
17
206
206
18
207
207
19</pre></td>
208
 
        <td class="listing_code"><pre class="programlisting"><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
 
208
        <td class="listing_code"><pre class="programlisting"><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
209
209
<span class="usertype">GtkIconTheme</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">icon_theme</span><span class="symbol">;</span>
210
210
<span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pixbuf</span><span class="symbol">;</span>
211
211
<span class="normal">icon_theme </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkIconTheme.html#gtk-icon-theme-get-default">gtk_icon_theme_get_default</a></span><span class="normal"> </span><span class="symbol">();</span>
216
216
<span class="normal">                                   </span><span class="symbol">&amp;</span><span class="normal">error</span><span class="symbol">);</span>
217
217
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="normal">pixbuf</span><span class="symbol">)</span>
218
218
<span class="normal">  </span><span class="cbracket">{</span>
219
 
<span class="normal">    </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#g-warning">g_warning</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Couldn't load icon: %s"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">);</span>
220
 
<span class="normal">    </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
 
219
<span class="normal">    </span><span class="function">g_warning</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Couldn't load icon: %s"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">);</span>
 
220
<span class="normal">    </span><span class="function">g_error_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
221
221
<span class="normal">  </span><span class="cbracket">}</span>
222
222
<span class="keyword">else</span>
223
223
<span class="normal">  </span><span class="cbracket">{</span>
224
224
<span class="normal">    </span><span class="comment">/* Use the pixbuf */</span>
225
 
<span class="normal">    </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
 
225
<span class="normal">    </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
226
226
<span class="normal">  </span><span class="cbracket">}</span></pre></td>
227
227
      </tr>
228
228
    </tbody>
265
265
  GTK_ICON_LOOKUP_FORCE_SIZE       = 1 &lt;&lt; 4
266
266
} GtkIconLookupFlags;
267
267
</pre>
 
268
<p>
 
269
Used to specify options for <a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-icon" title="gtk_icon_theme_lookup_icon ()"><code class="function">gtk_icon_theme_lookup_icon()</code></a>
 
270
</p>
268
271
<div class="variablelist"><table border="0" class="variablelist">
269
272
<colgroup>
270
273
<col align="left" valign="top">
289
292
<td>When passed to
290
293
  <a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-icon" title="gtk_icon_theme_lookup_icon ()"><code class="function">gtk_icon_theme_lookup_icon()</code></a> includes builtin icons
291
294
  as well as files. For a builtin icon, <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-filename" title="gtk_icon_info_get_filename"><code class="function">gtk_icon_info_get_filename()</code></a>
 
295
  returns <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> and you need to call <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-builtin-pixbuf" title="gtk_icon_info_get_builtin_pixbuf ()"><code class="function">gtk_icon_info_get_builtin_pixbuf()</code></a>.
292
296
</td>
293
297
</tr>
294
298
<tr>
295
299
<td><p><a name="GTK-ICON-LOOKUP-GENERIC-FALLBACK:CAPS"></a><span class="term"><code class="literal">GTK_ICON_LOOKUP_GENERIC_FALLBACK</code></span></p></td>
296
 
<td>
 
300
<td>Try to shorten icon name at '-'
 
301
  characters before looking at inherited themes. For more general
 
302
  fallback, see <a class="link" href="GtkIconTheme.html#gtk-icon-theme-choose-icon" title="gtk_icon_theme_choose_icon ()"><code class="function">gtk_icon_theme_choose_icon()</code></a>. Since 2.12.
297
303
</td>
298
304
</tr>
299
305
<tr>
300
306
<td><p><a name="GTK-ICON-LOOKUP-FORCE-SIZE:CAPS"></a><span class="term"><code class="literal">GTK_ICON_LOOKUP_FORCE_SIZE</code></span></p></td>
301
 
<td>
 
307
<td>Always return the icon scaled to the
 
308
  requested size. Since 2.14.
302
309
</td>
303
310
</tr>
304
311
</tbody>
310
317
<pre class="programlisting">#define GTK_ICON_THEME_ERROR gtk_icon_theme_error_quark ()
311
318
</pre>
312
319
<p>
313
 
The <a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> used for <a class="link" href="GtkIconTheme.html#GtkIconThemeError" title="enum GtkIconThemeError"><span class="type">GtkIconThemeError</span></a> errors.
 
320
The <span class="type">GQuark</span> used for <a class="link" href="GtkIconTheme.html#GtkIconThemeError" title="enum GtkIconThemeError"><span class="type">GtkIconThemeError</span></a> errors.
314
321
</p>
315
322
</div>
316
323
<hr>
393
400
<hr>
394
401
<div class="refsect2">
395
402
<a name="gtk-icon-theme-get-for-screen"></a><h3>gtk_icon_theme_get_for_screen ()</h3>
396
 
<pre class="programlisting"><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="returnvalue">GtkIconTheme</span></a> *      gtk_icon_theme_get_for_screen       (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
 
403
<pre class="programlisting"><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="returnvalue">GtkIconTheme</span></a> *      gtk_icon_theme_get_for_screen       (<em class="parameter"><code><a href="../gdk2/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
397
404
<p>
398
405
Gets the icon theme object associated with <em class="parameter"><code>screen</code></em>; if this
399
406
function has not previously been called for the given
412
419
<tbody>
413
420
<tr>
414
421
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
415
 
<td>a <a href="http://library.gnome.org/devel/gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a>
 
422
<td>a <a href="../gdk2/GdkScreen.html"><span class="type">GdkScreen</span></a>
416
423
</td>
417
424
</tr>
418
425
<tr>
431
438
<div class="refsect2">
432
439
<a name="gtk-icon-theme-set-screen"></a><h3>gtk_icon_theme_set_screen ()</h3>
433
440
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_theme_set_screen           (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
434
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
 
441
                                                         <em class="parameter"><code><a href="../gdk2/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
435
442
<p>
436
443
Sets the screen for an icon theme; the screen is used
437
444
to track the user's currently configured icon theme,
450
457
</tr>
451
458
<tr>
452
459
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
453
 
<td>a <a href="http://library.gnome.org/devel/gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a>
 
460
<td>a <a href="../gdk2/GdkScreen.html"><span class="type">GdkScreen</span></a>
454
461
</td>
455
462
</tr>
456
463
</tbody>
525
532
</tr>
526
533
<tr>
527
534
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
528
 
<td>(array length=n_elements) (out): location to store a list of icon theme path directories or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
529
 
The stored value should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
535
<td>(array length=n_elements) (out): location to store a list of icon theme path directories or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
536
The stored value should be freed with <code class="function">g_strfreev()</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
530
537
</td>
531
538
</tr>
532
539
<tr>
533
540
<td><p><span class="term"><em class="parameter"><code>n_elements</code></em> :</span></p></td>
534
541
<td>location to store number of elements
535
 
in <em class="parameter"><code>path</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
542
in <em class="parameter"><code>path</code></em>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
536
543
</td>
537
544
</tr>
538
545
</tbody>
599
606
<div class="refsect2">
600
607
<a name="gtk-icon-theme-set-custom-theme"></a><h3>gtk_icon_theme_set_custom_theme ()</h3>
601
608
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_theme_set_custom_theme     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
602
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *theme_name</code></em>);</pre>
 
609
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *theme_name</code></em>);</pre>
603
610
<p>
604
611
Sets the name of the icon theme that the <a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> object uses
605
612
overriding system configuration. This function cannot be called
620
627
<tr>
621
628
<td><p><span class="term"><em class="parameter"><code>theme_name</code></em> :</span></p></td>
622
629
<td>name of icon theme to use instead of configured theme,
623
 
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset a previously set custom theme</td>
 
630
or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset a previously set custom theme</td>
624
631
</tr>
625
632
</tbody>
626
633
</table></div>
629
636
<hr>
630
637
<div class="refsect2">
631
638
<a name="gtk-icon-theme-has-icon"></a><h3>gtk_icon_theme_has_icon ()</h3>
632
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_icon_theme_has_icon             (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
633
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>);</pre>
 
639
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_icon_theme_has_icon             (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
 
640
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);</pre>
634
641
<p>
635
642
Checks whether an icon theme includes an icon
636
643
for a particular name.
653
660
<tr>
654
661
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
655
662
<td>
656
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>icon_theme</code></em> includes an
 
663
<code class="literal">TRUE</code> if <em class="parameter"><code>icon_theme</code></em> includes an
657
664
icon for <em class="parameter"><code>icon_name</code></em>.</td>
658
665
</tr>
659
666
</tbody>
664
671
<div class="refsect2">
665
672
<a name="gtk-icon-theme-lookup-icon"></a><h3>gtk_icon_theme_lookup_icon ()</h3>
666
673
<pre class="programlisting"><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="returnvalue">GtkIconInfo</span></a> *       gtk_icon_theme_lookup_icon          (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
667
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>,
668
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
 
674
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>,
 
675
                                                         <em class="parameter"><code><span class="type">gint</span> size</code></em>,
669
676
                                                         <em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconLookupFlags" title="enum GtkIconLookupFlags"><span class="type">GtkIconLookupFlags</span></a> flags</code></em>);</pre>
670
677
<p>
671
678
Looks up a named icon and returns a structure containing
700
707
<tr>
701
708
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
702
709
<td>a <a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> structure containing information
703
 
about the icon, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the icon wasn't found. Free with
 
710
about the icon, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if the icon wasn't found. Free with
704
711
<a class="link" href="GtkIconTheme.html#gtk-icon-info-free" title="gtk_icon_info_free ()"><code class="function">gtk_icon_info_free()</code></a>
705
712
</td>
706
713
</tr>
712
719
<div class="refsect2">
713
720
<a name="gtk-icon-theme-choose-icon"></a><h3>gtk_icon_theme_choose_icon ()</h3>
714
721
<pre class="programlisting"><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="returnvalue">GtkIconInfo</span></a> *       gtk_icon_theme_choose_icon          (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
715
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_names[]</code></em>,
716
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
 
722
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *icon_names[]</code></em>,
 
723
                                                         <em class="parameter"><code><span class="type">gint</span> size</code></em>,
717
724
                                                         <em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconLookupFlags" title="enum GtkIconLookupFlags"><span class="type">GtkIconLookupFlags</span></a> flags</code></em>);</pre>
718
725
<p>
719
726
Looks up a named icon and returns a structure containing
741
748
<tr>
742
749
<td><p><span class="term"><em class="parameter"><code>icon_names</code></em> :</span></p></td>
743
750
<td>
744
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of
 
751
<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of
745
752
icon names to lookup. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span>
746
753
</td>
747
754
</tr>
756
763
<tr>
757
764
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
758
765
<td>a <a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> structure containing information
759
 
about the icon, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the icon wasn't found. Free with
 
766
about the icon, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if the icon wasn't found. Free with
760
767
<a class="link" href="GtkIconTheme.html#gtk-icon-info-free" title="gtk_icon_info_free ()"><code class="function">gtk_icon_info_free()</code></a>
761
768
</td>
762
769
</tr>
768
775
<div class="refsect2">
769
776
<a name="gtk-icon-theme-lookup-by-gicon"></a><h3>gtk_icon_theme_lookup_by_gicon ()</h3>
770
777
<pre class="programlisting"><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="returnvalue">GtkIconInfo</span></a> *       gtk_icon_theme_lookup_by_gicon      (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
771
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GIcon.html"><span class="type">GIcon</span></a> *icon</code></em>,
772
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
 
778
                                                         <em class="parameter"><code><span class="type">GIcon</span> *icon</code></em>,
 
779
                                                         <em class="parameter"><code><span class="type">gint</span> size</code></em>,
773
780
                                                         <em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconLookupFlags" title="enum GtkIconLookupFlags"><span class="type">GtkIconLookupFlags</span></a> flags</code></em>);</pre>
774
781
<p>
775
782
Looks up an icon and returns a structure containing
790
797
</tr>
791
798
<tr>
792
799
<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td>
793
 
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GIcon.html"><span class="type">GIcon</span></a> to look up</td>
 
800
<td>the <span class="type">GIcon</span> to look up</td>
794
801
</tr>
795
802
<tr>
796
803
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
803
810
<tr>
804
811
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
805
812
<td>a <a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> structure containing
806
 
information about the icon, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the icon
 
813
information about the icon, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if the icon
807
814
wasn't found. Free with <a class="link" href="GtkIconTheme.html#gtk-icon-info-free" title="gtk_icon_info_free ()"><code class="function">gtk_icon_info_free()</code></a>
808
815
</td>
809
816
</tr>
815
822
<div class="refsect2">
816
823
<a name="gtk-icon-theme-load-icon"></a><h3>gtk_icon_theme_load_icon ()</h3>
817
824
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         gtk_icon_theme_load_icon            (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
818
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>,
819
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
 
825
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>,
 
826
                                                         <em class="parameter"><code><span class="type">gint</span> size</code></em>,
820
827
                                                         <em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconLookupFlags" title="enum GtkIconLookupFlags"><span class="type">GtkIconLookupFlags</span></a> flags</code></em>,
821
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
828
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
822
829
<p>
823
830
Looks up an icon in an icon theme, scales it to the given size
824
831
and renders it into a pixbuf. This is a convenience function;
860
867
</tr>
861
868
<tr>
862
869
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
863
 
<td>Location to store error information on failure, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
870
<td>Location to store error information on failure, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
864
871
</td>
865
872
</tr>
866
873
<tr>
867
874
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
868
875
<td>the rendered icon; this may be a newly
869
876
created icon or a new reference to an internal icon, so you must not modify
870
 
the icon. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> to release your reference to the
871
 
icon. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the icon isn't found. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
877
the icon. Use <code class="function">g_object_unref()</code> to release your reference to the
 
878
icon. <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if the icon isn't found. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
872
879
</td>
873
880
</tr>
874
881
</tbody>
878
885
<hr>
879
886
<div class="refsect2">
880
887
<a name="gtk-icon-theme-list-contexts"></a><h3>gtk_icon_theme_list_contexts ()</h3>
881
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             gtk_icon_theme_list_contexts        (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>);</pre>
 
888
<pre class="programlisting"><span class="returnvalue">GList</span> *             gtk_icon_theme_list_contexts        (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>);</pre>
882
889
<p>
883
890
Gets the list of contexts available within the current
884
891
hierarchy of icon themes
896
903
</tr>
897
904
<tr>
898
905
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
899
 
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> list holding the names of all the
 
906
<td>a <span class="type">GList</span> list holding the names of all the
900
907
contexts in the theme. You must first free each element
901
 
in the list with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>, then free the list itself
902
 
with <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
908
in the list with <code class="function">g_free()</code>, then free the list itself
 
909
with <code class="function">g_list_free()</code>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
903
910
</td>
904
911
</tr>
905
912
</tbody>
909
916
<hr>
910
917
<div class="refsect2">
911
918
<a name="gtk-icon-theme-list-icons"></a><h3>gtk_icon_theme_list_icons ()</h3>
912
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             gtk_icon_theme_list_icons           (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
913
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context</code></em>);</pre>
 
919
<pre class="programlisting"><span class="returnvalue">GList</span> *             gtk_icon_theme_list_icons           (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
 
920
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *context</code></em>);</pre>
914
921
<p>
915
922
Lists the icons in the current icon theme. Only a subset
916
923
of the icons can be listed by providing a context string.
932
939
<tr>
933
940
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
934
941
<td>a string identifying a particular type of icon,
935
 
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to list all icons.</td>
 
942
or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to list all icons.</td>
936
943
</tr>
937
944
<tr>
938
945
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
939
 
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> list
 
946
<td>a <span class="type">GList</span> list
940
947
holding the names of all the icons in the theme. You must first
941
 
free each element in the list with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>, then free the list
942
 
itself with <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
948
free each element in the list with <code class="function">g_free()</code>, then free the list
 
949
itself with <code class="function">g_list_free()</code>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
943
950
</td>
944
951
</tr>
945
952
</tbody>
949
956
<hr>
950
957
<div class="refsect2">
951
958
<a name="gtk-icon-theme-get-icon-sizes"></a><h3>gtk_icon_theme_get_icon_sizes ()</h3>
952
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> *              gtk_icon_theme_get_icon_sizes       (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
953
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>);</pre>
 
959
<pre class="programlisting"><span class="returnvalue">gint</span> *              gtk_icon_theme_get_icon_sizes       (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
 
960
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);</pre>
954
961
<p>
955
962
Returns an array of integers describing the sizes at which
956
963
the icon is available without scaling. A size of -1 means 
976
983
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
977
984
<td>An newly allocated array
978
985
describing the sizes at which the icon is available. The array
979
 
should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when it is no longer needed. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span>
 
986
should be freed with <code class="function">g_free()</code> when it is no longer needed. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span>
980
987
</td>
981
988
</tr>
982
989
</tbody>
1006
1013
</tr>
1007
1014
<tr>
1008
1015
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1009
 
<td>the name of an example icon or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
1010
 
Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
 
1016
<td>the name of an example icon or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
1017
Free with <code class="function">g_free()</code>.</td>
1011
1018
</tr>
1012
1019
</tbody>
1013
1020
</table></div>
1016
1023
<hr>
1017
1024
<div class="refsect2">
1018
1025
<a name="gtk-icon-theme-rescan-if-needed"></a><h3>gtk_icon_theme_rescan_if_needed ()</h3>
1019
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_icon_theme_rescan_if_needed     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>);</pre>
 
1026
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_icon_theme_rescan_if_needed     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>);</pre>
1020
1027
<p>
1021
1028
Checks to see if the icon theme has changed; if it has, any
1022
1029
currently cached information is discarded and will be reloaded
1036
1043
<tr>
1037
1044
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1038
1045
<td>
1039
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the icon theme has changed and needed
 
1046
<code class="literal">TRUE</code> if the icon theme has changed and needed
1040
1047
to be reloaded.</td>
1041
1048
</tr>
1042
1049
</tbody>
1046
1053
<hr>
1047
1054
<div class="refsect2">
1048
1055
<a name="gtk-icon-theme-add-builtin-icon"></a><h3>gtk_icon_theme_add_builtin_icon ()</h3>
1049
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_theme_add_builtin_icon     (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>,
1050
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
 
1056
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_theme_add_builtin_icon     (<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>,
 
1057
                                                         <em class="parameter"><code><span class="type">gint</span> size</code></em>,
1051
1058
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
1052
1059
<p>
1053
1060
Registers a built-in icon for icon theme lookups. The idea
1174
1181
<hr>
1175
1182
<div class="refsect2">
1176
1183
<a name="gtk-icon-info-get-base-size"></a><h3>gtk_icon_info_get_base_size ()</h3>
1177
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_info_get_base_size         (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>);</pre>
 
1184
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_icon_info_get_base_size         (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>);</pre>
1178
1185
<p>
1179
1186
Gets the base size for the icon. The base size
1180
1187
is a size for the icon that was specified by
1224
1231
</colgroup>
1225
1232
<tbody><tr>
1226
1233
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1227
 
<td>the filename for the icon, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1234
<td>the filename for the icon, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
1228
1235
if <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-builtin-pixbuf" title="gtk_icon_info_get_builtin_pixbuf ()"><code class="function">gtk_icon_info_get_builtin_pixbuf()</code></a> should
1229
1236
be used instead. The return value is owned by
1230
1237
GTK+ and should not be modified or freed.</td>
1254
1261
</tr>
1255
1262
<tr>
1256
1263
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1257
 
<td>the built-in image pixbuf, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. No
 
1264
<td>the built-in image pixbuf, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. No
1258
1265
extra reference is added to the returned pixbuf, so if
1259
 
you want to keep it around, you must use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.
 
1266
you want to keep it around, you must use <code class="function">g_object_ref()</code>.
1260
1267
The returned image must not be modified. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1261
1268
</td>
1262
1269
</tr>
1268
1275
<div class="refsect2">
1269
1276
<a name="gtk-icon-info-load-icon"></a><h3>gtk_icon_info_load_icon ()</h3>
1270
1277
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         gtk_icon_info_load_icon             (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
1271
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
1278
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1272
1279
<p>
1273
1280
Renders an icon previously looked up in an icon theme using
1274
1281
<a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-icon" title="gtk_icon_theme_lookup_icon ()"><code class="function">gtk_icon_theme_lookup_icon()</code></a>; the size will be based on the size
1296
1303
<tr>
1297
1304
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1298
1305
<td>location to store error information on failure,
1299
 
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1306
or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1300
1307
</td>
1301
1308
</tr>
1302
1309
<tr>
1303
1310
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1304
1311
<td>the rendered icon; this may be a newly
1305
1312
created icon or a new reference to an internal icon, so you must
1306
 
not modify the icon. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> to release your reference
 
1313
not modify the icon. Use <code class="function">g_object_unref()</code> to release your reference
1307
1314
to the icon. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
1308
1315
</td>
1309
1316
</tr>
1315
1322
<div class="refsect2">
1316
1323
<a name="gtk-icon-info-set-raw-coordinates"></a><h3>gtk_icon_info_set_raw_coordinates ()</h3>
1317
1324
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_info_set_raw_coordinates   (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
1318
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> raw_coordinates</code></em>);</pre>
 
1325
                                                         <em class="parameter"><code><span class="type">gboolean</span> raw_coordinates</code></em>);</pre>
1319
1326
<p>
1320
1327
Sets whether the coordinates returned by <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-embedded-rect" title="gtk_icon_info_get_embedded_rect ()"><code class="function">gtk_icon_info_get_embedded_rect()</code></a>
1321
1328
and <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-attach-points" title="gtk_icon_info_get_attach_points ()"><code class="function">gtk_icon_info_get_attach_points()</code></a> should be returned in their
1327
1334
respect to the unscaled pixmap for PNG and XPM icons, but for SVG
1328
1335
icons, they are in a 1000x1000 coordinate space that is scaled
1329
1336
to the final size of the icon.  You can determine if the icon is an SVG
1330
 
icon by using <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-filename" title="gtk_icon_info_get_filename"><code class="function">gtk_icon_info_get_filename()</code></a>, and seeing if it is non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1337
icon by using <a class="link" href="GtkIconTheme.html#gtk-icon-info-get-filename" title="gtk_icon_info_get_filename"><code class="function">gtk_icon_info_get_filename()</code></a>, and seeing if it is non-<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
1331
1338
and ends in '.svg'.
1332
1339
</p>
1333
1340
<p>
1358
1365
<hr>
1359
1366
<div class="refsect2">
1360
1367
<a name="gtk-icon-info-get-embedded-rect"></a><h3>gtk_icon_info_get_embedded_rect ()</h3>
1361
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_icon_info_get_embedded_rect     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
1362
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
 
1368
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_icon_info_get_embedded_rect     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
 
1369
                                                         <em class="parameter"><code><a href="../gdk2/gdk2-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
1363
1370
<p>
1364
1371
Gets the coordinates of a rectangle within the icon
1365
1372
that can be used for display of information such
1381
1388
<tr>
1382
1389
<td><p><span class="term"><em class="parameter"><code>rectangle</code></em> :</span></p></td>
1383
1390
<td>
1384
 
<a href="http://library.gnome.org/devel/gdk3/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> in which to store embedded
 
1391
<a href="../gdk2/gdk2-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> in which to store embedded
1385
1392
rectangle coordinates; coordinates are only stored
1386
 
when this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
 
1393
when this function returns <code class="literal">TRUE</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
1387
1394
</td>
1388
1395
</tr>
1389
1396
<tr>
1390
1397
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1391
1398
<td>
1392
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the icon has an embedded rectangle</td>
 
1399
<code class="literal">TRUE</code> if the icon has an embedded rectangle</td>
1393
1400
</tr>
1394
1401
</tbody>
1395
1402
</table></div>
1398
1405
<hr>
1399
1406
<div class="refsect2">
1400
1407
<a name="gtk-icon-info-get-attach-points"></a><h3>gtk_icon_info_get_attach_points ()</h3>
1401
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_icon_info_get_attach_points     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
1402
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Points-Rectangles-and-Regions.html#GdkPoint"><span class="type">GdkPoint</span></a> **points</code></em>,
1403
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_points</code></em>);</pre>
 
1408
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_icon_info_get_attach_points     (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
 
1409
                                                         <em class="parameter"><code><a href="../gdk2/gdk2-Points-Rectangles-and-Regions.html#GdkPoint"><span class="type">GdkPoint</span></a> **points</code></em>,
 
1410
                                                         <em class="parameter"><code><span class="type">gint</span> *n_points</code></em>);</pre>
1404
1411
<p>
1405
1412
Fetches the set of attach points for an icon. An attach point
1406
1413
is a location in the icon that can be used as anchor points for attaching
1419
1426
</tr>
1420
1427
<tr>
1421
1428
<td><p><span class="term"><em class="parameter"><code>points</code></em> :</span></p></td>
1422
 
<td>(array length=n_points) (out): location to store pointer to an array of points, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1423
 
free the array of points with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1429
<td>(array length=n_points) (out): location to store pointer to an array of points, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1430
free the array of points with <code class="function">g_free()</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1424
1431
</td>
1425
1432
</tr>
1426
1433
<tr>
1427
1434
<td><p><span class="term"><em class="parameter"><code>n_points</code></em> :</span></p></td>
1428
 
<td>location to store the number of points in <em class="parameter"><code>points</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1435
<td>location to store the number of points in <em class="parameter"><code>points</code></em>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1429
1436
</td>
1430
1437
</tr>
1431
1438
<tr>
1432
1439
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1433
1440
<td>
1434
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there are any attach points for the icon.</td>
 
1441
<code class="literal">TRUE</code> if there are any attach points for the icon.</td>
1435
1442
</tr>
1436
1443
</tbody>
1437
1444
</table></div>
1440
1447
<hr>
1441
1448
<div class="refsect2">
1442
1449
<a name="gtk-icon-info-get-display-name"></a><h3>gtk_icon_info_get_display_name ()</h3>
1443
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gtk_icon_info_get_display_name      (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>);</pre>
 
1450
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       gtk_icon_info_get_display_name      (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>);</pre>
1444
1451
<p>
1445
1452
Gets the display name for an icon. A display name is a
1446
1453
string to be used in place of the icon name in a user
1459
1466
</tr>
1460
1467
<tr>
1461
1468
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1462
 
<td>the display name for the icon or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, if
 
1469
<td>the display name for the icon or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, if
1463
1470
the icon doesn't have a specified display name. This value
1464
1471
is owned <em class="parameter"><code>icon_info</code></em> and must not be modified or free.</td>
1465
1472
</tr>
1473
1480
<div class="refsect2">
1474
1481
<a name="GtkIconTheme-changed"></a><h3>The <code class="literal">"changed"</code> signal</h3>
1475
1482
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme,
1476
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)       : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
 
1483
                                                        <span class="type">gpointer</span>      user_data)       : <code class="literal">Run Last</code></pre>
1477
1484
<p>
1478
1485
Emitted when the current icon theme is switched or GTK+ detects
1479
1486
that a change has occurred in the contents of the current
1500
1507
</div>
1501
1508
<div class="footer">
1502
1509
<hr>
1503
 
          Generated by GTK-Doc V1.18.1</div>
 
1510
          Generated by GTK-Doc V1.18</div>
1504
1511
</body>
1505
1512
</html>
 
 
b'\\ No newline at end of file'