GTK+ 3 Reference Manual: Stock Items

## Stock Items Stock Items — Prebuilt common menu/toolbar items and corresponding icons |

## Synopsis

    #include <gtk/gtk.h>

    struct              GtkStockItem;
    void                gtk_stock_add                       (const GtkStockItem *items,
                                                             guint n_items);
    void                gtk_stock_add_static                (const GtkStockItem *items,
                                                             guint n_items);
    GtkStockItem *      gtk_stock_item_copy                 (const GtkStockItem *item);
    void                gtk_stock_item_free                 (GtkStockItem *item);
    GSList *            gtk_stock_list_ids                  (void);
    gboolean            gtk_stock_lookup                    (const gchar *stock_id,
                                                             GtkStockItem *item);
    void                gtk_stock_set_translate_func        (const gchar *domain,
                                                             GtkTranslateFunc func,
                                                             gpointer data,
                                                             GDestroyNotify notify);

    #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

## Description

Stock items represent commonly-used menu or toolbar items such as "Open" or "Exit". Each stock item is identified by a stock ID; stock IDs are just strings, but macros such as GTK_STOCK_OPEN are provided to avoid typing mistakes in the strings. Applications can register their own stock items in addition to those built-in to GTK+.

Each stock ID can be associated with a GtkStockItem, which contains the user-visible label, keyboard accelerator, and translation domain of the menu or toolbar item; and/or with an icon stored in a GtkIconFactory. See GtkIconFactory for more information on stock icons. The connection between a GtkStockItem and stock icons is purely conventional (by virtue of using the same stock ID); it's possible to register a stock item but no icon, and vice versa. Stock icons may have a RTL variant which gets used for right-to-left locales.

## Details

### struct GtkStockItem

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

### gtk_stock_add ()

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

### Warning

`gtk_stock_add` is deprecated and should not be used in newly-written code. 3.10

Registers each of the stock items in `items`. If an item already exists with the same stock ID as one of the `items`, the old item gets replaced. The stock items are copied, so GTK+ does not hold any pointer into `items` and `items` can be freed. Use `gtk_stock_add_static()` if `items` is persistent and GTK+ need not copy the array.

`items` : | a GtkStockItem or array of items. [array length=n_items]
`n_items` : | number of GtkStockItem in `items`

### gtk_stock_add_static ()

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

### Warning

`gtk_stock_add_static` is deprecated and should not be used in newly-written code. 3.10

Same as `gtk_stock_add()`, but doesn't copy `items`, so `items` must persist until application exit.

`items` : | a GtkStockItem or array of GtkStockItem. [array length=n_items]
`n_items` : | number of items

### gtk_stock_item_copy ()

    GtkStockItem *      gtk_stock_item_copy                 (const GtkStockItem *item);

### Warning

`gtk_stock_item_copy` is deprecated and should not be used in newly-written code. 3.10

Copies a stock item, mostly useful for language bindings and not in applications.

`item` : | a GtkStockItem
Returns : | a new GtkStockItem

### gtk_stock_item_free ()

    void                gtk_stock_item_free                 (GtkStockItem *item);

### Warning

`gtk_stock_item_free` is deprecated and should not be used in newly-written code. 3.10

Frees a stock item allocated on the heap, such as one returned by `gtk_stock_item_copy()`. Also frees the fields inside the stock item, if they are not `NULL`.

`item` : | a GtkStockItem

### gtk_stock_list_ids ()

    GSList *            gtk_stock_list_ids                  (void);

### Warning

`gtk_stock_list_ids` is deprecated and should not be used in newly-written code. 3.10

Retrieves a list of all known stock IDs added to a GtkIconFactory or registered with `gtk_stock_add()`. The list must be freed with `g_slist_free()`, and each string in the list must be freed with `g_free()`.

Returns : | a list of known stock IDs. [element-type utf8][transfer full]

### gtk_stock_lookup ()

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

### Warning

`gtk_stock_lookup` is deprecated and should not be used in newly-written code. 3.10

Fills `item` with the registered values for `stock_id`, returning `TRUE` if `stock_id` was known.

`stock_id` : | a stock item name
`item` : | stock item to initialize with values. [out]
Returns : | `TRUE` if `item` was initialized

### gtk_stock_set_translate_func ()

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

### Warning

`gtk_stock_set_translate_func` is deprecated and should not be used in newly-written code. 3.10

