## Stock Items

Stock Items

## Functions

void | gtk_stock_add ()
void | gtk_stock_add_static ()
GtkStockItem * | gtk_stock_item_copy ()
void | gtk_stock_item_free ()
GSList * | gtk_stock_list_ids ()
gboolean | gtk_stock_lookup ()
void | gtk_stock_set_translate_func ()

## Types and Values

struct | GtkStockItem
#define | GTK_STOCK_ABOUT
#define | GTK_STOCK_ADD
#define | GTK_STOCK_APPLY
#define | GTK_STOCK_BOLD
#define | GTK_STOCK_CANCEL
#define | GTK_STOCK_CAPS_LOCK_WARNING
#define | GTK_STOCK_CDROM
#define | GTK_STOCK_CLEAR
#define | GTK_STOCK_CLOSE
#define | GTK_STOCK_COLOR_PICKER
#define | GTK_STOCK_CONVERT
#define | GTK_STOCK_CONNECT
#define | GTK_STOCK_COPY
#define | GTK_STOCK_CUT
#define | GTK_STOCK_DELETE
#define | GTK_STOCK_DIALOG_AUTHENTICATION
#define | GTK_STOCK_DIALOG_ERROR
#define | GTK_STOCK_DIALOG_INFO
#define | GTK_STOCK_DIALOG_QUESTION
#define | GTK_STOCK_DIALOG_WARNING
#define | GTK_STOCK_DIRECTORY
#define | GTK_STOCK_DISCARD
#define | GTK_STOCK_DISCONNECT
#define | GTK_STOCK_DND
#define | GTK_STOCK_DND_MULTIPLE
#define | GTK_STOCK_EDIT
#define | GTK_STOCK_EXECUTE
#define | GTK_STOCK_FILE
#define | GTK_STOCK_FIND
#define | GTK_STOCK_FIND_AND_REPLACE
#define | GTK_STOCK_FLOPPY
#define | GTK_STOCK_FULLSCREEN
#define | GTK_STOCK_GOTO_BOTTOM
#define | GTK_STOCK_GOTO_FIRST
#define | GTK_STOCK_GOTO_LAST
#define | GTK_STOCK_GOTO_TOP
#define | GTK_STOCK_GO_BACK
#define | GTK_STOCK_GO_DOWN
#define | GTK_STOCK_GO_FORWARD
#define | GTK_STOCK_GO_UP
#define | GTK_STOCK_HARDDISK
#define | GTK_STOCK_HELP
#define | GTK_STOCK_HOME
#define | GTK_STOCK_INDENT
#define | GTK_STOCK_INDEX
#define | GTK_STOCK_INFO
#define | GTK_STOCK_ITALIC
#define | GTK_STOCK_JUMP_TO
#define | GTK_STOCK_JUSTIFY_CENTER
#define | GTK_STOCK_JUSTIFY_FILL
#define | GTK_STOCK_JUSTIFY_LEFT
#define | GTK_STOCK_JUSTIFY_RIGHT
#define | GTK_STOCK_LEAVE_FULLSCREEN
#define | GTK_STOCK_MEDIA_FORWARD
#define | GTK_STOCK_MEDIA_NEXT
#define | GTK_STOCK_MEDIA_PAUSE
#define | GTK_STOCK_MEDIA_PLAY
#define | GTK_STOCK_MEDIA_PREVIOUS
#define | GTK_STOCK_MEDIA_RECORD
#define | GTK_STOCK_MEDIA_REWIND
#define | GTK_STOCK_MEDIA_STOP
#define | GTK_STOCK_MISSING_IMAGE
#define | GTK_STOCK_NETWORK
#define | GTK_STOCK_NEW
#define | GTK_STOCK_NO
#define | GTK_STOCK_OK
#define | GTK_STOCK_OPEN
#define | GTK_STOCK_ORIENTATION_LANDSCAPE
#define | GTK_STOCK_ORIENTATION_PORTRAIT
#define | GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE
#define | GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT
#define | GTK_STOCK_PAGE_SETUP
#define | GTK_STOCK_PASTE
#define | GTK_STOCK_PREFERENCES
#define | GTK_STOCK_PRINT
#define | GTK_STOCK_PRINT_ERROR
#define | GTK_STOCK_PRINT_PAUSED
#define | GTK_STOCK_PRINT_PREVIEW
#define | GTK_STOCK_PRINT_REPORT
#define | GTK_STOCK_PRINT_WARNING
#define | GTK_STOCK_PROPERTIES
#define | GTK_STOCK_QUIT
#define | GTK_STOCK_REDO
#define | GTK_STOCK_REFRESH
#define | GTK_STOCK_REMOVE
#define | GTK_STOCK_REVERT_TO_SAVED
#define | GTK_STOCK_SAVE
#define | GTK_STOCK_SAVE_AS
#define | GTK_STOCK_SELECT_ALL
#define | GTK_STOCK_SELECT_COLOR
#define | GTK_STOCK_SELECT_FONT
#define | GTK_STOCK_SORT_ASCENDING
#define | GTK_STOCK_SORT_DESCENDING
#define | GTK_STOCK_SPELL_CHECK
#define | GTK_STOCK_STOP
#define | GTK_STOCK_STRIKETHROUGH
#define | GTK_STOCK_UNDELETE
#define | GTK_STOCK_UNDERLINE
#define | GTK_STOCK_UNDO
#define | GTK_STOCK_UNINDENT
#define | GTK_STOCK_YES
#define | GTK_STOCK_ZOOM_100
#define | GTK_STOCK_ZOOM_FIT
#define | GTK_STOCK_ZOOM_IN
#define | GTK_STOCK_ZOOM_OUT

