<HTML
><HEAD
><TITLE
>gnome-stock</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
REL="HOME"
TITLE="Gnome Developers' Information"
HREF="book1.html"><LINK
REL="UP"
TITLE="GNOME User Interface library."
HREF="libgnomeui.html"><LINK
REL="PREVIOUS"
TITLE="gnome-stock-xpm - XPM"
HREF="gnome-stock-xpm.html"><LINK
REL="NEXT"
TITLE="gtk-clock"
HREF="gtk-clock.html"></HEAD
><BODY
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Gnome Developers' Information</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="gnome-stock-xpm.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 6. GNOME User Interface library.</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="gtk-clock.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="GNOME-STOCK"
>gnome-stock</A
></H1
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN1254"
>Description</A
></H2
><P
>If defined, gdk_imlib is used for the pixmap stuff. That will help alot.
As well for colormaps, as for determining the size of a pixmap before a
GdkWindow is created.</P
><P
>TODO: I cannot define this here permanently because it will require,
that all apps link against gdk_imlib. We will require a check, if
gdk_imlib is installed on the particular system and include -lgdk_imlib
in LIBS for that.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="GNOMESTOCKPIXMAPENTRYANY"
>GnomeStockPixmapEntryAny - some internal definitions</A
></H2
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>struct _GnomeStockPixmapEntryAny GnomeStockPixmapEntryAny</PRE
></TD
></TR
></TABLE
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1261"
>Description</A
></H3
><P
>some internal definitions</P
></DIV
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="GNOMESTOCKPIXMAPWIDGET"
>GnomeStockPixmapWidget - the GnomeStockPixmapWidget</A
></H2
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>struct _GnomeStockPixmapWidget GnomeStockPixmapWidget</PRE
></TD
></TR
></TABLE
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1267"
>Description</A
></H3
><P
>the GnomeStockPixmapWidget</P
></DIV
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="GNOME-STOCK-PIXMAP"
>gnome_stock_pixmap - just fetch a pixmap</A
></H2
><DIV
CLASS="FUNCSYNOPSIS"
><P
></P
><CODE
CLASS="FUNCDEF"
> GtkPixmap *<B
CLASS="FSFUNC"
>gnome_stock_pixmap</B
></CODE
>(GtkWidget *<VAR
CLASS="PDPARAM"
>window</VAR
>, char *<VAR
CLASS="PDPARAM"
>icon</VAR
>, char *<VAR
CLASS="PDPARAM"
>subtype</VAR
>);<P
></P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1281"
>Description</A
></H3
><P
>just fetch a pixmap</P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1284"
>Parameters</A
></H3
><P
></P
><UL
><LI
><P
>GtkWidget *<TT
CLASS="PARAMETER"
><I
>window</I
></TT
></P
><P
>Not Descripted.</P
></LI
><LI
><P
>char *<TT
CLASS="PARAMETER"
><I
>icon</I
></TT
></P
><P
>Not Descripted.</P
></LI
><LI
><P
>char *<TT
CLASS="PARAMETER"
><I
>subtype</I
></TT
></P
><P
>Not Descripted.</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="GNOME-STOCK-PIXMAP-WIDGET"
>gnome_stock_pixmap_widget - just fetch a GnomeStockPixmapWidget</A
></H2
><DIV
CLASS="FUNCSYNOPSIS"
><P
></P
><CODE
CLASS="FUNCDEF"
> GtkWidget *<B
CLASS="FSFUNC"
>gnome_stock_pixmap_widget</B
></CODE
>(GtkWidget *<VAR
CLASS="PDPARAM"
>window</VAR
>, char *<VAR
CLASS="PDPARAM"
>icon</VAR
>);<P
></P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1308"
>Description</A
></H3
><P
>just fetch a GnomeStockPixmapWidget</P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1311"
>Parameters</A
></H3
><P
></P
><UL
><LI
><P
>GtkWidget *<TT
CLASS="PARAMETER"
><I
>window</I
></TT
></P
><P
>Not Descripted.</P
></LI
><LI
><P
>char *<TT
CLASS="PARAMETER"
><I
>icon</I
></TT
></P
><P
>Not Descripted.</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="GNOME-STOCK-PIXMAP-REGISTER"
>gnome_stock_pixmap_register - register a pixmap. returns non-zero, if successful</A
></H2
><DIV
CLASS="FUNCSYNOPSIS"
><P
></P
><CODE
CLASS="FUNCDEF"
> gint <B
CLASS="FSFUNC"
>gnome_stock_pixmap_register</B
></CODE
>(char *<VAR
CLASS="PDPARAM"
>icon</VAR
>, char *<VAR
CLASS="PDPARAM"
>subtype</VAR
>, GnomeStockPixmapEntry *<VAR
CLASS="PDPARAM"
>entry</VAR
>);<P
></P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1333"
>Description</A
></H3
><P
>register a pixmap. returns non-zero, if successful</P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1336"
>Parameters</A
></H3
><P
></P
><UL
><LI
><P
>char *<TT
CLASS="PARAMETER"
><I
>icon</I
></TT
></P
><P
>Not Descripted.</P
></LI
><LI
><P
>char *<TT
CLASS="PARAMETER"
><I
>subtype</I
></TT
></P
><P
>Not Descripted.</P
></LI
><LI
><P
>GnomeStockPixmapEntry *<TT
CLASS="PARAMETER"
><I
>entry</I
></TT
></P
><P
>Not Descripted.</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="GNOME-STOCK-PIXMAP-CHANGE"
>gnome_stock_pixmap_change - change an existing entry. returns non-zero on success</A
></H2
><DIV
CLASS="FUNCSYNOPSIS"
><P
></P
><CODE
CLASS="FUNCDEF"
> gint <B
CLASS="FSFUNC"
>gnome_stock_pixmap_change</B
></CODE
>(char *<VAR
CLASS="PDPARAM"
>icon</VAR
>, char *<VAR
CLASS="PDPARAM"
>subtype</VAR
>, GnomeStockPixmapEntry *<VAR
CLASS="PDPARAM"
>entry</VAR
>);<P
></P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1362"
>Description</A
></H3
><P
>change an existing entry. returns non-zero on success</P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1365"
>Parameters</A
></H3
><P
></P
><UL
><LI
><P
>char *<TT
CLASS="PARAMETER"
><I
>icon</I
></TT
></P
><P
>Not Descripted.</P
></LI
><LI
><P
>char *<TT
CLASS="PARAMETER"
><I
>subtype</I
></TT
></P
><P
>Not Descripted.</P
></LI
><LI
><P
>GnomeStockPixmapEntry *<TT
CLASS="PARAMETER"
><I
>entry</I
></TT
></P
><P
>Not Descripted.</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="GNOME-STOCK-PIXMAP-CHECKFOR"
>gnome_stock_pixmap_checkfor</A
></H2
><DIV
CLASS="FUNCSYNOPSIS"
><P
></P
><CODE
CLASS="FUNCDEF"
> GnomeStockPixmapEntry *<B
CLASS="FSFUNC"
>gnome_stock_pixmap_checkfor</B
></CODE
>(char *<VAR
CLASS="PDPARAM"
>icon</VAR
>, char *<VAR
CLASS="PDPARAM"
>subtype</VAR
>);<P
></P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1389"
>Description</A
></H3
><P
>check for the existence of an entry. returns the entry if it
exists, or NULL otherwise</P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1392"
>Parameters</A
></H3
><P
></P
><UL
><LI
><P
>char *<TT
CLASS="PARAMETER"
><I
>icon</I
></TT
></P
><P
>Not Descripted.</P
></LI
><LI
><P
>char *<TT
CLASS="PARAMETER"
><I
>subtype</I
></TT
></P
><P
>Not Descripted.</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="GNOME-STOCK-BUTTON"
>gnome_stock_button - returns a default button widget for dialogs</A
></H2
><DIV
CLASS="FUNCSYNOPSIS"
><P
></P
><CODE
CLASS="FUNCDEF"
> GtkWidget *<B
CLASS="FSFUNC"
>gnome_stock_button</B
></CODE
>(char *<VAR
CLASS="PDPARAM"
>type</VAR
>);<P
></P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1410"
>Description</A
></H3
><P
>returns a default button widget for dialogs</P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1413"
>Parameters</A
></H3
><P
></P
><UL
><LI
><P
>char *<TT
CLASS="PARAMETER"
><I
>type</I
></TT
></P
><P
>Not Descripted.</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="GNOME-STOCK-MENU-ITEM"
>gnome_stock_menu_item - returns a GtkMenuItem with an stock icon and text</A
></H2
><DIV
CLASS="FUNCSYNOPSIS"
><P
></P
><CODE
CLASS="FUNCDEF"
> GtkWidget *<B
CLASS="FSFUNC"
>gnome_stock_menu_item</B
></CODE
>(char *<VAR
CLASS="PDPARAM"
>type</VAR
>, char *<VAR
CLASS="PDPARAM"
>text</VAR
>);<P
></P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1429"
>Description</A
></H3
><P
>returns a GtkMenuItem with an stock icon and text</P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AEN1432"
>Parameters</A
></H3
><P
></P
><UL
><LI
><P
>char *<TT
CLASS="PARAMETER"
><I
>type</I
></TT
></P
><P
>Not Descripted.</P
></LI
><LI
><P
>char *<TT
CLASS="PARAMETER"
><I
>text</I
></TT
></P
><P
>Not Descripted.</P
></LI
></UL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="gnome-stock-xpm.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="book1.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="gtk-clock.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>gnome-stock-xpm - XPM</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="libgnomeui.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>gtk-clock</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>