Sets a function to be used for translating the `label` of a stock item.

If no function is registered for a translation domain, `g_dgettext()` is used.

The function is used for all stock items whose `translation_domain` matches `domain`. Note that it is possible to use strings different from the actual gettext translation domain of your application for this, as long as your GtkTranslateFunc uses the correct domain when calling `dgettext()`. This can be useful, e.g. when dealing with message contexts:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    GtkStockItem items[] = {
     { MY_ITEM1, NC_("odd items", "Item 1"), 0, 0, "odd-item-domain" },
     { MY_ITEM2, NC_("even items", "Item 2"), 0, 0, "even-item-domain" },
    };

    gchar *
    my_translate_func (const gchar *msgid,
                       gpointer     data)
    {
      gchar *msgctxt = data;

      return (gchar*)g_dpgettext2 (GETTEXT_PACKAGE, msgctxt, msgid);
    }

    /* ... */

    gtk_stock_add (items, G_N_ELEMENTS (items));
    gtk_stock_set_translate_func ("odd-item-domain", my_translate_func, "odd items");
    gtk_stock_set_translate_func ("even-item-domain", my_translate_func, "even items");

`domain` : | the translation domain for which `func` shall be used
`func` : | a GtkTranslateFunc
`data` : | data to pass to `func`
`notify` : | a GDestroyNotify that is called when `data` is no longer needed

Since 2.8

### GTK_STOCK_ABOUT

    #define GTK_STOCK_ABOUT            ((GtkStock)"gtk-about")

### Warning

`GTK_STOCK_ABOUT` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "help-about" or the label "_About".

The "About" item.

Since 2.6

### GTK_STOCK_ADD

    #define GTK_STOCK_ADD              ((GtkStock)"gtk-add")

### Warning

`GTK_STOCK_ADD` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "list-add" or the label "_Add".

The "Add" item.

### GTK_STOCK_APPLY

    #define GTK_STOCK_APPLY            ((GtkStock)"gtk-apply")

### Warning

`GTK_STOCK_APPLY` has been deprecated since version 3.10 and should not be used in newly-written code. Do not use an icon. Use label "_Apply".

The "Apply" item.

### GTK_STOCK_BOLD

    #define GTK_STOCK_BOLD             ((GtkStock)"gtk-bold")

### Warning

`GTK_STOCK_BOLD` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "format-text-bold".

The "Bold" item.

### GTK_STOCK_CANCEL

    #define GTK_STOCK_CANCEL           ((GtkStock)"gtk-cancel")

### Warning

`GTK_STOCK_CANCEL` has been deprecated since version 3.10 and should not be used in newly-written code. Do not use an icon. Use label "_Cancel".

The "Cancel" item.

### GTK_STOCK_CAPS_LOCK_WARNING

    #define GTK_STOCK_CAPS_LOCK_WARNING ((GtkStock)"gtk-caps-lock-warning")

### Warning

`GTK_STOCK_CAPS_LOCK_WARNING` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "dialog-warning-symbolic".

The "Caps Lock Warning" icon.

Since 2.16

### GTK_STOCK_CDROM

    #define GTK_STOCK_CDROM            ((GtkStock)"gtk-cdrom")

### Warning

`GTK_STOCK_CDROM` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "media-optical".

The "CD-Rom" item.

### GTK_STOCK_CLEAR

    #define GTK_STOCK_CLEAR            ((GtkStock)"gtk-clear")

### Warning

`GTK_STOCK_CLEAR` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "edit-clear".

The "Clear" item.

### GTK_STOCK_CLOSE

    #define GTK_STOCK_CLOSE            ((GtkStock)"gtk-close")

### Warning

`GTK_STOCK_CLOSE` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "window-close" or the label "_Close".

The "Close" item.

### GTK_STOCK_COLOR_PICKER

    #define GTK_STOCK_COLOR_PICKER     ((GtkStock)"gtk-color-picker")

### Warning

`GTK_STOCK_COLOR_PICKER` is deprecated and should not be used in newly-written code. 3.10

The "Color Picker" item.

Since 2.2

### GTK_STOCK_CONVERT

    #define GTK_STOCK_CONVERT          ((GtkStock)"gtk-convert")

### Warning

`GTK_STOCK_CONVERT` is deprecated and should not be used in newly-written code. 3.10

The "Convert" item.

