<refentry id="GnomeStock"> <refmeta> <refentrytitle>GnomeStock</refentrytitle> <manvolnum>3</manvolnum> <refmiscinfo>GNOMEUI Library</refmiscinfo> </refmeta> <refnamediv> <refname>GnomeStock</refname><refpurpose>50% finished, API-docs not done; Default icons for toolbars, menus and buttons.</refpurpose> </refnamediv> <refsynopsisdiv><title>Synopsis</title> <synopsis> #include <gnome.h> struct <link linkend="GnomeStock-struct">GnomeStock</link>; #define <link linkend="GNOME-STOCK-PIXMAP-NEW-CAPS">GNOME_STOCK_PIXMAP_NEW</link> #define <link linkend="GNOME-STOCK-PIXMAP-OPEN-CAPS">GNOME_STOCK_PIXMAP_OPEN</link> #define <link linkend="GNOME-STOCK-PIXMAP-CLOSE-CAPS">GNOME_STOCK_PIXMAP_CLOSE</link> #define <link linkend="GNOME-STOCK-PIXMAP-REVERT-CAPS">GNOME_STOCK_PIXMAP_REVERT</link> #define <link linkend="GNOME-STOCK-PIXMAP-SAVE-CAPS">GNOME_STOCK_PIXMAP_SAVE</link> #define <link linkend="GNOME-STOCK-PIXMAP-SAVE-AS-CAPS">GNOME_STOCK_PIXMAP_SAVE_AS</link> #define <link linkend="GNOME-STOCK-PIXMAP-CUT-CAPS">GNOME_STOCK_PIXMAP_CUT</link> #define <link linkend="GNOME-STOCK-PIXMAP-COPY-CAPS">GNOME_STOCK_PIXMAP_COPY</link> #define <link linkend="GNOME-STOCK-PIXMAP-PASTE-CAPS">GNOME_STOCK_PIXMAP_PASTE</link> #define <link linkend="GNOME-STOCK-PIXMAP-CLEAR-CAPS">GNOME_STOCK_PIXMAP_CLEAR</link> #define <link linkend="GNOME-STOCK-PIXMAP-PROPERTIES-CAPS">GNOME_STOCK_PIXMAP_PROPERTIES</link> #define <link linkend="GNOME-STOCK-PIXMAP-PREFERENCES-CAPS">GNOME_STOCK_PIXMAP_PREFERENCES</link> #define <link linkend="GNOME-STOCK-PIXMAP-HELP-CAPS">GNOME_STOCK_PIXMAP_HELP</link> #define <link linkend="GNOME-STOCK-PIXMAP-SCORES-CAPS">GNOME_STOCK_PIXMAP_SCORES</link> #define <link linkend="GNOME-STOCK-PIXMAP-PRINT-CAPS">GNOME_STOCK_PIXMAP_PRINT</link> #define <link linkend="GNOME-STOCK-PIXMAP-SEARCH-CAPS">GNOME_STOCK_PIXMAP_SEARCH</link> #define <link linkend="GNOME-STOCK-PIXMAP-SRCHRPL-CAPS">GNOME_STOCK_PIXMAP_SRCHRPL</link> #define <link linkend="GNOME-STOCK-PIXMAP-BACK-CAPS">GNOME_STOCK_PIXMAP_BACK</link> #define <link linkend="GNOME-STOCK-PIXMAP-FORWARD-CAPS">GNOME_STOCK_PIXMAP_FORWARD</link> #define <link linkend="GNOME-STOCK-PIXMAP-FIRST-CAPS">GNOME_STOCK_PIXMAP_FIRST</link> #define <link linkend="GNOME-STOCK-PIXMAP-LAST-CAPS">GNOME_STOCK_PIXMAP_LAST</link> #define <link linkend="GNOME-STOCK-PIXMAP-HOME-CAPS">GNOME_STOCK_PIXMAP_HOME</link> #define <link linkend="GNOME-STOCK-PIXMAP-STOP-CAPS">GNOME_STOCK_PIXMAP_STOP</link> #define <link linkend="GNOME-STOCK-PIXMAP-REFRESH-CAPS">GNOME_STOCK_PIXMAP_REFRESH</link> #define <link linkend="GNOME-STOCK-PIXMAP-UNDO-CAPS">GNOME_STOCK_PIXMAP_UNDO</link> #define <link linkend="GNOME-STOCK-PIXMAP-REDO-CAPS">GNOME_STOCK_PIXMAP_REDO</link> #define <link linkend="GNOME-STOCK-PIXMAP-TIMER-CAPS">GNOME_STOCK_PIXMAP_TIMER</link> #define <link linkend="GNOME-STOCK-PIXMAP-TIMER-STOP-CAPS">GNOME_STOCK_PIXMAP_TIMER_STOP</link> #define <link linkend="GNOME-STOCK-PIXMAP-MAIL-CAPS">GNOME_STOCK_PIXMAP_MAIL</link> #define <link linkend="GNOME-STOCK-PIXMAP-MAIL-RCV-CAPS">GNOME_STOCK_PIXMAP_MAIL_RCV</link> #define <link linkend="GNOME-STOCK-PIXMAP-MAIL-SND-CAPS">GNOME_STOCK_PIXMAP_MAIL_SND</link> #define <link linkend="GNOME-STOCK-PIXMAP-MAIL-RPL-CAPS">GNOME_STOCK_PIXMAP_MAIL_RPL</link> #define <link linkend="GNOME-STOCK-PIXMAP-MAIL-FWD-CAPS">GNOME_STOCK_PIXMAP_MAIL_FWD</link> #define <link linkend="GNOME-STOCK-PIXMAP-MAIL-NEW-CAPS">GNOME_STOCK_PIXMAP_MAIL_NEW</link> #define <link linkend="GNOME-STOCK-PIXMAP-TRASH-CAPS">GNOME_STOCK_PIXMAP_TRASH</link> #define <link linkend="GNOME-STOCK-PIXMAP-TRASH-FULL-CAPS">GNOME_STOCK_PIXMAP_TRASH_FULL</link> #define <link linkend="GNOME-STOCK-PIXMAP-UNDELETE-CAPS">GNOME_STOCK_PIXMAP_UNDELETE</link> #define <link linkend="GNOME-STOCK-PIXMAP-SPELLCHECK-CAPS">GNOME_STOCK_PIXMAP_SPELLCHECK</link> #define <link linkend="GNOME-STOCK-PIXMAP-MIC-CAPS">GNOME_STOCK_PIXMAP_MIC</link> #define <link linkend="GNOME-STOCK-PIXMAP-LINE-IN-CAPS">GNOME_STOCK_PIXMAP_LINE_IN</link> #define <link linkend="GNOME-STOCK-PIXMAP-CDROM-CAPS">GNOME_STOCK_PIXMAP_CDROM</link> #define <link linkend="GNOME-STOCK-PIXMAP-VOLUME-CAPS">GNOME_STOCK_PIXMAP_VOLUME</link> #define <link linkend="GNOME-STOCK-PIXMAP-BOOK-RED-CAPS">GNOME_STOCK_PIXMAP_BOOK_RED</link> #define <link linkend="GNOME-STOCK-PIXMAP-BOOK-GREEN-CAPS">GNOME_STOCK_PIXMAP_BOOK_GREEN</link> #define <link linkend="GNOME-STOCK-PIXMAP-BOOK-BLUE-CAPS">GNOME_STOCK_PIXMAP_BOOK_BLUE</link> #define <link linkend="GNOME-STOCK-PIXMAP-BOOK-YELLOW-CAPS">GNOME_STOCK_PIXMAP_BOOK_YELLOW</link> #define <link linkend="GNOME-STOCK-PIXMAP-BOOK-OPEN-CAPS">GNOME_STOCK_PIXMAP_BOOK_OPEN</link> #define <link linkend="GNOME-STOCK-PIXMAP-ABOUT-CAPS">GNOME_STOCK_PIXMAP_ABOUT</link> #define <link linkend="GNOME-STOCK-PIXMAP-QUIT-CAPS">GNOME_STOCK_PIXMAP_QUIT</link> #define <link linkend="GNOME-STOCK-PIXMAP-MULTIPLE-CAPS">GNOME_STOCK_PIXMAP_MULTIPLE</link> #define <link linkend="GNOME-STOCK-PIXMAP-NOT-CAPS">GNOME_STOCK_PIXMAP_NOT</link> #define <link linkend="GNOME-STOCK-PIXMAP-CONVERT-CAPS">GNOME_STOCK_PIXMAP_CONVERT</link> #define <link linkend="GNOME-STOCK-PIXMAP-JUMP-TO-CAPS">GNOME_STOCK_PIXMAP_JUMP_TO</link> #define <link linkend="GNOME-STOCK-PIXMAP-UP-CAPS">GNOME_STOCK_PIXMAP_UP</link> #define <link linkend="GNOME-STOCK-PIXMAP-DOWN-CAPS">GNOME_STOCK_PIXMAP_DOWN</link> #define <link linkend="GNOME-STOCK-PIXMAP-TOP-CAPS">GNOME_STOCK_PIXMAP_TOP</link> #define <link linkend="GNOME-STOCK-PIXMAP-BOTTOM-CAPS">GNOME_STOCK_PIXMAP_BOTTOM</link> #define <link linkend="GNOME-STOCK-PIXMAP-ATTACH-CAPS">GNOME_STOCK_PIXMAP_ATTACH</link> #define <link linkend="GNOME-STOCK-PIXMAP-INDEX-CAPS">GNOME_STOCK_PIXMAP_INDEX</link> #define <link linkend="GNOME-STOCK-PIXMAP-FONT-CAPS">GNOME_STOCK_PIXMAP_FONT</link> #define <link linkend="GNOME-STOCK-PIXMAP-EXEC-CAPS">GNOME_STOCK_PIXMAP_EXEC</link> #define <link linkend="GNOME-STOCK-PIXMAP-ALIGN-LEFT-CAPS">GNOME_STOCK_PIXMAP_ALIGN_LEFT</link> #define <link linkend="GNOME-STOCK-PIXMAP-ALIGN-RIGHT-CAPS">GNOME_STOCK_PIXMAP_ALIGN_RIGHT</link> #define <link linkend="GNOME-STOCK-PIXMAP-ALIGN-CENTER-CAPS">GNOME_STOCK_PIXMAP_ALIGN_CENTER</link> #define <link linkend="GNOME-STOCK-PIXMAP-ALIGN-JUSTIFY-CAPS">GNOME_STOCK_PIXMAP_ALIGN_JUSTIFY</link> #define <link linkend="GNOME-STOCK-PIXMAP-TEXT-BOLD-CAPS">GNOME_STOCK_PIXMAP_TEXT_BOLD</link> #define <link linkend="GNOME-STOCK-PIXMAP-TEXT-ITALIC-CAPS">GNOME_STOCK_PIXMAP_TEXT_ITALIC</link> #define <link linkend="GNOME-STOCK-PIXMAP-TEXT-UNDERLINE-CAPS">GNOME_STOCK_PIXMAP_TEXT_UNDERLINE</link> #define <link linkend="GNOME-STOCK-PIXMAP-TEXT-STRIKEOUT-CAPS">GNOME_STOCK_PIXMAP_TEXT_STRIKEOUT</link> #define <link linkend="GNOME-STOCK-PIXMAP-TEXT-INDENT-CAPS">GNOME_STOCK_PIXMAP_TEXT_INDENT</link> #define <link linkend="GNOME-STOCK-PIXMAP-TEXT-UNINDENT-CAPS">GNOME_STOCK_PIXMAP_TEXT_UNINDENT</link> #define <link linkend="GNOME-STOCK-PIXMAP-EXIT-CAPS">GNOME_STOCK_PIXMAP_EXIT</link> #define <link linkend="GNOME-STOCK-PIXMAP-COLORSELECTOR-CAPS">GNOME_STOCK_PIXMAP_COLORSELECTOR</link> #define <link linkend="GNOME-STOCK-PIXMAP-ADD-CAPS">GNOME_STOCK_PIXMAP_ADD</link> #define <link linkend="GNOME-STOCK-PIXMAP-REMOVE-CAPS">GNOME_STOCK_PIXMAP_REMOVE</link> #define <link linkend="GNOME-STOCK-PIXMAP-TABLE-BORDERS-CAPS">GNOME_STOCK_PIXMAP_TABLE_BORDERS</link> #define <link linkend="GNOME-STOCK-PIXMAP-TABLE-FILL-CAPS">GNOME_STOCK_PIXMAP_TABLE_FILL</link> #define <link linkend="GNOME-STOCK-PIXMAP-TEXT-BULLETED-LIST-CAPS">GNOME_STOCK_PIXMAP_TEXT_BULLETED_LIST</link> #define <link linkend="GNOME-STOCK-PIXMAP-TEXT-NUMBERED-LIST-CAPS">GNOME_STOCK_PIXMAP_TEXT_NUMBERED_LIST</link> #define <link linkend="GNOME-STOCK-PIXMAP-REGULAR-CAPS">GNOME_STOCK_PIXMAP_REGULAR</link> #define <link linkend="GNOME-STOCK-PIXMAP-DISABLED-CAPS">GNOME_STOCK_PIXMAP_DISABLED</link> #define <link linkend="GNOME-STOCK-PIXMAP-FOCUSED-CAPS">GNOME_STOCK_PIXMAP_FOCUSED</link> struct <link linkend="GnomeStockPixmapEntryAny">GnomeStockPixmapEntryAny</link>; struct <link linkend="GnomeStockPixmapEntryData">GnomeStockPixmapEntryData</link>; struct <link linkend="GnomeStockPixmapEntryFile">GnomeStockPixmapEntryFile</link>; struct <link linkend="GnomeStockPixmapEntryPath">GnomeStockPixmapEntryPath</link>; struct <link linkend="GnomeStockPixmapEntryWidget">GnomeStockPixmapEntryWidget</link>; struct <link linkend="GnomeStockPixmapEntryGPixmap">GnomeStockPixmapEntryGPixmap</link>; enum <link linkend="GnomeStockPixmapType">GnomeStockPixmapType</link>; struct <link linkend="GnomeStockPixmapEntryImlib">GnomeStockPixmapEntryImlib</link>; struct <link linkend="GnomeStockPixmapEntryImlibScaled">GnomeStockPixmapEntryImlibScaled</link>; union <link linkend="GnomeStockPixmapEntry">GnomeStockPixmapEntry</link>; <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gnome-stock-new">gnome_stock_new</link> (void); <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gnome-stock-new-with-icon">gnome_stock_new_with_icon</link> (const char *icon); <link linkend="gboolean">gboolean</link> <link linkend="gnome-stock-set-icon">gnome_stock_set_icon</link> (<link linkend="GnomeStock">GnomeStock</link> *stock, const char *icon); <link linkend="GnomePixmap">GnomePixmap</link>* <link linkend="gnome-stock-pixmap">gnome_stock_pixmap</link> (<link linkend="GtkWidget">GtkWidget</link> *window, const char *icon, const char *subtype); <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gnome-stock-pixmap-widget">gnome_stock_pixmap_widget</link> (<link linkend="GtkWidget">GtkWidget</link> *window, const char *icon); <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gnome-stock-pixmap-widget-at-size">gnome_stock_pixmap_widget_at_size</link> (<link linkend="GtkWidget">GtkWidget</link> *window, const char *icon, <link linkend="guint">guint</link> width, <link linkend="guint">guint</link> height); void <link linkend="gnome-stock-pixmap-widget-set-icon">gnome_stock_pixmap_widget_set_icon</link> (<link linkend="GnomeStock">GnomeStock</link> *widget, const char *icon); <link linkend="gint">gint</link> <link linkend="gnome-stock-pixmap-register">gnome_stock_pixmap_register</link> (const char *icon, const char *subtype, <link linkend="GnomeStockPixmapEntry">GnomeStockPixmapEntry</link> *entry); <link linkend="gint">gint</link> <link linkend="gnome-stock-pixmap-change">gnome_stock_pixmap_change</link> (const char *icon, const char *subtype, <link linkend="GnomeStockPixmapEntry">GnomeStockPixmapEntry</link> *entry); <link linkend="GnomeStockPixmapEntry">GnomeStockPixmapEntry</link>* <link linkend="gnome-stock-pixmap-checkfor">gnome_stock_pixmap_checkfor</link> (const char *icon, const char *subtype); <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gnome-pixmap-button">gnome_pixmap_button</link> (<link linkend="GtkWidget">GtkWidget</link> *pixmap, const char *text); void <link linkend="gnome-button-can-default">gnome_button_can_default</link> (<link linkend="GtkButton">GtkButton</link> *button, <link linkend="gboolean">gboolean</link> can_default); #define <link linkend="GNOME-STOCK-BUTTON-OK-CAPS">GNOME_STOCK_BUTTON_OK</link> #define <link linkend="GNOME-STOCK-BUTTON-CANCEL-CAPS">GNOME_STOCK_BUTTON_CANCEL</link> #define <link linkend="GNOME-STOCK-BUTTON-YES-CAPS">GNOME_STOCK_BUTTON_YES</link> #define <link linkend="GNOME-STOCK-BUTTON-NO-CAPS">GNOME_STOCK_BUTTON_NO</link> #define <link linkend="GNOME-STOCK-BUTTON-CLOSE-CAPS">GNOME_STOCK_BUTTON_CLOSE</link> #define <link linkend="GNOME-STOCK-BUTTON-APPLY-CAPS">GNOME_STOCK_BUTTON_APPLY</link> #define <link linkend="GNOME-STOCK-BUTTON-HELP-CAPS">GNOME_STOCK_BUTTON_HELP</link> #define <link linkend="GNOME-STOCK-BUTTON-NEXT-CAPS">GNOME_STOCK_BUTTON_NEXT</link> #define <link linkend="GNOME-STOCK-BUTTON-PREV-CAPS">GNOME_STOCK_BUTTON_PREV</link> #define <link linkend="GNOME-STOCK-BUTTON-UP-CAPS">GNOME_STOCK_BUTTON_UP</link> #define <link linkend="GNOME-STOCK-BUTTON-DOWN-CAPS">GNOME_STOCK_BUTTON_DOWN</link> #define <link linkend="GNOME-STOCK-BUTTON-FONT-CAPS">GNOME_STOCK_BUTTON_FONT</link> <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gnome-stock-button">gnome_stock_button</link> (const char *type); <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gnome-stock-or-ordinary-button">gnome_stock_or_ordinary_button</link> (const char *type); #define <link linkend="GNOME-STOCK-MENU-BLANK-CAPS">GNOME_STOCK_MENU_BLANK</link> #define <link linkend="GNOME-STOCK-MENU-NEW-CAPS">GNOME_STOCK_MENU_NEW</link> #define <link linkend="GNOME-STOCK-MENU-SAVE-CAPS">GNOME_STOCK_MENU_SAVE</link> #define <link linkend="GNOME-STOCK-MENU-SAVE-AS-CAPS">GNOME_STOCK_MENU_SAVE_AS</link> #define <link linkend="GNOME-STOCK-MENU-REVERT-CAPS">GNOME_STOCK_MENU_REVERT</link> #define <link linkend="GNOME-STOCK-MENU-OPEN-CAPS">GNOME_STOCK_MENU_OPEN</link> #define <link linkend="GNOME-STOCK-MENU-CLOSE-CAPS">GNOME_STOCK_MENU_CLOSE</link> #define <link linkend="GNOME-STOCK-MENU-QUIT-CAPS">GNOME_STOCK_MENU_QUIT</link> #define <link linkend="GNOME-STOCK-MENU-CUT-CAPS">GNOME_STOCK_MENU_CUT</link> #define <link linkend="GNOME-STOCK-MENU-COPY-CAPS">GNOME_STOCK_MENU_COPY</link> #define <link linkend="GNOME-STOCK-MENU-PASTE-CAPS">GNOME_STOCK_MENU_PASTE</link> #define <link linkend="GNOME-STOCK-MENU-PROP-CAPS">GNOME_STOCK_MENU_PROP</link> #define <link linkend="GNOME-STOCK-MENU-PREF-CAPS">GNOME_STOCK_MENU_PREF</link> #define <link linkend="GNOME-STOCK-MENU-ABOUT-CAPS">GNOME_STOCK_MENU_ABOUT</link> #define <link linkend="GNOME-STOCK-MENU-SCORES-CAPS">GNOME_STOCK_MENU_SCORES</link> #define <link linkend="GNOME-STOCK-MENU-UNDO-CAPS">GNOME_STOCK_MENU_UNDO</link> #define <link linkend="GNOME-STOCK-MENU-REDO-CAPS">GNOME_STOCK_MENU_REDO</link> #define <link linkend="GNOME-STOCK-MENU-PRINT-CAPS">GNOME_STOCK_MENU_PRINT</link> #define <link linkend="GNOME-STOCK-MENU-SEARCH-CAPS">GNOME_STOCK_MENU_SEARCH</link> #define <link linkend="GNOME-STOCK-MENU-SRCHRPL-CAPS">GNOME_STOCK_MENU_SRCHRPL</link> #define <link linkend="GNOME-STOCK-MENU-BACK-CAPS">GNOME_STOCK_MENU_BACK</link> #define <link linkend="GNOME-STOCK-MENU-FORWARD-CAPS">GNOME_STOCK_MENU_FORWARD</link> #define <link linkend="GNOME-STOCK-MENU-FIRST-CAPS">GNOME_STOCK_MENU_FIRST</link> #define <link linkend="GNOME-STOCK-MENU-LAST-CAPS">GNOME_STOCK_MENU_LAST</link> #define <link linkend="GNOME-STOCK-MENU-HOME-CAPS">GNOME_STOCK_MENU_HOME</link> #define <link linkend="GNOME-STOCK-MENU-STOP-CAPS">GNOME_STOCK_MENU_STOP</link> #define <link linkend="GNOME-STOCK-MENU-REFRESH-CAPS">GNOME_STOCK_MENU_REFRESH</link> #define <link linkend="GNOME-STOCK-MENU-MAIL-CAPS">GNOME_STOCK_MENU_MAIL</link> #define <link linkend="GNOME-STOCK-MENU-MAIL-RCV-CAPS">GNOME_STOCK_MENU_MAIL_RCV</link> #define <link linkend="GNOME-STOCK-MENU-MAIL-SND-CAPS">GNOME_STOCK_MENU_MAIL_SND</link> #define <link linkend="GNOME-STOCK-MENU-MAIL-RPL-CAPS">GNOME_STOCK_MENU_MAIL_RPL</link> #define <link linkend="GNOME-STOCK-MENU-MAIL-FWD-CAPS">GNOME_STOCK_MENU_MAIL_FWD</link> #define <link linkend="GNOME-STOCK-MENU-MAIL-NEW-CAPS">GNOME_STOCK_MENU_MAIL_NEW</link> #define <link linkend="GNOME-STOCK-MENU-TRASH-CAPS">GNOME_STOCK_MENU_TRASH</link> #define <link linkend="GNOME-STOCK-MENU-TRASH-FULL-CAPS">GNOME_STOCK_MENU_TRASH_FULL</link> #define <link linkend="GNOME-STOCK-MENU-UNDELETE-CAPS">GNOME_STOCK_MENU_UNDELETE</link> #define <link linkend="GNOME-STOCK-MENU-TIMER-CAPS">GNOME_STOCK_MENU_TIMER</link> #define <link linkend="GNOME-STOCK-MENU-TIMER-STOP-CAPS">GNOME_STOCK_MENU_TIMER_STOP</link> #define <link linkend="GNOME-STOCK-MENU-SPELLCHECK-CAPS">GNOME_STOCK_MENU_SPELLCHECK</link> #define <link linkend="GNOME-STOCK-MENU-MIC-CAPS">GNOME_STOCK_MENU_MIC</link> #define <link linkend="GNOME-STOCK-MENU-LINE-IN-CAPS">GNOME_STOCK_MENU_LINE_IN</link> #define <link linkend="GNOME-STOCK-MENU-CDROM-CAPS">GNOME_STOCK_MENU_CDROM</link> #define <link linkend="GNOME-STOCK-MENU-VOLUME-CAPS">GNOME_STOCK_MENU_VOLUME</link> #define <link linkend="GNOME-STOCK-MENU-BOOK-RED-CAPS">GNOME_STOCK_MENU_BOOK_RED</link> #define <link linkend="GNOME-STOCK-MENU-BOOK-GREEN-CAPS">GNOME_STOCK_MENU_BOOK_GREEN</link> #define <link linkend="GNOME-STOCK-MENU-BOOK-BLUE-CAPS">GNOME_STOCK_MENU_BOOK_BLUE</link> #define <link linkend="GNOME-STOCK-MENU-BOOK-YELLOW-CAPS">GNOME_STOCK_MENU_BOOK_YELLOW</link> #define <link linkend="GNOME-STOCK-MENU-BOOK-OPEN-CAPS">GNOME_STOCK_MENU_BOOK_OPEN</link> #define <link linkend="GNOME-STOCK-MENU-CONVERT-CAPS">GNOME_STOCK_MENU_CONVERT</link> #define <link linkend="GNOME-STOCK-MENU-JUMP-TO-CAPS">GNOME_STOCK_MENU_JUMP_TO</link> #define <link linkend="GNOME-STOCK-MENU-UP-CAPS">GNOME_STOCK_MENU_UP</link> #define <link linkend="GNOME-STOCK-MENU-DOWN-CAPS">GNOME_STOCK_MENU_DOWN</link> #define <link linkend="GNOME-STOCK-MENU-TOP-CAPS">GNOME_STOCK_MENU_TOP</link> #define <link linkend="GNOME-STOCK-MENU-BOTTOM-CAPS">GNOME_STOCK_MENU_BOTTOM</link> #define <link linkend="GNOME-STOCK-MENU-ATTACH-CAPS">GNOME_STOCK_MENU_ATTACH</link> #define <link linkend="GNOME-STOCK-MENU-INDEX-CAPS">GNOME_STOCK_MENU_INDEX</link> #define <link linkend="GNOME-STOCK-MENU-FONT-CAPS">GNOME_STOCK_MENU_FONT</link> #define <link linkend="GNOME-STOCK-MENU-EXEC-CAPS">GNOME_STOCK_MENU_EXEC</link> #define <link linkend="GNOME-STOCK-MENU-ALIGN-LEFT-CAPS">GNOME_STOCK_MENU_ALIGN_LEFT</link> #define <link linkend="GNOME-STOCK-MENU-ALIGN-RIGHT-CAPS">GNOME_STOCK_MENU_ALIGN_RIGHT</link> #define <link linkend="GNOME-STOCK-MENU-ALIGN-CENTER-CAPS">GNOME_STOCK_MENU_ALIGN_CENTER</link> #define <link linkend="GNOME-STOCK-MENU-ALIGN-JUSTIFY-CAPS">GNOME_STOCK_MENU_ALIGN_JUSTIFY</link> #define <link linkend="GNOME-STOCK-MENU-TEXT-BOLD-CAPS">GNOME_STOCK_MENU_TEXT_BOLD</link> #define <link linkend="GNOME-STOCK-MENU-TEXT-ITALIC-CAPS">GNOME_STOCK_MENU_TEXT_ITALIC</link> #define <link linkend="GNOME-STOCK-MENU-TEXT-UNDERLINE-CAPS">GNOME_STOCK_MENU_TEXT_UNDERLINE</link> #define <link linkend="GNOME-STOCK-MENU-TEXT-STRIKEOUT-CAPS">GNOME_STOCK_MENU_TEXT_STRIKEOUT</link> #define <link linkend="GNOME-STOCK-MENU-EXIT-CAPS">GNOME_STOCK_MENU_EXIT</link> <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gnome-stock-menu-item">gnome_stock_menu_item</link> (const char *type, const char *text); <link linkend="gboolean">gboolean</link> <link linkend="gnome-stock-menu-accel">gnome_stock_menu_accel</link> (const char *type, <link linkend="guchar">guchar</link> *key, <link linkend="guint8">guint8</link> *mod); void <link linkend="gnome-stock-menu-accel-parse">gnome_stock_menu_accel_parse</link> (const char *section); <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gnome-stock-transparent-window">gnome_stock_transparent_window</link> (const char *icon, const char *subtype); void <link linkend="gnome-stock-pixmap-gdk">gnome_stock_pixmap_gdk</link> (const char *icon, const char *subtype, <link linkend="GdkPixmap">GdkPixmap</link> **pixmap, <link linkend="GdkPixmap">GdkPixmap</link> **mask); </synopsis> </refsynopsisdiv> <refsect1> <title>Object Hierarchy</title> <synopsis> <link linkend="GtkObject">GtkObject</link> +----<link linkend="GtkWidget">GtkWidget</link> +----<link linkend="GnomePixmap">GnomePixmap</link> +----GnomeStock </synopsis> </refsect1> <refsect1> <title>Description</title> <para> These functions provide an applications programmer with default icons for toolbars, menu pixmaps and buttons. </para> <para> To support themability, we use (char *) to call those functions. A new theme might register new icons by calling <link linkend="gnome-stock-pixmap-register">gnome_stock_pixmap_register</link>(), or may change existing icons by calling <link linkend="gnome-stock-pixmap-change">gnome_stock_pixmap_change</link>(). An application should check (by calling gnome_stock_pixmap_checkfor)(), if the current theme supports an uncommon icon, before using it. The only icons an app can rely on, are those defined in this header file. </para> <para> We have stock buttons too. To use them, use the <link linkend="gnome-stock-button">gnome_stock_button</link>() function with a GNOME_STOCK constant. This function returns a <link linkend="GtkButton">GtkButton</link> with a gettexted default text and an icon. </para> <para> There is an additional feature, which might be interesting. If an application calls <link linkend="gnome-stock-pixmap-register">gnome_stock_pixmap_register</link>() and uses it by calling <link linkend="gnome-stock-pixmap-widget">gnome_stock_pixmap_widget</link>(), it doesn't have to care about the state_changed signal to display the appropriate pixmap itself. Additionally gnome-stock generates a disabled version of a pixmap automatically, when no pixmap for a disabled state is provided. </para> <refsect2> <title>GNOME_STOCK icons internals</title> <para> One such `icon' should have at least three pixmaps to reflect its state. There is a `regular' pixmap, a `disabled' pixmap and a `focused' pixmap. You can get either each of these pixmaps by calling gnome_stock_pixmap or you can get a widget by calling gnome_stock_pixmap_widget. This widget is a container which gtk_widget_shows the pixmap, that is reflecting the current state of the widget. If for example you gtk_container_add this widget to a button, which is currently not sensitive, the widget will just show the `disabled' pixmap. If the state of the button changes to sensitive, the widget will change to the `regular' pixmap. The `focused' pixmap will be shown, when the mouse pointer enters the widget. </para> </refsect2> </refsect1> <refsect1> <title>Details</title> <refsect2> <title><anchor id="GnomeStock-struct">struct GnomeStock</title> <programlisting>struct GnomeStock;</programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-NEW-CAPS">GNOME_STOCK_PIXMAP_NEW</title> <programlisting>#define GNOME_STOCK_PIXMAP_NEW "New" </programlisting> <para> Image for representing "New". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-OPEN-CAPS">GNOME_STOCK_PIXMAP_OPEN</title> <programlisting>#define GNOME_STOCK_PIXMAP_OPEN "Open" </programlisting> <para> Image for representing "Open". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-CLOSE-CAPS">GNOME_STOCK_PIXMAP_CLOSE</title> <programlisting>#define GNOME_STOCK_PIXMAP_CLOSE "Close" </programlisting> <para> Image for representing "Close". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-REVERT-CAPS">GNOME_STOCK_PIXMAP_REVERT</title> <programlisting>#define GNOME_STOCK_PIXMAP_REVERT "Revert" </programlisting> <para> Image for representing "Revert". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-SAVE-CAPS">GNOME_STOCK_PIXMAP_SAVE</title> <programlisting>#define GNOME_STOCK_PIXMAP_SAVE "Save" </programlisting> <para> Image for representing "Save". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-SAVE-AS-CAPS">GNOME_STOCK_PIXMAP_SAVE_AS</title> <programlisting>#define GNOME_STOCK_PIXMAP_SAVE_AS "Save As" </programlisting> <para> Image for representing "Save as". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-CUT-CAPS">GNOME_STOCK_PIXMAP_CUT</title> <programlisting>#define GNOME_STOCK_PIXMAP_CUT "Cut" </programlisting> <para> Image for representing "Cut". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-COPY-CAPS">GNOME_STOCK_PIXMAP_COPY</title> <programlisting>#define GNOME_STOCK_PIXMAP_COPY "Copy" </programlisting> <para> Image for representing "Copy". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-PASTE-CAPS">GNOME_STOCK_PIXMAP_PASTE</title> <programlisting>#define GNOME_STOCK_PIXMAP_PASTE "Paste" </programlisting> <para> Image for representing "Paste". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-CLEAR-CAPS">GNOME_STOCK_PIXMAP_CLEAR</title> <programlisting>#define GNOME_STOCK_PIXMAP_CLEAR "Clear" </programlisting> <para> Image for representing "Clear". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-PROPERTIES-CAPS">GNOME_STOCK_PIXMAP_PROPERTIES</title> <programlisting>#define GNOME_STOCK_PIXMAP_PROPERTIES "Properties" </programlisting> <para> Image for representing "Properties". Please note the difference between "Properties" and "Preferences". "Properties" should be used when editing the properties of a specific object, such as a file or a database. "Preferences" should be used when editing user preferences application-wide, such as display colors or default servers. </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-PREFERENCES-CAPS">GNOME_STOCK_PIXMAP_PREFERENCES</title> <programlisting>#define GNOME_STOCK_PIXMAP_PREFERENCES "Preferences" </programlisting> <para> Image for representing "Preferences". Please see note for "Properties" above. </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-HELP-CAPS">GNOME_STOCK_PIXMAP_HELP</title> <programlisting>#define GNOME_STOCK_PIXMAP_HELP "Help" </programlisting> <para> Image for representing "Help". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-SCORES-CAPS">GNOME_STOCK_PIXMAP_SCORES</title> <programlisting>#define GNOME_STOCK_PIXMAP_SCORES "Scores" </programlisting> <para> Image for representing "Scores". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-PRINT-CAPS">GNOME_STOCK_PIXMAP_PRINT</title> <programlisting>#define GNOME_STOCK_PIXMAP_PRINT "Print" </programlisting> <para> Image for representing "Print". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-SEARCH-CAPS">GNOME_STOCK_PIXMAP_SEARCH</title> <programlisting>#define GNOME_STOCK_PIXMAP_SEARCH "Search" </programlisting> <para> Image for representing "Search". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-SRCHRPL-CAPS">GNOME_STOCK_PIXMAP_SRCHRPL</title> <programlisting>#define GNOME_STOCK_PIXMAP_SRCHRPL "Search/Replace" </programlisting> <para> Image for representing "Search and replace". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-BACK-CAPS">GNOME_STOCK_PIXMAP_BACK</title> <programlisting>#define GNOME_STOCK_PIXMAP_BACK "Back" </programlisting> <para> Image for representing "Back". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-FORWARD-CAPS">GNOME_STOCK_PIXMAP_FORWARD</title> <programlisting>#define GNOME_STOCK_PIXMAP_FORWARD "Forward" </programlisting> <para> Image for representing "Forward". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-FIRST-CAPS">GNOME_STOCK_PIXMAP_FIRST</title> <programlisting>#define GNOME_STOCK_PIXMAP_FIRST "First" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-LAST-CAPS">GNOME_STOCK_PIXMAP_LAST</title> <programlisting>#define GNOME_STOCK_PIXMAP_LAST "Last" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-HOME-CAPS">GNOME_STOCK_PIXMAP_HOME</title> <programlisting>#define GNOME_STOCK_PIXMAP_HOME "Home" </programlisting> <para> Image for representing "Home". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-STOP-CAPS">GNOME_STOCK_PIXMAP_STOP</title> <programlisting>#define GNOME_STOCK_PIXMAP_STOP "Stop" </programlisting> <para> Image for representing "Stop". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-REFRESH-CAPS">GNOME_STOCK_PIXMAP_REFRESH</title> <programlisting>#define GNOME_STOCK_PIXMAP_REFRESH "Refresh" </programlisting> <para> Image for representing "Refresh". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-UNDO-CAPS">GNOME_STOCK_PIXMAP_UNDO</title> <programlisting>#define GNOME_STOCK_PIXMAP_UNDO "Undo" </programlisting> <para> Image for representing "Undo". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-REDO-CAPS">GNOME_STOCK_PIXMAP_REDO</title> <programlisting>#define GNOME_STOCK_PIXMAP_REDO "Redo" </programlisting> <para> Image for representing "Redo". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TIMER-CAPS">GNOME_STOCK_PIXMAP_TIMER</title> <programlisting>#define GNOME_STOCK_PIXMAP_TIMER "Timer" </programlisting> <para> Image for representing "Timer". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TIMER-STOP-CAPS">GNOME_STOCK_PIXMAP_TIMER_STOP</title> <programlisting>#define GNOME_STOCK_PIXMAP_TIMER_STOP "Timer Stopped" </programlisting> <para> Image for representing "Timer stop". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-MAIL-CAPS">GNOME_STOCK_PIXMAP_MAIL</title> <programlisting>#define GNOME_STOCK_PIXMAP_MAIL "Mail" </programlisting> <para> Image for representing "Mail". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-MAIL-RCV-CAPS">GNOME_STOCK_PIXMAP_MAIL_RCV</title> <programlisting>#define GNOME_STOCK_PIXMAP_MAIL_RCV "Receive Mail" </programlisting> <para> Image for representing "Mail get". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-MAIL-SND-CAPS">GNOME_STOCK_PIXMAP_MAIL_SND</title> <programlisting>#define GNOME_STOCK_PIXMAP_MAIL_SND "Send Mail" </programlisting> <para> Image for representing "Mail send". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-MAIL-RPL-CAPS">GNOME_STOCK_PIXMAP_MAIL_RPL</title> <programlisting>#define GNOME_STOCK_PIXMAP_MAIL_RPL "Reply to Mail" </programlisting> <para> Image for representing "Mail reply". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-MAIL-FWD-CAPS">GNOME_STOCK_PIXMAP_MAIL_FWD</title> <programlisting>#define GNOME_STOCK_PIXMAP_MAIL_FWD "Forward Mail" </programlisting> <para> Image for representing "Timer". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-MAIL-NEW-CAPS">GNOME_STOCK_PIXMAP_MAIL_NEW</title> <programlisting>#define GNOME_STOCK_PIXMAP_MAIL_NEW "New Mail" </programlisting> <para> Image for representing "Mail new". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TRASH-CAPS">GNOME_STOCK_PIXMAP_TRASH</title> <programlisting>#define GNOME_STOCK_PIXMAP_TRASH "Trash" </programlisting> <para> Image for representing "Trashcan". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TRASH-FULL-CAPS">GNOME_STOCK_PIXMAP_TRASH_FULL</title> <programlisting>#define GNOME_STOCK_PIXMAP_TRASH_FULL "Trash Full" </programlisting> <para> Image for representing "Trashcan is full". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-UNDELETE-CAPS">GNOME_STOCK_PIXMAP_UNDELETE</title> <programlisting>#define GNOME_STOCK_PIXMAP_UNDELETE "Undelete" </programlisting> <para> Image for representing "Undelete". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-SPELLCHECK-CAPS">GNOME_STOCK_PIXMAP_SPELLCHECK</title> <programlisting>#define GNOME_STOCK_PIXMAP_SPELLCHECK "Spellchecker" </programlisting> <para> Image for representing "Spellcheck". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-MIC-CAPS">GNOME_STOCK_PIXMAP_MIC</title> <programlisting>#define GNOME_STOCK_PIXMAP_MIC "Microphone" </programlisting> <para> Image for representing "Microphone". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-LINE-IN-CAPS">GNOME_STOCK_PIXMAP_LINE_IN</title> <programlisting>#define GNOME_STOCK_PIXMAP_LINE_IN "Line In" </programlisting> <para> Image for representing "Line in". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-CDROM-CAPS">GNOME_STOCK_PIXMAP_CDROM</title> <programlisting>#define GNOME_STOCK_PIXMAP_CDROM "Cdrom" </programlisting> <para> Image for representing "CD-ROM". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-VOLUME-CAPS">GNOME_STOCK_PIXMAP_VOLUME</title> <programlisting>#define GNOME_STOCK_PIXMAP_VOLUME "Volume" </programlisting> <para> Image for representing "Volume". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-BOOK-RED-CAPS">GNOME_STOCK_PIXMAP_BOOK_RED</title> <programlisting>#define GNOME_STOCK_PIXMAP_BOOK_RED "Book Red" </programlisting> <para> Image for representing "A red book". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-BOOK-GREEN-CAPS">GNOME_STOCK_PIXMAP_BOOK_GREEN</title> <programlisting>#define GNOME_STOCK_PIXMAP_BOOK_GREEN "Book Green" </programlisting> <para> Image for representing "A green book". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-BOOK-BLUE-CAPS">GNOME_STOCK_PIXMAP_BOOK_BLUE</title> <programlisting>#define GNOME_STOCK_PIXMAP_BOOK_BLUE "Book Blue" </programlisting> <para> Image for representing "A blue book". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-BOOK-YELLOW-CAPS">GNOME_STOCK_PIXMAP_BOOK_YELLOW</title> <programlisting>#define GNOME_STOCK_PIXMAP_BOOK_YELLOW "Book Yellow" </programlisting> <para> Image for representing "A yellow book". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-BOOK-OPEN-CAPS">GNOME_STOCK_PIXMAP_BOOK_OPEN</title> <programlisting>#define GNOME_STOCK_PIXMAP_BOOK_OPEN "Book Open" </programlisting> <para> Image for representing "An open book". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-ABOUT-CAPS">GNOME_STOCK_PIXMAP_ABOUT</title> <programlisting>#define GNOME_STOCK_PIXMAP_ABOUT "About" </programlisting> <para> Image for representing "About". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-QUIT-CAPS">GNOME_STOCK_PIXMAP_QUIT</title> <programlisting>#define GNOME_STOCK_PIXMAP_QUIT "Quit" </programlisting> <para> Image for representing "Quit". </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-MULTIPLE-CAPS">GNOME_STOCK_PIXMAP_MULTIPLE</title> <programlisting>#define GNOME_STOCK_PIXMAP_MULTIPLE "Multiple" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-NOT-CAPS">GNOME_STOCK_PIXMAP_NOT</title> <programlisting>#define GNOME_STOCK_PIXMAP_NOT "Not" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-CONVERT-CAPS">GNOME_STOCK_PIXMAP_CONVERT</title> <programlisting>#define GNOME_STOCK_PIXMAP_CONVERT "Convert" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-JUMP-TO-CAPS">GNOME_STOCK_PIXMAP_JUMP_TO</title> <programlisting>#define GNOME_STOCK_PIXMAP_JUMP_TO "Jump To" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-UP-CAPS">GNOME_STOCK_PIXMAP_UP</title> <programlisting>#define GNOME_STOCK_PIXMAP_UP "Up" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-DOWN-CAPS">GNOME_STOCK_PIXMAP_DOWN</title> <programlisting>#define GNOME_STOCK_PIXMAP_DOWN "Down" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TOP-CAPS">GNOME_STOCK_PIXMAP_TOP</title> <programlisting>#define GNOME_STOCK_PIXMAP_TOP "Top" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-BOTTOM-CAPS">GNOME_STOCK_PIXMAP_BOTTOM</title> <programlisting>#define GNOME_STOCK_PIXMAP_BOTTOM "Bottom" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-ATTACH-CAPS">GNOME_STOCK_PIXMAP_ATTACH</title> <programlisting>#define GNOME_STOCK_PIXMAP_ATTACH "Attach" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-INDEX-CAPS">GNOME_STOCK_PIXMAP_INDEX</title> <programlisting>#define GNOME_STOCK_PIXMAP_INDEX "Index" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-FONT-CAPS">GNOME_STOCK_PIXMAP_FONT</title> <programlisting>#define GNOME_STOCK_PIXMAP_FONT "Font" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-EXEC-CAPS">GNOME_STOCK_PIXMAP_EXEC</title> <programlisting>#define GNOME_STOCK_PIXMAP_EXEC "Exec" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-ALIGN-LEFT-CAPS">GNOME_STOCK_PIXMAP_ALIGN_LEFT</title> <programlisting>#define GNOME_STOCK_PIXMAP_ALIGN_LEFT "Left" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-ALIGN-RIGHT-CAPS">GNOME_STOCK_PIXMAP_ALIGN_RIGHT</title> <programlisting>#define GNOME_STOCK_PIXMAP_ALIGN_RIGHT "Right" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-ALIGN-CENTER-CAPS">GNOME_STOCK_PIXMAP_ALIGN_CENTER</title> <programlisting>#define GNOME_STOCK_PIXMAP_ALIGN_CENTER "Center" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-ALIGN-JUSTIFY-CAPS">GNOME_STOCK_PIXMAP_ALIGN_JUSTIFY</title> <programlisting>#define GNOME_STOCK_PIXMAP_ALIGN_JUSTIFY "Justify" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TEXT-BOLD-CAPS">GNOME_STOCK_PIXMAP_TEXT_BOLD</title> <programlisting>#define GNOME_STOCK_PIXMAP_TEXT_BOLD "Bold" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TEXT-ITALIC-CAPS">GNOME_STOCK_PIXMAP_TEXT_ITALIC</title> <programlisting>#define GNOME_STOCK_PIXMAP_TEXT_ITALIC "Italic" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TEXT-UNDERLINE-CAPS">GNOME_STOCK_PIXMAP_TEXT_UNDERLINE</title> <programlisting>#define GNOME_STOCK_PIXMAP_TEXT_UNDERLINE "Underline" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TEXT-STRIKEOUT-CAPS">GNOME_STOCK_PIXMAP_TEXT_STRIKEOUT</title> <programlisting>#define GNOME_STOCK_PIXMAP_TEXT_STRIKEOUT "Strikeout" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TEXT-INDENT-CAPS">GNOME_STOCK_PIXMAP_TEXT_INDENT</title> <programlisting>#define GNOME_STOCK_PIXMAP_TEXT_INDENT "Text Indent" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TEXT-UNINDENT-CAPS">GNOME_STOCK_PIXMAP_TEXT_UNINDENT</title> <programlisting>#define GNOME_STOCK_PIXMAP_TEXT_UNINDENT "Text Unindent" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-EXIT-CAPS">GNOME_STOCK_PIXMAP_EXIT</title> <programlisting>#define GNOME_STOCK_PIXMAP_EXIT GNOME_STOCK_PIXMAP_QUIT </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-COLORSELECTOR-CAPS">GNOME_STOCK_PIXMAP_COLORSELECTOR</title> <programlisting>#define GNOME_STOCK_PIXMAP_COLORSELECTOR "Color Select" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-ADD-CAPS">GNOME_STOCK_PIXMAP_ADD</title> <programlisting>#define GNOME_STOCK_PIXMAP_ADD "Add" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-REMOVE-CAPS">GNOME_STOCK_PIXMAP_REMOVE</title> <programlisting>#define GNOME_STOCK_PIXMAP_REMOVE "Remove" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TABLE-BORDERS-CAPS">GNOME_STOCK_PIXMAP_TABLE_BORDERS</title> <programlisting>#define GNOME_STOCK_PIXMAP_TABLE_BORDERS "Table Borders" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TABLE-FILL-CAPS">GNOME_STOCK_PIXMAP_TABLE_FILL</title> <programlisting>#define GNOME_STOCK_PIXMAP_TABLE_FILL "Table Fill" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TEXT-BULLETED-LIST-CAPS">GNOME_STOCK_PIXMAP_TEXT_BULLETED_LIST</title> <programlisting>#define GNOME_STOCK_PIXMAP_TEXT_BULLETED_LIST "Text Bulleted List" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-TEXT-NUMBERED-LIST-CAPS">GNOME_STOCK_PIXMAP_TEXT_NUMBERED_LIST</title> <programlisting>#define GNOME_STOCK_PIXMAP_TEXT_NUMBERED_LIST "Text Numbered List" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-REGULAR-CAPS">GNOME_STOCK_PIXMAP_REGULAR</title> <programlisting>#define GNOME_STOCK_PIXMAP_REGULAR "regular" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-DISABLED-CAPS">GNOME_STOCK_PIXMAP_DISABLED</title> <programlisting>#define GNOME_STOCK_PIXMAP_DISABLED "disabled" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-PIXMAP-FOCUSED-CAPS">GNOME_STOCK_PIXMAP_FOCUSED</title> <programlisting>#define GNOME_STOCK_PIXMAP_FOCUSED "focused" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GnomeStockPixmapEntryAny">struct GnomeStockPixmapEntryAny</title> <programlisting>struct GnomeStockPixmapEntryAny { GnomeStockPixmapType type; int width, height; char *label; }; </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GnomeStockPixmapEntryData">struct GnomeStockPixmapEntryData</title> <programlisting>struct GnomeStockPixmapEntryData { GnomeStockPixmapType type; int width, height; char *label; gchar **xpm_data; }; </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GnomeStockPixmapEntryFile">struct GnomeStockPixmapEntryFile</title> <programlisting>struct GnomeStockPixmapEntryFile { GnomeStockPixmapType type; int width, height; char *label; gchar *filename; }; </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GnomeStockPixmapEntryPath">struct GnomeStockPixmapEntryPath</title> <programlisting>struct GnomeStockPixmapEntryPath { GnomeStockPixmapType type; int width, height; char *label; gchar *pathname; }; </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GnomeStockPixmapEntryWidget">struct GnomeStockPixmapEntryWidget</title> <programlisting>struct GnomeStockPixmapEntryWidget { GnomeStockPixmapType type; int width, height; char *label; GtkWidget *widget; }; </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GnomeStockPixmapEntryGPixmap">struct GnomeStockPixmapEntryGPixmap</title> <programlisting>struct GnomeStockPixmapEntryGPixmap { GnomeStockPixmapType type; int width, height; char *label; GnomePixmap *pixmap; }; </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GnomeStockPixmapType">enum GnomeStockPixmapType</title> <programlisting>typedef enum { GNOME_STOCK_PIXMAP_TYPE_NONE, GNOME_STOCK_PIXMAP_TYPE_DATA, GNOME_STOCK_PIXMAP_TYPE_FILE, GNOME_STOCK_PIXMAP_TYPE_PATH, GNOME_STOCK_PIXMAP_TYPE_WIDGET, GNOME_STOCK_PIXMAP_TYPE_IMLIB, GNOME_STOCK_PIXMAP_TYPE_IMLIB_SCALED, GNOME_STOCK_PIXMAP_TYPE_GPIXMAP } GnomeStockPixmapType; </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GnomeStockPixmapEntryImlib">struct GnomeStockPixmapEntryImlib</title> <programlisting>struct GnomeStockPixmapEntryImlib { GnomeStockPixmapType type; int width, height; char *label; const gchar *rgb_data; GdkImlibColor shape; }; </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GnomeStockPixmapEntryImlibScaled">struct GnomeStockPixmapEntryImlibScaled</title> <programlisting>struct GnomeStockPixmapEntryImlibScaled { GnomeStockPixmapType type; int width, height; char *label; const gchar *rgb_data; GdkImlibColor shape; int scaled_width, scaled_height; }; </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GnomeStockPixmapEntry">union GnomeStockPixmapEntry</title> <programlisting>union GnomeStockPixmapEntry { GnomeStockPixmapType type; GnomeStockPixmapEntryAny any; GnomeStockPixmapEntryData data; GnomeStockPixmapEntryFile file; GnomeStockPixmapEntryPath path; GnomeStockPixmapEntryWidget widget; GnomeStockPixmapEntryImlib imlib; GnomeStockPixmapEntryImlibScaled imlib_s; GnomeStockPixmapEntryGPixmap gpixmap; }; </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="gnome-stock-new">gnome_stock_new ()</title> <programlisting><link linkend="GtkWidget">GtkWidget</link>* gnome_stock_new (void);</programlisting> <para> </para> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> a new empty GnomeStock widget </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-new-with-icon">gnome_stock_new_with_icon ()</title> <programlisting><link linkend="GtkWidget">GtkWidget</link>* gnome_stock_new_with_icon (const char *icon);</programlisting> <para> </para> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>icon</parameter> :</entry> <entry> icon code. </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> A GnomeStock widget created with the initial icon code set to <parameter>icon</parameter>. </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-set-icon">gnome_stock_set_icon ()</title> <programlisting><link linkend="gboolean">gboolean</link> gnome_stock_set_icon (<link linkend="GnomeStock">GnomeStock</link> *stock, const char *icon);</programlisting> <para> Sets the <parameter>stock</parameter> object icon to be the one whose code is <parameter>icon</parameter>.</para> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>stock</parameter> :</entry> <entry> The GnomeStock object on which to operate </entry></row> <row><entry align="right"><parameter>icon</parameter> :</entry> <entry> Icon code to set </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE if the icon was set successfully. </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-pixmap">gnome_stock_pixmap ()</title> <programlisting><link linkend="GnomePixmap">GnomePixmap</link>* gnome_stock_pixmap (<link linkend="GtkWidget">GtkWidget</link> *window, const char *icon, const char *subtype);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>window</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>icon</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>subtype</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-pixmap-widget">gnome_stock_pixmap_widget ()</title> <programlisting><link linkend="GtkWidget">GtkWidget</link>* gnome_stock_pixmap_widget (<link linkend="GtkWidget">GtkWidget</link> *window, const char *icon);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>window</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>icon</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-pixmap-widget-at-size">gnome_stock_pixmap_widget_at_size ()</title> <programlisting><link linkend="GtkWidget">GtkWidget</link>* gnome_stock_pixmap_widget_at_size (<link linkend="GtkWidget">GtkWidget</link> *window, const char *icon, <link linkend="guint">guint</link> width, <link linkend="guint">guint</link> height);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>window</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>icon</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>width</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>height</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-pixmap-widget-set-icon">gnome_stock_pixmap_widget_set_icon ()</title> <programlisting>void gnome_stock_pixmap_widget_set_icon (<link linkend="GnomeStock">GnomeStock</link> *widget, const char *icon);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>widget</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>icon</parameter> :</entry> <entry> </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-pixmap-register">gnome_stock_pixmap_register ()</title> <programlisting><link linkend="gint">gint</link> gnome_stock_pixmap_register (const char *icon, const char *subtype, <link linkend="GnomeStockPixmapEntry">GnomeStockPixmapEntry</link> *entry);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>icon</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>subtype</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>entry</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-pixmap-change">gnome_stock_pixmap_change ()</title> <programlisting><link linkend="gint">gint</link> gnome_stock_pixmap_change (const char *icon, const char *subtype, <link linkend="GnomeStockPixmapEntry">GnomeStockPixmapEntry</link> *entry);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>icon</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>subtype</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>entry</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-pixmap-checkfor">gnome_stock_pixmap_checkfor ()</title> <programlisting><link linkend="GnomeStockPixmapEntry">GnomeStockPixmapEntry</link>* gnome_stock_pixmap_checkfor (const char *icon, const char *subtype);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>icon</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>subtype</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-pixmap-button">gnome_pixmap_button ()</title> <programlisting><link linkend="GtkWidget">GtkWidget</link>* gnome_pixmap_button (<link linkend="GtkWidget">GtkWidget</link> *pixmap, const char *text);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>pixmap</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>text</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-button-can-default">gnome_button_can_default ()</title> <programlisting>void gnome_button_can_default (<link linkend="GtkButton">GtkButton</link> *button, <link linkend="gboolean">gboolean</link> can_default);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>button</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>can_default</parameter> :</entry> <entry> </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-BUTTON-OK-CAPS">GNOME_STOCK_BUTTON_OK</title> <programlisting>#define GNOME_STOCK_BUTTON_OK "Button_Ok" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-BUTTON-CANCEL-CAPS">GNOME_STOCK_BUTTON_CANCEL</title> <programlisting>#define GNOME_STOCK_BUTTON_CANCEL "Button_Cancel" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-BUTTON-YES-CAPS">GNOME_STOCK_BUTTON_YES</title> <programlisting>#define GNOME_STOCK_BUTTON_YES "Button_Yes" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-BUTTON-NO-CAPS">GNOME_STOCK_BUTTON_NO</title> <programlisting>#define GNOME_STOCK_BUTTON_NO "Button_No" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-BUTTON-CLOSE-CAPS">GNOME_STOCK_BUTTON_CLOSE</title> <programlisting>#define GNOME_STOCK_BUTTON_CLOSE "Button_Close" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-BUTTON-APPLY-CAPS">GNOME_STOCK_BUTTON_APPLY</title> <programlisting>#define GNOME_STOCK_BUTTON_APPLY "Button_Apply" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-BUTTON-HELP-CAPS">GNOME_STOCK_BUTTON_HELP</title> <programlisting>#define GNOME_STOCK_BUTTON_HELP "Button_Help" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-BUTTON-NEXT-CAPS">GNOME_STOCK_BUTTON_NEXT</title> <programlisting>#define GNOME_STOCK_BUTTON_NEXT "Button_Next" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-BUTTON-PREV-CAPS">GNOME_STOCK_BUTTON_PREV</title> <programlisting>#define GNOME_STOCK_BUTTON_PREV "Button_Prev" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-BUTTON-UP-CAPS">GNOME_STOCK_BUTTON_UP</title> <programlisting>#define GNOME_STOCK_BUTTON_UP "Button_Up" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-BUTTON-DOWN-CAPS">GNOME_STOCK_BUTTON_DOWN</title> <programlisting>#define GNOME_STOCK_BUTTON_DOWN "Button_Down" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-BUTTON-FONT-CAPS">GNOME_STOCK_BUTTON_FONT</title> <programlisting>#define GNOME_STOCK_BUTTON_FONT "Button_Font" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="gnome-stock-button">gnome_stock_button ()</title> <programlisting><link linkend="GtkWidget">GtkWidget</link>* gnome_stock_button (const char *type);</programlisting> <para> Constructs a new <link linkend="GtkButton">GtkButton</link> which contains a stock icon and text whose type is <parameter>type</parameter>.</para> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>type</parameter> :</entry> <entry> gnome stock type code. </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> A configured <link linkend="GtkButton">GtkButton</link> widget </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-or-ordinary-button">gnome_stock_or_ordinary_button ()</title> <programlisting><link linkend="GtkWidget">GtkWidget</link>* gnome_stock_or_ordinary_button (const char *type);</programlisting> <para> It <parameter>type</parameter> contains a valid GNOME stock code, it constructs a new <link linkend="GtkButton">GtkButton</link> which contains a stock icon and text for the matching type, or if the type does not exist, it creates a button with the label being the same as "type". </para> <para> The use of this routine is discouraged, given that on international setups it might break subtly.</para> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>type</parameter> :</entry> <entry> gnome stock type code. </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> A <link linkend="GtkButton">GtkButton</link>. </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-BLANK-CAPS">GNOME_STOCK_MENU_BLANK</title> <programlisting>#define GNOME_STOCK_MENU_BLANK "Menu_" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-NEW-CAPS">GNOME_STOCK_MENU_NEW</title> <programlisting>#define GNOME_STOCK_MENU_NEW "Menu_New" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-SAVE-CAPS">GNOME_STOCK_MENU_SAVE</title> <programlisting>#define GNOME_STOCK_MENU_SAVE "Menu_Save" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-SAVE-AS-CAPS">GNOME_STOCK_MENU_SAVE_AS</title> <programlisting>#define GNOME_STOCK_MENU_SAVE_AS "Menu_Save As" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-REVERT-CAPS">GNOME_STOCK_MENU_REVERT</title> <programlisting>#define GNOME_STOCK_MENU_REVERT "Menu_Revert" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-OPEN-CAPS">GNOME_STOCK_MENU_OPEN</title> <programlisting>#define GNOME_STOCK_MENU_OPEN "Menu_Open" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-CLOSE-CAPS">GNOME_STOCK_MENU_CLOSE</title> <programlisting>#define GNOME_STOCK_MENU_CLOSE "Menu_Close" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-QUIT-CAPS">GNOME_STOCK_MENU_QUIT</title> <programlisting>#define GNOME_STOCK_MENU_QUIT "Menu_Quit" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-CUT-CAPS">GNOME_STOCK_MENU_CUT</title> <programlisting>#define GNOME_STOCK_MENU_CUT "Menu_Cut" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-COPY-CAPS">GNOME_STOCK_MENU_COPY</title> <programlisting>#define GNOME_STOCK_MENU_COPY "Menu_Copy" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-PASTE-CAPS">GNOME_STOCK_MENU_PASTE</title> <programlisting>#define GNOME_STOCK_MENU_PASTE "Menu_Paste" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-PROP-CAPS">GNOME_STOCK_MENU_PROP</title> <programlisting>#define GNOME_STOCK_MENU_PROP "Menu_Properties" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-PREF-CAPS">GNOME_STOCK_MENU_PREF</title> <programlisting>#define GNOME_STOCK_MENU_PREF "Menu_Preferences" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-ABOUT-CAPS">GNOME_STOCK_MENU_ABOUT</title> <programlisting>#define GNOME_STOCK_MENU_ABOUT "Menu_About" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-SCORES-CAPS">GNOME_STOCK_MENU_SCORES</title> <programlisting>#define GNOME_STOCK_MENU_SCORES "Menu_Scores" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-UNDO-CAPS">GNOME_STOCK_MENU_UNDO</title> <programlisting>#define GNOME_STOCK_MENU_UNDO "Menu_Undo" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-REDO-CAPS">GNOME_STOCK_MENU_REDO</title> <programlisting>#define GNOME_STOCK_MENU_REDO "Menu_Redo" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-PRINT-CAPS">GNOME_STOCK_MENU_PRINT</title> <programlisting>#define GNOME_STOCK_MENU_PRINT "Menu_Print" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-SEARCH-CAPS">GNOME_STOCK_MENU_SEARCH</title> <programlisting>#define GNOME_STOCK_MENU_SEARCH "Menu_Search" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-SRCHRPL-CAPS">GNOME_STOCK_MENU_SRCHRPL</title> <programlisting>#define GNOME_STOCK_MENU_SRCHRPL "Menu_Search/Replace" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-BACK-CAPS">GNOME_STOCK_MENU_BACK</title> <programlisting>#define GNOME_STOCK_MENU_BACK "Menu_Back" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-FORWARD-CAPS">GNOME_STOCK_MENU_FORWARD</title> <programlisting>#define GNOME_STOCK_MENU_FORWARD "Menu_Forward" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-FIRST-CAPS">GNOME_STOCK_MENU_FIRST</title> <programlisting>#define GNOME_STOCK_MENU_FIRST "Menu_First" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-LAST-CAPS">GNOME_STOCK_MENU_LAST</title> <programlisting>#define GNOME_STOCK_MENU_LAST "Menu_Last" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-HOME-CAPS">GNOME_STOCK_MENU_HOME</title> <programlisting>#define GNOME_STOCK_MENU_HOME "Menu_Home" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-STOP-CAPS">GNOME_STOCK_MENU_STOP</title> <programlisting>#define GNOME_STOCK_MENU_STOP "Menu_Stop" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-REFRESH-CAPS">GNOME_STOCK_MENU_REFRESH</title> <programlisting>#define GNOME_STOCK_MENU_REFRESH "Menu_Refresh" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-MAIL-CAPS">GNOME_STOCK_MENU_MAIL</title> <programlisting>#define GNOME_STOCK_MENU_MAIL "Menu_Mail" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-MAIL-RCV-CAPS">GNOME_STOCK_MENU_MAIL_RCV</title> <programlisting>#define GNOME_STOCK_MENU_MAIL_RCV "Menu_Receive Mail" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-MAIL-SND-CAPS">GNOME_STOCK_MENU_MAIL_SND</title> <programlisting>#define GNOME_STOCK_MENU_MAIL_SND "Menu_Send Mail" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-MAIL-RPL-CAPS">GNOME_STOCK_MENU_MAIL_RPL</title> <programlisting>#define GNOME_STOCK_MENU_MAIL_RPL "Menu_Reply to Mail" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-MAIL-FWD-CAPS">GNOME_STOCK_MENU_MAIL_FWD</title> <programlisting>#define GNOME_STOCK_MENU_MAIL_FWD "Menu_Forward Mail" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-MAIL-NEW-CAPS">GNOME_STOCK_MENU_MAIL_NEW</title> <programlisting>#define GNOME_STOCK_MENU_MAIL_NEW "Menu_New Mail" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-TRASH-CAPS">GNOME_STOCK_MENU_TRASH</title> <programlisting>#define GNOME_STOCK_MENU_TRASH "Menu_Trash" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-TRASH-FULL-CAPS">GNOME_STOCK_MENU_TRASH_FULL</title> <programlisting>#define GNOME_STOCK_MENU_TRASH_FULL "Menu_Trash Full" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-UNDELETE-CAPS">GNOME_STOCK_MENU_UNDELETE</title> <programlisting>#define GNOME_STOCK_MENU_UNDELETE "Menu_Undelete" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-TIMER-CAPS">GNOME_STOCK_MENU_TIMER</title> <programlisting>#define GNOME_STOCK_MENU_TIMER "Menu_Timer" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-TIMER-STOP-CAPS">GNOME_STOCK_MENU_TIMER_STOP</title> <programlisting>#define GNOME_STOCK_MENU_TIMER_STOP "Menu_Timer Stopped" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-SPELLCHECK-CAPS">GNOME_STOCK_MENU_SPELLCHECK</title> <programlisting>#define GNOME_STOCK_MENU_SPELLCHECK "Menu_Spellchecker" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-MIC-CAPS">GNOME_STOCK_MENU_MIC</title> <programlisting>#define GNOME_STOCK_MENU_MIC "Menu_Microphone" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-LINE-IN-CAPS">GNOME_STOCK_MENU_LINE_IN</title> <programlisting>#define GNOME_STOCK_MENU_LINE_IN "Menu_Line In" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-CDROM-CAPS">GNOME_STOCK_MENU_CDROM</title> <programlisting>#define GNOME_STOCK_MENU_CDROM "Menu_Cdrom" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-VOLUME-CAPS">GNOME_STOCK_MENU_VOLUME</title> <programlisting>#define GNOME_STOCK_MENU_VOLUME "Menu_Volume" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-BOOK-RED-CAPS">GNOME_STOCK_MENU_BOOK_RED</title> <programlisting>#define GNOME_STOCK_MENU_BOOK_RED "Menu_Book Red" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-BOOK-GREEN-CAPS">GNOME_STOCK_MENU_BOOK_GREEN</title> <programlisting>#define GNOME_STOCK_MENU_BOOK_GREEN "Menu_Book Green" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-BOOK-BLUE-CAPS">GNOME_STOCK_MENU_BOOK_BLUE</title> <programlisting>#define GNOME_STOCK_MENU_BOOK_BLUE "Menu_Book Blue" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-BOOK-YELLOW-CAPS">GNOME_STOCK_MENU_BOOK_YELLOW</title> <programlisting>#define GNOME_STOCK_MENU_BOOK_YELLOW "Menu_Book Yellow" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-BOOK-OPEN-CAPS">GNOME_STOCK_MENU_BOOK_OPEN</title> <programlisting>#define GNOME_STOCK_MENU_BOOK_OPEN "Menu_Book Open" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-CONVERT-CAPS">GNOME_STOCK_MENU_CONVERT</title> <programlisting>#define GNOME_STOCK_MENU_CONVERT "Menu_Convert" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-JUMP-TO-CAPS">GNOME_STOCK_MENU_JUMP_TO</title> <programlisting>#define GNOME_STOCK_MENU_JUMP_TO "Menu_Jump To" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-UP-CAPS">GNOME_STOCK_MENU_UP</title> <programlisting>#define GNOME_STOCK_MENU_UP "Menu_Up" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-DOWN-CAPS">GNOME_STOCK_MENU_DOWN</title> <programlisting>#define GNOME_STOCK_MENU_DOWN "Menu_Down" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-TOP-CAPS">GNOME_STOCK_MENU_TOP</title> <programlisting>#define GNOME_STOCK_MENU_TOP "Menu_Top" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-BOTTOM-CAPS">GNOME_STOCK_MENU_BOTTOM</title> <programlisting>#define GNOME_STOCK_MENU_BOTTOM "Menu_Bottom" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-ATTACH-CAPS">GNOME_STOCK_MENU_ATTACH</title> <programlisting>#define GNOME_STOCK_MENU_ATTACH "Menu_Attach" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-INDEX-CAPS">GNOME_STOCK_MENU_INDEX</title> <programlisting>#define GNOME_STOCK_MENU_INDEX "Menu_Index" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-FONT-CAPS">GNOME_STOCK_MENU_FONT</title> <programlisting>#define GNOME_STOCK_MENU_FONT "Menu_Font" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-EXEC-CAPS">GNOME_STOCK_MENU_EXEC</title> <programlisting>#define GNOME_STOCK_MENU_EXEC "Menu_Exec" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-ALIGN-LEFT-CAPS">GNOME_STOCK_MENU_ALIGN_LEFT</title> <programlisting>#define GNOME_STOCK_MENU_ALIGN_LEFT "Menu_Left" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-ALIGN-RIGHT-CAPS">GNOME_STOCK_MENU_ALIGN_RIGHT</title> <programlisting>#define GNOME_STOCK_MENU_ALIGN_RIGHT "Menu_Right" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-ALIGN-CENTER-CAPS">GNOME_STOCK_MENU_ALIGN_CENTER</title> <programlisting>#define GNOME_STOCK_MENU_ALIGN_CENTER "Menu_Center" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-ALIGN-JUSTIFY-CAPS">GNOME_STOCK_MENU_ALIGN_JUSTIFY</title> <programlisting>#define GNOME_STOCK_MENU_ALIGN_JUSTIFY "Menu_Justify" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-TEXT-BOLD-CAPS">GNOME_STOCK_MENU_TEXT_BOLD</title> <programlisting>#define GNOME_STOCK_MENU_TEXT_BOLD "Menu_Bold" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-TEXT-ITALIC-CAPS">GNOME_STOCK_MENU_TEXT_ITALIC</title> <programlisting>#define GNOME_STOCK_MENU_TEXT_ITALIC "Menu_Italic" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-TEXT-UNDERLINE-CAPS">GNOME_STOCK_MENU_TEXT_UNDERLINE</title> <programlisting>#define GNOME_STOCK_MENU_TEXT_UNDERLINE "Menu_Underline" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-TEXT-STRIKEOUT-CAPS">GNOME_STOCK_MENU_TEXT_STRIKEOUT</title> <programlisting>#define GNOME_STOCK_MENU_TEXT_STRIKEOUT "Menu_Strikeout" </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="GNOME-STOCK-MENU-EXIT-CAPS">GNOME_STOCK_MENU_EXIT</title> <programlisting>#define GNOME_STOCK_MENU_EXIT GNOME_STOCK_MENU_QUIT </programlisting> <para> </para></refsect2> <refsect2> <title><anchor id="gnome-stock-menu-item">gnome_stock_menu_item ()</title> <programlisting><link linkend="GtkWidget">GtkWidget</link>* gnome_stock_menu_item (const char *type, const char *text);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>type</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>text</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-menu-accel">gnome_stock_menu_accel ()</title> <programlisting><link linkend="gboolean">gboolean</link> gnome_stock_menu_accel (const char *type, <link linkend="guchar">guchar</link> *key, <link linkend="guint8">guint8</link> *mod);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>type</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>key</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>mod</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-menu-accel-parse">gnome_stock_menu_accel_parse ()</title> <programlisting>void gnome_stock_menu_accel_parse (const char *section);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>section</parameter> :</entry> <entry> </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-transparent-window">gnome_stock_transparent_window ()</title> <programlisting><link linkend="GtkWidget">GtkWidget</link>* gnome_stock_transparent_window (const char *icon, const char *subtype);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>icon</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>subtype</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> </entry></row> </tbody></tgroup></informaltable></refsect2> <refsect2> <title><anchor id="gnome-stock-pixmap-gdk">gnome_stock_pixmap_gdk ()</title> <programlisting>void gnome_stock_pixmap_gdk (const char *icon, const char *subtype, <link linkend="GdkPixmap">GdkPixmap</link> **pixmap, <link linkend="GdkPixmap">GdkPixmap</link> **mask);</programlisting> <para> </para><informaltable pgwide="1" frame="none" role="params"> <tgroup cols="2"> <colspec colwidth="2*"> <colspec colwidth="8*"> <tbody> <row><entry align="right"><parameter>icon</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>subtype</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>pixmap</parameter> :</entry> <entry> </entry></row> <row><entry align="right"><parameter>mask</parameter> :</entry> <entry> <!-- Local variables: mode: sgml sgml-parent-document: ("../gnomeui-docs.sgml" "book" "sect1" "") End: --> </entry></row> </tbody></tgroup></informaltable></refsect2> </refsect1> <refsect1> <title>See Also</title> <para> <link linkend="GtkButton">GtkButton</link>, <link linkend="GnomePixmap">GnomePixmap</link> </para> </refsect1> </refentry>