## Includes

    #include <gtk/gtk.h>

## Description

## Functions

### gtk_stock_add ()

    void
    gtk_stock_add (const GtkStockItem *items,
                   guint n_items);

### gtk_stock_add_static ()

    void
    gtk_stock_add_static (const GtkStockItem *items,
                          guint n_items);

### gtk_stock_item_copy ()

    GtkStockItem *
    gtk_stock_item_copy (const GtkStockItem *item);

### gtk_stock_item_free ()

    void
    gtk_stock_item_free (GtkStockItem *item);

### gtk_stock_list_ids ()

    GSList *
    gtk_stock_list_ids (void);

### gtk_stock_lookup ()

    gboolean
    gtk_stock_lookup (const gchar *stock_id,
                      GtkStockItem *item);

### gtk_stock_set_translate_func ()

    void
    gtk_stock_set_translate_func (const gchar *domain,
                                  GtkTranslateFunc func,
                                  gpointer data,
                                  GDestroyNotify notify);

Since: 2.8

## Types and Values

### struct GtkStockItem

    struct GtkStockItem {
      gchar *stock_id;
      gchar *label;
      GdkModifierType modifier;
      guint keyval;
      gchar *translation_domain;
    };

### GTK_STOCK_ABOUT

    #define GTK_STOCK_ABOUT            "gtk-about"

Since: 2.6

### GTK_STOCK_ADD

    #define GTK_STOCK_ADD              "gtk-add"

### GTK_STOCK_APPLY

    #define GTK_STOCK_APPLY            "gtk-apply"

### GTK_STOCK_BOLD

    #define GTK_STOCK_BOLD             "gtk-bold"

### GTK_STOCK_CANCEL

    #define GTK_STOCK_CANCEL           "gtk-cancel"

### GTK_STOCK_CAPS_LOCK_WARNING

    #define GTK_STOCK_CAPS_LOCK_WARNING "gtk-caps-lock-warning"

Since: 2.16

### GTK_STOCK_CDROM

    #define GTK_STOCK_CDROM            "gtk-cdrom"

### GTK_STOCK_CLEAR

    #define GTK_STOCK_CLEAR            "gtk-clear"

### GTK_STOCK_CLOSE

    #define GTK_STOCK_CLOSE            "gtk-close"

### GTK_STOCK_COLOR_PICKER

    #define GTK_STOCK_COLOR_PICKER     "gtk-color-picker"

Since: 2.2

### GTK_STOCK_CONVERT

    #define GTK_STOCK_CONVERT          "gtk-convert"