### GTK_STOCK_CONNECT

    #define GTK_STOCK_CONNECT          ((GtkStock)"gtk-connect")

### Warning

`GTK_STOCK_CONNECT` is deprecated and should not be used in newly-written code. 3.10

The "Connect" icon.

Since 2.6

### GTK_STOCK_COPY

    #define GTK_STOCK_COPY             ((GtkStock)"gtk-copy")

### Warning

`GTK_STOCK_COPY` has been deprecated since version 3.10 and should not be used in newly-written code. Do not use an icon. Use label "_Copy".

The "Copy" item.

### GTK_STOCK_CUT

    #define GTK_STOCK_CUT              ((GtkStock)"gtk-cut")

### Warning

`GTK_STOCK_CUT` has been deprecated since version 3.10 and should not be used in newly-written code. Do not use an icon. Use label "Cu_t".

The "Cut" item.

### GTK_STOCK_DELETE

    #define GTK_STOCK_DELETE           ((GtkStock)"gtk-delete")

### Warning

`GTK_STOCK_DELETE` has been deprecated since version 3.10 and should not be used in newly-written code. Do not use an icon. Use label "_Delete".

The "Delete" item.

### GTK_STOCK_DIALOG_AUTHENTICATION

    #define GTK_STOCK_DIALOG_AUTHENTICATION ((GtkStock)"gtk-dialog-authentication")

### Warning

`GTK_STOCK_DIALOG_AUTHENTICATION` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "dialog-password".

The "Authentication" item.

Since 2.4

### GTK_STOCK_DIALOG_ERROR

    #define GTK_STOCK_DIALOG_ERROR     ((GtkStock)"gtk-dialog-error")

### Warning

`GTK_STOCK_DIALOG_ERROR` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "dialog-error".

The "Error" item.

### GTK_STOCK_DIALOG_INFO

    #define GTK_STOCK_DIALOG_INFO      ((GtkStock)"gtk-dialog-info")

### Warning

`GTK_STOCK_DIALOG_INFO` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "dialog-information".

The "Information" item.

### GTK_STOCK_DIALOG_QUESTION

    #define GTK_STOCK_DIALOG_QUESTION  ((GtkStock)"gtk-dialog-question")

### Warning

`GTK_STOCK_DIALOG_QUESTION` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "dialog-question".

The "Question" item.

### GTK_STOCK_DIALOG_WARNING

    #define GTK_STOCK_DIALOG_WARNING   ((GtkStock)"gtk-dialog-warning")

### Warning

`GTK_STOCK_DIALOG_WARNING` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "dialog-warning".

The "Warning" item.

### GTK_STOCK_DIRECTORY

    #define GTK_STOCK_DIRECTORY        ((GtkStock)"gtk-directory")

### Warning

`GTK_STOCK_DIRECTORY` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "folder".

The "Directory" icon.

Since 2.6

### GTK_STOCK_DISCARD

    #define GTK_STOCK_DISCARD          ((GtkStock)"gtk-discard")

### Warning

`GTK_STOCK_DISCARD` is deprecated and should not be used in newly-written code. 3.10

The "Discard" item.

Since 2.12

### GTK_STOCK_DISCONNECT

    #define GTK_STOCK_DISCONNECT       ((GtkStock)"gtk-disconnect")

### Warning

`GTK_STOCK_DISCONNECT` is deprecated and should not be used in newly-written code. 3.10

The "Disconnect" icon.

Since 2.6

### GTK_STOCK_DND

    #define GTK_STOCK_DND              ((GtkStock)"gtk-dnd")

### Warning

`GTK_STOCK_DND` is deprecated and should not be used in newly-written code. 3.10

The "Drag-And-Drop" icon.

### GTK_STOCK_DND_MULTIPLE

    #define GTK_STOCK_DND_MULTIPLE     ((GtkStock)"gtk-dnd-multiple")

### Warning

`GTK_STOCK_DND_MULTIPLE` is deprecated and should not be used in newly-written code. 3.10

The "Drag-And-Drop multiple" icon.

### GTK_STOCK_EDIT

    #define GTK_STOCK_EDIT             ((GtkStock)"gtk-edit")

### Warning

`GTK_STOCK_EDIT` is deprecated and should not be used in newly-written code. 3.10

The "Edit" item.

Since 2.6

### GTK_STOCK_EXECUTE

    #define GTK_STOCK_EXECUTE          ((GtkStock)"gtk-execute")

