287
290
facility, and the distinction between the two may be a bit confusing.
288
291
A few things to keep in mind:
292
295
Stock images usually are used in conjunction with
293
296
<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
294
297
<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
295
298
are more useful for new icons that an application wants to
296
299
add, such as application icons or window icons.
299
302
Stock images can only be loaded at the symbolic sizes defined
300
303
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
301
304
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
302
305
and any pixel size can be specified.
305
308
Because stock images are closely tied to stock items, and thus
306
309
to actions in the user interface, stock images may come in
307
310
multiple variants for different widget states or writing