### GTK_STOCK_CONNECT

    #define GTK_STOCK_CONNECT          "gtk-connect"

Since: 2.6

### GTK_STOCK_COPY

    #define GTK_STOCK_COPY             "gtk-copy"

### GTK_STOCK_CUT

    #define GTK_STOCK_CUT              "gtk-cut"

### GTK_STOCK_DELETE

    #define GTK_STOCK_DELETE           "gtk-delete"

### GTK_STOCK_DIALOG_AUTHENTICATION

    #define GTK_STOCK_DIALOG_AUTHENTICATION "gtk-dialog-authentication"

Since: 2.4

### GTK_STOCK_DIALOG_ERROR

    #define GTK_STOCK_DIALOG_ERROR     "gtk-dialog-error"

### GTK_STOCK_DIALOG_INFO

    #define GTK_STOCK_DIALOG_INFO      "gtk-dialog-info"

### GTK_STOCK_DIALOG_QUESTION

    #define GTK_STOCK_DIALOG_QUESTION  "gtk-dialog-question"

### GTK_STOCK_DIALOG_WARNING

    #define GTK_STOCK_DIALOG_WARNING   "gtk-dialog-warning"

### GTK_STOCK_DIRECTORY

    #define GTK_STOCK_DIRECTORY        "gtk-directory"

Since: 2.6

### GTK_STOCK_DISCARD

    #define GTK_STOCK_DISCARD          "gtk-discard"

Since: 2.12

### GTK_STOCK_DISCONNECT

    #define GTK_STOCK_DISCONNECT       "gtk-disconnect"

Since: 2.6

### GTK_STOCK_DND

    #define GTK_STOCK_DND              "gtk-dnd"

### GTK_STOCK_DND_MULTIPLE

    #define GTK_STOCK_DND_MULTIPLE     "gtk-dnd-multiple"

### GTK_STOCK_EDIT

    #define GTK_STOCK_EDIT             "gtk-edit"

Since: 2.6

### GTK_STOCK_EXECUTE

    #define GTK_STOCK_EXECUTE          "gtk-execute"

### GTK_STOCK_FILE

    #define GTK_STOCK_FILE             "gtk-file"

Since: 2.6

### GTK_STOCK_FIND

    #define GTK_STOCK_FIND             "gtk-find"

### GTK_STOCK_FIND_AND_REPLACE

    #define GTK_STOCK_FIND_AND_REPLACE "gtk-find-and-replace"

### GTK_STOCK_FLOPPY

    #define GTK_STOCK_FLOPPY           "gtk-floppy"

### GTK_STOCK_FULLSCREEN

    #define GTK_STOCK_FULLSCREEN       "gtk-fullscreen"

Since: 2.8

### GTK_STOCK_GOTO_BOTTOM

    #define GTK_STOCK_GOTO_BOTTOM      "gtk-goto-bottom"

### GTK_STOCK_GOTO_FIRST

    #define GTK_STOCK_GOTO_FIRST       "gtk-goto-first"

### GTK_STOCK_GOTO_LAST

    #define GTK_STOCK_GOTO_LAST        "gtk-goto-last"

### GTK_STOCK_GOTO_TOP

    #define GTK_STOCK_GOTO_TOP         "gtk-goto-top"

### GTK_STOCK_GO_BACK

    #define GTK_STOCK_GO_BACK          "gtk-go-back"

### GTK_STOCK_GO_DOWN

    #define GTK_STOCK_GO_DOWN          "gtk-go-down"

### GTK_STOCK_GO_FORWARD

    #define GTK_STOCK_GO_FORWARD       "gtk-go-forward"

### GTK_STOCK_GO_UP

    #define GTK_STOCK_GO_UP            "gtk-go-up"

### GTK_STOCK_HARDDISK

    #define GTK_STOCK_HARDDISK         "gtk-harddisk"

Since: 2.4

### GTK_STOCK_HELP

    #define GTK_STOCK_HELP             "gtk-help"

### GTK_STOCK_HOME

    #define GTK_STOCK_HOME             "gtk-home"