### Warning

`GTK_STOCK_EXECUTE` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "system-run".

The "Execute" item.

### GTK_STOCK_FILE

    #define GTK_STOCK_FILE             ((GtkStock)"gtk-file")

### Warning

`GTK_STOCK_FILE` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "text-x-generic".

The "File" item.

Since 3.0, this item has a label, before it only had an icon.

Since 2.6

### GTK_STOCK_FIND

    #define GTK_STOCK_FIND             ((GtkStock)"gtk-find")

### Warning

`GTK_STOCK_FIND` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "edit-find".

The "Find" item.

### GTK_STOCK_FIND_AND_REPLACE

    #define GTK_STOCK_FIND_AND_REPLACE ((GtkStock)"gtk-find-and-replace")

### Warning

`GTK_STOCK_FIND_AND_REPLACE` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "edit-find-replace".

The "Find and Replace" item.

### GTK_STOCK_FLOPPY

    #define GTK_STOCK_FLOPPY           ((GtkStock)"gtk-floppy")

### Warning

`GTK_STOCK_FLOPPY` is deprecated and should not be used in newly-written code. 3.10

The "Floppy" item.

### GTK_STOCK_FULLSCREEN

    #define GTK_STOCK_FULLSCREEN       ((GtkStock)"gtk-fullscreen")

### Warning

`GTK_STOCK_FULLSCREEN` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "view-fullscreen".

The "Fullscreen" item.

Since 2.8

### GTK_STOCK_GOTO_BOTTOM

    #define GTK_STOCK_GOTO_BOTTOM      ((GtkStock)"gtk-goto-bottom")

### Warning

`GTK_STOCK_GOTO_BOTTOM` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "go-bottom".

The "Bottom" item.

### GTK_STOCK_GOTO_FIRST

    #define GTK_STOCK_GOTO_FIRST       ((GtkStock)"gtk-goto-first")

### Warning

`GTK_STOCK_GOTO_FIRST` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "go-first".

The "First" item. RTL variant

### GTK_STOCK_GOTO_LAST

    #define GTK_STOCK_GOTO_LAST        ((GtkStock)"gtk-goto-last")

### Warning

`GTK_STOCK_GOTO_LAST` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "go-last".

The "Last" item. RTL variant

### GTK_STOCK_GOTO_TOP

    #define GTK_STOCK_GOTO_TOP         ((GtkStock)"gtk-goto-top")

### Warning

`GTK_STOCK_GOTO_TOP` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "go-top".

The "Top" item.

### GTK_STOCK_GO_BACK

    #define GTK_STOCK_GO_BACK          ((GtkStock)"gtk-go-back")

### Warning

`GTK_STOCK_GO_BACK` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "go-previous".

The "Back" item. RTL variant

### GTK_STOCK_GO_DOWN

    #define GTK_STOCK_GO_DOWN          ((GtkStock)"gtk-go-down")

### Warning

`GTK_STOCK_GO_DOWN` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "go-down".

The "Down" item.

### GTK_STOCK_GO_FORWARD

    #define GTK_STOCK_GO_FORWARD       ((GtkStock)"gtk-go-forward")

### Warning

`GTK_STOCK_GO_FORWARD` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "go-next".

The "Forward" item. RTL variant

### GTK_STOCK_GO_UP

    #define GTK_STOCK_GO_UP            ((GtkStock)"gtk-go-up")

### Warning

`GTK_STOCK_GO_UP` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "go-up".

The "Up" item.

### GTK_STOCK_HARDDISK

    #define GTK_STOCK_HARDDISK         ((GtkStock)"gtk-harddisk")

### Warning

`GTK_STOCK_HARDDISK` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "drive-harddisk".

The "Harddisk" item.

Since 2.4

### GTK_STOCK_HELP

    #define GTK_STOCK_HELP             ((GtkStock)"gtk-help")

### Warning

`GTK_STOCK_HELP` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "help-browser".

The "Help" item.

### GTK_STOCK_HOME

    #define GTK_STOCK_HOME             ((GtkStock)"gtk-home")

### Warning

`GTK_STOCK_HOME` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "go-home".

The "Home" item.

### GTK_STOCK_INDENT

    #define GTK_STOCK_INDENT           ((GtkStock)"gtk-indent")

### Warning

`GTK_STOCK_INDENT` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "format-indent-more".