### GTK_STOCK_INDENT

    #define GTK_STOCK_INDENT           "gtk-indent"

Since: 2.4

### GTK_STOCK_INDEX

    #define GTK_STOCK_INDEX            "gtk-index"

### GTK_STOCK_INFO

    #define GTK_STOCK_INFO             "gtk-info"

Since: 2.8

### GTK_STOCK_ITALIC

    #define GTK_STOCK_ITALIC           "gtk-italic"

### GTK_STOCK_JUMP_TO

    #define GTK_STOCK_JUMP_TO          "gtk-jump-to"

### GTK_STOCK_JUSTIFY_CENTER

    #define GTK_STOCK_JUSTIFY_CENTER   "gtk-justify-center"

### GTK_STOCK_JUSTIFY_FILL

    #define GTK_STOCK_JUSTIFY_FILL     "gtk-justify-fill"

### GTK_STOCK_JUSTIFY_LEFT

    #define GTK_STOCK_JUSTIFY_LEFT     "gtk-justify-left"

### GTK_STOCK_JUSTIFY_RIGHT

    #define GTK_STOCK_JUSTIFY_RIGHT    "gtk-justify-right"

### GTK_STOCK_LEAVE_FULLSCREEN

    #define GTK_STOCK_LEAVE_FULLSCREEN "gtk-leave-fullscreen"

Since: 2.8

### GTK_STOCK_MEDIA_FORWARD

    #define GTK_STOCK_MEDIA_FORWARD    "gtk-media-forward"

Since: 2.6

### GTK_STOCK_MEDIA_NEXT

    #define GTK_STOCK_MEDIA_NEXT       "gtk-media-next"

Since: 2.6

### GTK_STOCK_MEDIA_PAUSE

    #define GTK_STOCK_MEDIA_PAUSE      "gtk-media-pause"

Since: 2.6

### GTK_STOCK_MEDIA_PLAY

    #define GTK_STOCK_MEDIA_PLAY       "gtk-media-play"

Since: 2.6

### GTK_STOCK_MEDIA_PREVIOUS

    #define GTK_STOCK_MEDIA_PREVIOUS   "gtk-media-previous"

Since: 2.6

### GTK_STOCK_MEDIA_RECORD

    #define GTK_STOCK_MEDIA_RECORD     "gtk-media-record"

Since: 2.6

### GTK_STOCK_MEDIA_REWIND

    #define GTK_STOCK_MEDIA_REWIND     "gtk-media-rewind"

Since: 2.6

### GTK_STOCK_MEDIA_STOP

    #define GTK_STOCK_MEDIA_STOP       "gtk-media-stop"

Since: 2.6

### GTK_STOCK_MISSING_IMAGE

    #define GTK_STOCK_MISSING_IMAGE    "gtk-missing-image"

### GTK_STOCK_NETWORK

    #define GTK_STOCK_NETWORK          "gtk-network"

Since: 2.4

### GTK_STOCK_NEW

    #define GTK_STOCK_NEW              "gtk-new"

### GTK_STOCK_NO

    #define GTK_STOCK_NO               "gtk-no"

### GTK_STOCK_OK

    #define GTK_STOCK_OK               "gtk-ok"

### GTK_STOCK_OPEN

    #define GTK_STOCK_OPEN             "gtk-open"

### GTK_STOCK_ORIENTATION_LANDSCAPE

    #define GTK_STOCK_ORIENTATION_LANDSCAPE "gtk-orientation-landscape"

Since: 2.10

### GTK_STOCK_ORIENTATION_PORTRAIT

    #define GTK_STOCK_ORIENTATION_PORTRAIT "gtk-orientation-portrait"

Since: 2.10

### GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE

    #define GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE "gtk-orientation-reverse-landscape"

Since: 2.10

### GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT

    #define GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT "gtk-orientation-reverse-portrait"

Since: 2.10

### GTK_STOCK_PAGE_SETUP

    #define GTK_STOCK_PAGE_SETUP       "gtk-page-setup"

Since: 2.14

### GTK_STOCK_PASTE

    #define GTK_STOCK_PASTE            "gtk-paste"

### GTK_STOCK_PREFERENCES

    #define GTK_STOCK_PREFERENCES      "gtk-preferences"

### GTK_STOCK_PRINT

    #define GTK_STOCK_PRINT            "gtk-print"

### GTK_STOCK_PRINT_ERROR

    #define GTK_STOCK_PRINT_ERROR      "gtk-print-error"

Since: 2.14

### GTK_STOCK_PRINT_PAUSED

    #define GTK_STOCK_PRINT_PAUSED     "gtk-print-paused"

Since: 2.14

### GTK_STOCK_PRINT_PREVIEW

    #define GTK_STOCK_PRINT_PREVIEW    "gtk-print-preview"

### GTK_STOCK_PRINT_REPORT

    #define GTK_STOCK_PRINT_REPORT     "gtk-print-report"

Since: 2.14

### GTK_STOCK_PRINT_WARNING

    #define GTK_STOCK_PRINT_WARNING    "gtk-print-warning"

Since: 2.14

### GTK_STOCK_PROPERTIES

    #define GTK_STOCK_PROPERTIES       "gtk-properties"

### GTK_STOCK_QUIT

    #define GTK_STOCK_QUIT             "gtk-quit"

### GTK_STOCK_REDO

    #define GTK_STOCK_REDO             "gtk-redo"

### GTK_STOCK_REFRESH

    #define GTK_STOCK_REFRESH          "gtk-refresh"

### GTK_STOCK_REMOVE

    #define GTK_STOCK_REMOVE           "gtk-remove"

### GTK_STOCK_REVERT_TO_SAVED

    #define GTK_STOCK_REVERT_TO_SAVED  "gtk-revert-to-saved"

### GTK_STOCK_SAVE

    #define GTK_STOCK_SAVE             "gtk-save"

### GTK_STOCK_SAVE_AS

    #define GTK_STOCK_SAVE_AS          "gtk-save-as"

### GTK_STOCK_SELECT_ALL

    #define GTK_STOCK_SELECT_ALL       "gtk-select-all"

Since: 2.10

### GTK_STOCK_SELECT_COLOR

    #define GTK_STOCK_SELECT_COLOR     "gtk-select-color"

### GTK_STOCK_SELECT_FONT

    #define GTK_STOCK_SELECT_FONT      "gtk-select-font"

### GTK_STOCK_SORT_ASCENDING

    #define GTK_STOCK_SORT_ASCENDING   "gtk-sort-ascending"

### GTK_STOCK_SORT_DESCENDING

    #define GTK_STOCK_SORT_DESCENDING  "gtk-sort-descending"

### GTK_STOCK_SPELL_CHECK

    #define GTK_STOCK_SPELL_CHECK      "gtk-spell-check"

### GTK_STOCK_STOP

    #define GTK_STOCK_STOP             "gtk-stop"

### GTK_STOCK_STRIKETHROUGH

    #define GTK_STOCK_STRIKETHROUGH    "gtk-strikethrough"

### GTK_STOCK_UNDELETE

    #define GTK_STOCK_UNDELETE         "gtk-undelete"

### GTK_STOCK_UNDERLINE

    #define GTK_STOCK_UNDERLINE        "gtk-underline"

### GTK_STOCK_UNDO

    #define GTK_STOCK_UNDO             "gtk-undo"

### GTK_STOCK_UNINDENT

    #define GTK_STOCK_UNINDENT         "gtk-unindent"

Since: 2.4

### GTK_STOCK_YES

    #define GTK_STOCK_YES              "gtk-yes"

### GTK_STOCK_ZOOM_100

    #define GTK_STOCK_ZOOM_100         "gtk-zoom-100"

### GTK_STOCK_ZOOM_FIT

    #define GTK_STOCK_ZOOM_FIT         "gtk-zoom-fit"

### GTK_STOCK_ZOOM_IN

    #define GTK_STOCK_ZOOM_IN          "gtk-zoom-in"

### GTK_STOCK_ZOOM_OUT

    #define GTK_STOCK_ZOOM_OUT         "gtk-zoom-out"