The "Indent" item. RTL variant

Since 2.4

### GTK_STOCK_INDEX

    #define GTK_STOCK_INDEX            ((GtkStock)"gtk-index")

### Warning

`GTK_STOCK_INDEX` is deprecated and should not be used in newly-written code. 3.10

The "Index" item.

### GTK_STOCK_INFO

    #define GTK_STOCK_INFO             ((GtkStock)"gtk-info")

### Warning

`GTK_STOCK_INFO` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "dialog-information".

The "Info" item.

Since 2.8

### GTK_STOCK_ITALIC

    #define GTK_STOCK_ITALIC           ((GtkStock)"gtk-italic")

### Warning

`GTK_STOCK_ITALIC` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "format-text-italic".

The "Italic" item.

### GTK_STOCK_JUMP_TO

    #define GTK_STOCK_JUMP_TO          ((GtkStock)"gtk-jump-to")

### Warning

`GTK_STOCK_JUMP_TO` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "go-jump".

The "Jump to" item. RTL-variant

### GTK_STOCK_JUSTIFY_CENTER

    #define GTK_STOCK_JUSTIFY_CENTER   ((GtkStock)"gtk-justify-center")

### Warning

`GTK_STOCK_JUSTIFY_CENTER` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "format-justify-center".

The "Center" item.

### GTK_STOCK_JUSTIFY_FILL

    #define GTK_STOCK_JUSTIFY_FILL     ((GtkStock)"gtk-justify-fill")

### Warning

`GTK_STOCK_JUSTIFY_FILL` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "format-justify-fill".

The "Fill" item.

### GTK_STOCK_JUSTIFY_LEFT

    #define GTK_STOCK_JUSTIFY_LEFT     ((GtkStock)"gtk-justify-left")

### Warning

`GTK_STOCK_JUSTIFY_LEFT` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "format-justify-left".

The "Left" item.

### GTK_STOCK_JUSTIFY_RIGHT

    #define GTK_STOCK_JUSTIFY_RIGHT    ((GtkStock)"gtk-justify-right")

### Warning

`GTK_STOCK_JUSTIFY_RIGHT` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "format-justify-right".

The "Right" item.

### GTK_STOCK_LEAVE_FULLSCREEN

    #define GTK_STOCK_LEAVE_FULLSCREEN ((GtkStock)"gtk-leave-fullscreen")

### Warning

`GTK_STOCK_LEAVE_FULLSCREEN` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "view-restore".

The "Leave Fullscreen" item.

Since 2.8

### GTK_STOCK_MEDIA_FORWARD

    #define GTK_STOCK_MEDIA_FORWARD    ((GtkStock)"gtk-media-forward")

### Warning

`GTK_STOCK_MEDIA_FORWARD` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "media-seek-forward" or the label "_Forward".

The "Media Forward" item. RTL variant

Since 2.6

### GTK_STOCK_MEDIA_NEXT

    #define GTK_STOCK_MEDIA_NEXT       ((GtkStock)"gtk-media-next")

### Warning

`GTK_STOCK_MEDIA_NEXT` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "media-skip-forward" or the label "_Next".

The "Media Next" item. RTL variant

Since 2.6

### GTK_STOCK_MEDIA_PAUSE

    #define GTK_STOCK_MEDIA_PAUSE      ((GtkStock)"gtk-media-pause")

### Warning

`GTK_STOCK_MEDIA_PAUSE` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "media-playback-pause" or the label "P_ause".

The "Media Pause" item.

Since 2.6

### GTK_STOCK_MEDIA_PLAY

    #define GTK_STOCK_MEDIA_PLAY       ((GtkStock)"gtk-media-play")

### Warning

`GTK_STOCK_MEDIA_PLAY` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "media-playback-start" or the label "_Play".

The "Media Play" item. RTL variant

Since 2.6

### GTK_STOCK_MEDIA_PREVIOUS

    #define GTK_STOCK_MEDIA_PREVIOUS   ((GtkStock)"gtk-media-previous")

### Warning

`GTK_STOCK_MEDIA_PREVIOUS` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "media-skip-backward" or the label "Pre_vious".

The "Media Previous" item. RTL variant

Since 2.6

### GTK_STOCK_MEDIA_RECORD

    #define GTK_STOCK_MEDIA_RECORD     ((GtkStock)"gtk-media-record")

### Warning

`GTK_STOCK_MEDIA_RECORD` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "media-record" or the label "_Record".

The "Media Record" item.

Since 2.6

### GTK_STOCK_MEDIA_REWIND

    #define GTK_STOCK_MEDIA_REWIND     ((GtkStock)"gtk-media-rewind")

### Warning

`GTK_STOCK_MEDIA_REWIND` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "media-seek-backward" or the label "R_ewind".

The "Media Rewind" item. RTL variant

Since 2.6

### GTK_STOCK_MEDIA_STOP

    #define GTK_STOCK_MEDIA_STOP       ((GtkStock)"gtk-media-stop")

### Warning

`GTK_STOCK_MEDIA_STOP` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "media-playback-stop" or the label "_Stop".

The "Media Stop" item.

Since 2.6

### GTK_STOCK_MISSING_IMAGE

    #define GTK_STOCK_MISSING_IMAGE    ((GtkStock)"gtk-missing-image")

### Warning

`GTK_STOCK_MISSING_IMAGE` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "image-missing".

The "Missing image" icon.

### GTK_STOCK_NETWORK

    #define GTK_STOCK_NETWORK          ((GtkStock)"gtk-network")

### Warning

`GTK_STOCK_NETWORK` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "network-workgroup".

The "Network" item.

Since 2.4

### GTK_STOCK_NEW

    #define GTK_STOCK_NEW              ((GtkStock)"gtk-new")

### Warning

`GTK_STOCK_NEW` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "document-new" or the label "_New".

The "New" item.

### GTK_STOCK_NO

    #define GTK_STOCK_NO               ((GtkStock)"gtk-no")

### Warning

`GTK_STOCK_NO` is deprecated and should not be used in newly-written code. 3.10

The "No" item.

### GTK_STOCK_OK

    #define GTK_STOCK_OK               ((GtkStock)"gtk-ok")

### Warning

`GTK_STOCK_OK` has been deprecated since version 3.10 and should not be used in newly-written code. Do not use an icon. Use label "_OK".

The "OK" item.

### GTK_STOCK_OPEN

    #define GTK_STOCK_OPEN             ((GtkStock)"gtk-open")

### Warning

`GTK_STOCK_OPEN` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "document-open" or the label "_Open".

The "Open" item.

### GTK_STOCK_ORIENTATION_LANDSCAPE

    #define GTK_STOCK_ORIENTATION_LANDSCAPE ((GtkStock)"gtk-orientation-landscape")

### Warning

`GTK_STOCK_ORIENTATION_LANDSCAPE` is deprecated and should not be used in newly-written code. 3.10

The "Landscape Orientation" item.

Since 2.10

### GTK_STOCK_ORIENTATION_PORTRAIT

    #define GTK_STOCK_ORIENTATION_PORTRAIT ((GtkStock)"gtk-orientation-portrait")

### Warning

`GTK_STOCK_ORIENTATION_PORTRAIT` is deprecated and should not be used in newly-written code. 3.10

The "Portrait Orientation" item.

Since 2.10

### GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE

    #define GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE ((GtkStock)"gtk-orientation-reverse-landscape")

### Warning

`GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE` is deprecated and should not be used in newly-written code. 3.10

The "Reverse Landscape Orientation" item.

Since 2.10

### GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT

    #define GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT ((GtkStock)"gtk-orientation-reverse-portrait")

### Warning

`GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT` is deprecated and should not be used in newly-written code. 3.10

The "Reverse Portrait Orientation" item.

Since 2.10

### GTK_STOCK_PAGE_SETUP

    #define GTK_STOCK_PAGE_SETUP       ((GtkStock)"gtk-page-setup")

### Warning

`GTK_STOCK_PAGE_SETUP` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "document-page-setup" or the label "Page Set_up".

The "Page Setup" item.

Since 2.14

### GTK_STOCK_PASTE

    #define GTK_STOCK_PASTE            ((GtkStock)"gtk-paste")

### Warning

`GTK_STOCK_PASTE` has been deprecated since version 3.10 and should not be used in newly-written code. Do not use an icon. Use label "_Paste".

The "Paste" item.

### GTK_STOCK_PREFERENCES

    #define GTK_STOCK_PREFERENCES      ((GtkStock)"gtk-preferences")

### Warning

`GTK_STOCK_PREFERENCES` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "preferences-system" or the label "_Preferences".

The "Preferences" item.

### GTK_STOCK_PRINT

    #define GTK_STOCK_PRINT            ((GtkStock)"gtk-print")

### Warning

`GTK_STOCK_PRINT` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "document-print" or the label "_Print".

The "Print" item.

### GTK_STOCK_PRINT_ERROR

    #define GTK_STOCK_PRINT_ERROR      ((GtkStock)"gtk-print-error")

### Warning

`GTK_STOCK_PRINT_ERROR` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "printer-error".

The "Print Error" icon.

Since 2.14

### GTK_STOCK_PRINT_PAUSED

    #define GTK_STOCK_PRINT_PAUSED     ((GtkStock)"gtk-print-paused")

### Warning

`GTK_STOCK_PRINT_PAUSED` is deprecated and should not be used in newly-written code. 3.10

The "Print Paused" icon.

Since 2.14

### GTK_STOCK_PRINT_PREVIEW

    #define GTK_STOCK_PRINT_PREVIEW    ((GtkStock)"gtk-print-preview")

### Warning

`GTK_STOCK_PRINT_PREVIEW` has been deprecated since version 3.10 and should not be used in newly-written code. Use label "Pre_view".

The "Print Preview" item.

### GTK_STOCK_PRINT_REPORT

    #define GTK_STOCK_PRINT_REPORT     ((GtkStock)"gtk-print-report")

### Warning

`GTK_STOCK_PRINT_REPORT` is deprecated and should not be used in newly-written code. 3.10

The "Print Report" icon.

Since 2.14

### GTK_STOCK_PRINT_WARNING

    #define GTK_STOCK_PRINT_WARNING    ((GtkStock)"gtk-print-warning")

### Warning

`GTK_STOCK_PRINT_WARNING` is deprecated and should not be used in newly-written code. 3.10

The "Print Warning" icon.

Since 2.14

### GTK_STOCK_PROPERTIES

    #define GTK_STOCK_PROPERTIES       ((GtkStock)"gtk-properties")

### Warning

`GTK_STOCK_PROPERTIES` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "document-properties" or the label "_Properties".

The "Properties" item.

### GTK_STOCK_QUIT

    #define GTK_STOCK_QUIT             ((GtkStock)"gtk-quit")

### Warning

`GTK_STOCK_QUIT` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "application-exit" or the label "_Quit".

The "Quit" item.

### GTK_STOCK_REDO

    #define GTK_STOCK_REDO             ((GtkStock)"gtk-redo")

### Warning

`GTK_STOCK_REDO` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "edit-redo" or the label "_Redo".

The "Redo" item. RTL variant

### GTK_STOCK_REFRESH

    #define GTK_STOCK_REFRESH          ((GtkStock)"gtk-refresh")

### Warning

`GTK_STOCK_REFRESH` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "view-refresh" or the label "_Refresh".

The "Refresh" item.

### GTK_STOCK_REMOVE

    #define GTK_STOCK_REMOVE           ((GtkStock)"gtk-remove")

### Warning

`GTK_STOCK_REMOVE` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "list-remove" or the label "_Remove".

The "Remove" item.

### GTK_STOCK_REVERT_TO_SAVED

    #define GTK_STOCK_REVERT_TO_SAVED  ((GtkStock)"gtk-revert-to-saved")

### Warning

`GTK_STOCK_REVERT_TO_SAVED` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "document-revert" or the label "_Revert".

The "Revert" item. RTL variant

### GTK_STOCK_SAVE

    #define GTK_STOCK_SAVE             ((GtkStock)"gtk-save")

### Warning

`GTK_STOCK_SAVE` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "document-save" or the label "_Save".

The "Save" item.

### GTK_STOCK_SAVE_AS

    #define GTK_STOCK_SAVE_AS          ((GtkStock)"gtk-save-as")

### Warning

`GTK_STOCK_SAVE_AS` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "document-save-as" or the label "Save _As".

The "Save As" item.

### GTK_STOCK_SELECT_ALL

    #define GTK_STOCK_SELECT_ALL       ((GtkStock)"gtk-select-all")

### Warning

`GTK_STOCK_SELECT_ALL` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "edit-select-all" or the label "Select _All".

The "Select All" item.

Since 2.10

### GTK_STOCK_SELECT_COLOR

    #define GTK_STOCK_SELECT_COLOR     ((GtkStock)"gtk-select-color")

### Warning

`GTK_STOCK_SELECT_COLOR` is deprecated and should not be used in newly-written code. 3.10

The "Color" item.

### GTK_STOCK_SELECT_FONT

    #define GTK_STOCK_SELECT_FONT      ((GtkStock)"gtk-select-font")

### Warning

`GTK_STOCK_SELECT_FONT` is deprecated and should not be used in newly-written code. 3.10

The "Font" item.

### GTK_STOCK_SORT_ASCENDING

    #define GTK_STOCK_SORT_ASCENDING   ((GtkStock)"gtk-sort-ascending")

### Warning

`GTK_STOCK_SORT_ASCENDING` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "view-sort-ascending".

The "Ascending" item.

### GTK_STOCK_SORT_DESCENDING

    #define GTK_STOCK_SORT_DESCENDING  ((GtkStock)"gtk-sort-descending")

### Warning

`GTK_STOCK_SORT_DESCENDING` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "view-sort-descending".

The "Descending" item.

### GTK_STOCK_SPELL_CHECK

    #define GTK_STOCK_SPELL_CHECK      ((GtkStock)"gtk-spell-check")

### Warning

`GTK_STOCK_SPELL_CHECK` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "tools-check-spelling".

The "Spell Check" item.

### GTK_STOCK_STOP

    #define GTK_STOCK_STOP             ((GtkStock)"gtk-stop")

### Warning

`GTK_STOCK_STOP` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "process-stop" or the label "_Stop".

The "Stop" item.

### GTK_STOCK_STRIKETHROUGH

    #define GTK_STOCK_STRIKETHROUGH    ((GtkStock)"gtk-strikethrough")

### Warning

`GTK_STOCK_STRIKETHROUGH` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "format-text-strikethrough" or the label "_Strikethrough".

The "Strikethrough" item.

### GTK_STOCK_UNDELETE

    #define GTK_STOCK_UNDELETE         ((GtkStock)"gtk-undelete")

### Warning

`GTK_STOCK_UNDELETE` is deprecated and should not be used in newly-written code. 3.10

The "Undelete" item. RTL variant

### GTK_STOCK_UNDERLINE

    #define GTK_STOCK_UNDERLINE        ((GtkStock)"gtk-underline")

### Warning

`GTK_STOCK_UNDERLINE` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "format-text-underline" or the label "_Underline".

The "Underline" item.

### GTK_STOCK_UNDO

    #define GTK_STOCK_UNDO             ((GtkStock)"gtk-undo")

### Warning

`GTK_STOCK_UNDO` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "edit-undo" or the label "_Undo".

The "Undo" item. RTL variant

### GTK_STOCK_UNINDENT

    #define GTK_STOCK_UNINDENT         ((GtkStock)"gtk-unindent")

### Warning

`GTK_STOCK_UNINDENT` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "format-indent-less".

The "Unindent" item. RTL variant

Since 2.4

### GTK_STOCK_YES

    #define GTK_STOCK_YES              ((GtkStock)"gtk-yes")

### Warning

`GTK_STOCK_YES` is deprecated and should not be used in newly-written code. 3.10

The "Yes" item.

### GTK_STOCK_ZOOM_100

    #define GTK_STOCK_ZOOM_100         ((GtkStock)"gtk-zoom-100")

### Warning

`GTK_STOCK_ZOOM_100` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "zoom-original" or the label "_Normal Size".

The "Zoom 100%" item.

### GTK_STOCK_ZOOM_FIT

    #define GTK_STOCK_ZOOM_FIT         ((GtkStock)"gtk-zoom-fit")

### Warning

`GTK_STOCK_ZOOM_FIT` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "zoom-fit-best" or the label "Best _Fit".

The "Zoom to Fit" item.

### GTK_STOCK_ZOOM_IN

    #define GTK_STOCK_ZOOM_IN          ((GtkStock)"gtk-zoom-in")

### Warning

`GTK_STOCK_ZOOM_IN` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "zoom-in" or the label "Zoom _In".

The "Zoom In" item.

### GTK_STOCK_ZOOM_OUT

    #define GTK_STOCK_ZOOM_OUT         ((GtkStock)"gtk-zoom-out")

### Warning

`GTK_STOCK_ZOOM_OUT` has been deprecated since version 3.10 and should not be used in newly-written code. Use named icon "zoom-out" or the label "Zoom _Out".

The "Zoom Out" item.