## Stock Items

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

## 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

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. 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.

## Functions

### gtk_stock_add ()

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

`gtk_stock_add` has been deprecated since version 3.10 and should not be used in newly-written code.

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.

#### Parameters

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);

`gtk_stock_add_static` has been deprecated since version 3.10 and should not be used in newly-written code.

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

#### Parameters

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);

`gtk_stock_item_copy` has been deprecated since version 3.10 and should not be used in newly-written code.

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

[skip]

#### Parameters

item | a GtkStockItem |

#### Returns

a new GtkStockItem

### gtk_stock_item_free ()

    void
    gtk_stock_item_free (GtkStockItem *item);

`gtk_stock_item_free` has been deprecated since version 3.10 and should not be used in newly-written code.

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`.

#### Parameters

item | a GtkStockItem |

### gtk_stock_list_ids ()

    GSList *
    gtk_stock_list_ids (void);

`gtk_stock_list_ids` has been deprecated since version 3.10 and should not be used in newly-written code.

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);

`gtk_stock_lookup` has been deprecated since version 3.10 and should not be used in newly-written code.

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

#### Parameters

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);

`gtk_stock_set_translate_func` has been deprecated since version 3.10 and should not be used in newly-written code.

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");

#### Parameters

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

## Types and Values

### struct GtkStockItem

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

`GtkStockItem` has been deprecated since version 3.10 and should not be used in newly-written code.

#### Members

gchar *`stock_id`; | Identifier. |
gchar *`label`; | User visible label. |
GdkModifierType `modifier`; | Modifier type for keyboard accelerator |
guint `keyval`; | Keyboard accelerator |
gchar *`translation_domain`; | Translation domain of the menu or toolbar item |

### GTK_STOCK_ABOUT

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

`GTK_STOCK_ABOUT` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;help-about&quot; or the label &quot;_About&quot;.

The “About” item.

Since: 2.6

### GTK_STOCK_ADD

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

`GTK_STOCK_ADD` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;list-add&quot; or the label &quot;_Add&quot;.

The “Add” item and icon.

### GTK_STOCK_APPLY

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

`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 &quot;_Apply&quot;.

The “Apply” item and icon.

### GTK_STOCK_BOLD

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

`GTK_STOCK_BOLD` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;format-text-bold&quot;.

The “Bold” item and icon.

### GTK_STOCK_CANCEL

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

`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 &quot;_Cancel&quot;.

The “Cancel” item and icon.

### GTK_STOCK_CAPS_LOCK_WARNING

    #define GTK_STOCK_CAPS_LOCK_WARNING ((GtkStock)"gtk-caps-lock-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 &quot;dialog-warning-symbolic&quot;.

The “Caps Lock Warning” icon.

Since: 2.16

### GTK_STOCK_CDROM

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

`GTK_STOCK_CDROM` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;media-optical&quot;.

The “CD-Rom” item and icon.

### GTK_STOCK_CLEAR

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

`GTK_STOCK_CLEAR` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;edit-clear&quot;.

The “Clear” item and icon.

### GTK_STOCK_CLOSE

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

`GTK_STOCK_CLOSE` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;window-close&quot; or the label &quot;_Close&quot;.

The “Close” item and icon.

### GTK_STOCK_COLOR_PICKER

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

`GTK_STOCK_COLOR_PICKER` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Color Picker” item and icon.

Since: 2.2

### GTK_STOCK_CONVERT

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

`GTK_STOCK_CONVERT` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Convert” item and icon.

### GTK_STOCK_CONNECT

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

`GTK_STOCK_CONNECT` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Connect” icon.

Since: 2.6

### GTK_STOCK_COPY

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

`GTK_STOCK_COPY` has been deprecated since version 3.10 and should not be used in newly-written code.

Use the named icon &quot;edit-copy&quot; or the label &quot;_Copy&quot;.

The “Copy” item and icon.

### GTK_STOCK_CUT

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

`GTK_STOCK_CUT` has been deprecated since version 3.10 and should not be used in newly-written code.

Use the named icon &quot;edit-cut&quot; or the label &quot;Cu_t&quot;.

The “Cut” item and icon.

### GTK_STOCK_DELETE

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

`GTK_STOCK_DELETE` has been deprecated since version 3.10 and should not be used in newly-written code.

Use the named icon &quot;edit-delete&quot; or the label &quot;_Delete&quot;.

The “Delete” item and icon.

### GTK_STOCK_DIALOG_AUTHENTICATION

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

`GTK_STOCK_DIALOG_AUTHENTICATION` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;dialog-password&quot;.

The “Authentication” item and icon.

Since: 2.4

### GTK_STOCK_DIALOG_ERROR

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

`GTK_STOCK_DIALOG_ERROR` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;dialog-error&quot;.

The “Error” item and icon.

### GTK_STOCK_DIALOG_INFO

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

`GTK_STOCK_DIALOG_INFO` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;dialog-information&quot;.

The “Information” item and icon.

### GTK_STOCK_DIALOG_QUESTION

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

`GTK_STOCK_DIALOG_QUESTION` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;dialog-question&quot;.

The “Question” item and icon.

### GTK_STOCK_DIALOG_WARNING

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

`GTK_STOCK_DIALOG_WARNING` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;dialog-warning&quot;.

The “Warning” item and icon.

### GTK_STOCK_DIRECTORY

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

`GTK_STOCK_DIRECTORY` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;folder&quot;.

The “Directory” icon.

Since: 2.6

### GTK_STOCK_DISCARD

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

`GTK_STOCK_DISCARD` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Discard” item.

Since: 2.12

### GTK_STOCK_DISCONNECT

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

`GTK_STOCK_DISCONNECT` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Disconnect” icon.

Since: 2.6

### GTK_STOCK_DND

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

`GTK_STOCK_DND` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Drag-And-Drop” icon.

### GTK_STOCK_DND_MULTIPLE

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

`GTK_STOCK_DND_MULTIPLE` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Drag-And-Drop multiple” icon.

### GTK_STOCK_EDIT

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

`GTK_STOCK_EDIT` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Edit” item and icon.

Since: 2.6

### GTK_STOCK_EXECUTE

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

`GTK_STOCK_EXECUTE` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;system-run&quot;.

The “Execute” item and icon.

### GTK_STOCK_FILE

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

`GTK_STOCK_FILE` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;text-x-generic&quot;.

The “File” item and icon.

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")

`GTK_STOCK_FIND` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;edit-find&quot;.

The “Find” item and icon.

### GTK_STOCK_FIND_AND_REPLACE

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

`GTK_STOCK_FIND_AND_REPLACE` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;edit-find-replace&quot;.

The “Find and Replace” item and icon.

### GTK_STOCK_FLOPPY

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

`GTK_STOCK_FLOPPY` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Floppy” item and icon.

### GTK_STOCK_FULLSCREEN

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

`GTK_STOCK_FULLSCREEN` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;view-fullscreen&quot;.

The “Fullscreen” item and icon.

Since: 2.8

### GTK_STOCK_GOTO_BOTTOM

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

`GTK_STOCK_GOTO_BOTTOM` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;go-bottom&quot;.

The “Bottom” item and icon.

### GTK_STOCK_GOTO_FIRST

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

`GTK_STOCK_GOTO_FIRST` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;go-first&quot;.

The “First” item and icon. The icon has an RTL variant.

### GTK_STOCK_GOTO_LAST

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

`GTK_STOCK_GOTO_LAST` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;go-last&quot;.

The “Last” item and icon. The icon has an RTL variant.

### GTK_STOCK_GOTO_TOP

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

`GTK_STOCK_GOTO_TOP` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;go-top&quot;.

The “Top” item and icon.

### GTK_STOCK_GO_BACK

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

`GTK_STOCK_GO_BACK` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;go-previous&quot;.

The “Back” item and icon. The icon has an RTL variant.

### GTK_STOCK_GO_DOWN

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

`GTK_STOCK_GO_DOWN` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;go-down&quot;.

The “Down” item and icon.

### GTK_STOCK_GO_FORWARD

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

`GTK_STOCK_GO_FORWARD` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;go-next&quot;.

The “Forward” item and icon. The icon has an RTL variant.

### GTK_STOCK_GO_UP

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

`GTK_STOCK_GO_UP` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;go-up&quot;.

The “Up” item and icon.

### GTK_STOCK_HARDDISK

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

`GTK_STOCK_HARDDISK` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;drive-harddisk&quot;.

The “Harddisk” item and icon.

Since: 2.4

### GTK_STOCK_HELP

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

`GTK_STOCK_HELP` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;help-browser&quot;.

The “Help” item and icon.

### GTK_STOCK_HOME

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

`GTK_STOCK_HOME` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;go-home&quot;.

The “Home” item and icon.

### GTK_STOCK_INDENT

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

`GTK_STOCK_INDENT` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;format-indent-more&quot;.

The “Indent” item and icon. The icon has an RTL variant.

Since: 2.4

### GTK_STOCK_INDEX

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

`GTK_STOCK_INDEX` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Index” item and icon.

### GTK_STOCK_INFO

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

`GTK_STOCK_INFO` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;dialog-information&quot;.

The “Info” item and icon.

Since: 2.8

### GTK_STOCK_ITALIC

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

`GTK_STOCK_ITALIC` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;format-text-italic&quot;.

The “Italic” item and icon.

### GTK_STOCK_JUMP_TO

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

`GTK_STOCK_JUMP_TO` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;go-jump&quot;.

The “Jump to” item and icon. The icon has an RTL variant.

### GTK_STOCK_JUSTIFY_CENTER

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

`GTK_STOCK_JUSTIFY_CENTER` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;format-justify-center&quot;.

The “Center” item and icon.

### GTK_STOCK_JUSTIFY_FILL

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

`GTK_STOCK_JUSTIFY_FILL` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;format-justify-fill&quot;.

The “Fill” item and icon.

### GTK_STOCK_JUSTIFY_LEFT

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

`GTK_STOCK_JUSTIFY_LEFT` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;format-justify-left&quot;.

The “Left” item and icon.

### GTK_STOCK_JUSTIFY_RIGHT

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

`GTK_STOCK_JUSTIFY_RIGHT` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;format-justify-right&quot;.

The “Right” item and icon.

### GTK_STOCK_LEAVE_FULLSCREEN

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

`GTK_STOCK_LEAVE_FULLSCREEN` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;view-restore&quot;.

The “Leave Fullscreen” item and icon.

Since: 2.8

### GTK_STOCK_MEDIA_FORWARD

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

`GTK_STOCK_MEDIA_FORWARD` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;media-seek-forward&quot; or the label &quot;_Forward&quot;.

The “Media Forward” item and icon. The icon has an RTL variant.

Since: 2.6

### GTK_STOCK_MEDIA_NEXT

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

`GTK_STOCK_MEDIA_NEXT` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;media-skip-forward&quot; or the label &quot;_Next&quot;.

The “Media Next” item and icon. The icon has an RTL variant.

Since: 2.6

### GTK_STOCK_MEDIA_PAUSE

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

`GTK_STOCK_MEDIA_PAUSE` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;media-playback-pause&quot; or the label &quot;P_ause&quot;.

The “Media Pause” item and icon.

Since: 2.6

### GTK_STOCK_MEDIA_PLAY

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

`GTK_STOCK_MEDIA_PLAY` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;media-playback-start&quot; or the label &quot;_Play&quot;.

The “Media Play” item and icon. The icon has an RTL variant.

Since: 2.6

### GTK_STOCK_MEDIA_PREVIOUS

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

`GTK_STOCK_MEDIA_PREVIOUS` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;media-skip-backward&quot; or the label &quot;Pre_vious&quot;.

The “Media Previous” item and icon. The icon has an RTL variant.

Since: 2.6

### GTK_STOCK_MEDIA_RECORD

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

`GTK_STOCK_MEDIA_RECORD` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;media-record&quot; or the label &quot;_Record&quot;.

The “Media Record” item and icon.

Since: 2.6

### GTK_STOCK_MEDIA_REWIND

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

`GTK_STOCK_MEDIA_REWIND` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;media-seek-backward&quot; or the label &quot;R_ewind&quot;.

The “Media Rewind” item and icon. The icon has an RTL variant.

Since: 2.6

### GTK_STOCK_MEDIA_STOP

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

`GTK_STOCK_MEDIA_STOP` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;media-playback-stop&quot; or the label &quot;_Stop&quot;.

The “Media Stop” item and icon.

Since: 2.6

### GTK_STOCK_MISSING_IMAGE

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

`GTK_STOCK_MISSING_IMAGE` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;image-missing&quot;.

The “Missing image” icon.

### GTK_STOCK_NETWORK

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

`GTK_STOCK_NETWORK` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;network-workgroup&quot;.

The “Network” item and icon.

Since: 2.4

### GTK_STOCK_NEW

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

`GTK_STOCK_NEW` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;document-new&quot; or the label &quot;_New&quot;.

The “New” item and icon.

### GTK_STOCK_NO

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

`GTK_STOCK_NO` has been deprecated since version 3.10 and should not be used in newly-written code.

The “No” item and icon.

### GTK_STOCK_OK

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

`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 &quot;_OK&quot;.

The “OK” item and icon.

### GTK_STOCK_OPEN

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

`GTK_STOCK_OPEN` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;document-open&quot; or the label &quot;_Open&quot;.

The “Open” item and icon.

### GTK_STOCK_ORIENTATION_LANDSCAPE

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

`GTK_STOCK_ORIENTATION_LANDSCAPE` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Landscape Orientation” item and icon.

Since: 2.10

### GTK_STOCK_ORIENTATION_PORTRAIT

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

`GTK_STOCK_ORIENTATION_PORTRAIT` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Portrait Orientation” item and icon.

Since: 2.10

### GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE

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

`GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Reverse Landscape Orientation” item and icon.

Since: 2.10

### GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT

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

`GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Reverse Portrait Orientation” item and icon.

Since: 2.10

### GTK_STOCK_PAGE_SETUP

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

`GTK_STOCK_PAGE_SETUP` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;document-page-setup&quot; or the label &quot;Page Set_up&quot;.

The “Page Setup” item and icon.

Since: 2.14

### GTK_STOCK_PASTE

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

`GTK_STOCK_PASTE` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;edit-paste&quot; or the label &quot;_Paste&quot;.

The “Paste” item and icon.

### GTK_STOCK_PREFERENCES

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

`GTK_STOCK_PREFERENCES` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;preferences-system&quot; or the label &quot;_Preferences&quot;.

The “Preferences” item and icon.

### GTK_STOCK_PRINT

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

`GTK_STOCK_PRINT` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;document-print&quot; or the label &quot;_Print&quot;.

The “Print” item and icon.

### GTK_STOCK_PRINT_ERROR

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

`GTK_STOCK_PRINT_ERROR` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;printer-error&quot;.

The “Print Error” icon.

Since: 2.14

### GTK_STOCK_PRINT_PAUSED

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

`GTK_STOCK_PRINT_PAUSED` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Print Paused” icon.

Since: 2.14

### GTK_STOCK_PRINT_PREVIEW

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

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

Use label &quot;Pre_view&quot;.

The “Print Preview” item and icon.

### GTK_STOCK_PRINT_REPORT

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

`GTK_STOCK_PRINT_REPORT` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Print Report” icon.

Since: 2.14

### GTK_STOCK_PRINT_WARNING

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

`GTK_STOCK_PRINT_WARNING` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Print Warning” icon.

Since: 2.14

### GTK_STOCK_PROPERTIES

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

`GTK_STOCK_PROPERTIES` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;document-properties&quot; or the label &quot;_Properties&quot;.

The “Properties” item and icon.

### GTK_STOCK_QUIT

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

`GTK_STOCK_QUIT` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;application-exit&quot; or the label &quot;_Quit&quot;.

The “Quit” item and icon.

### GTK_STOCK_REDO

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

`GTK_STOCK_REDO` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;edit-redo&quot; or the label &quot;_Redo&quot;.

The “Redo” item and icon. The icon has an RTL variant.

### GTK_STOCK_REFRESH

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

`GTK_STOCK_REFRESH` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;view-refresh&quot; or the label &quot;_Refresh&quot;.

The “Refresh” item and icon.

### GTK_STOCK_REMOVE

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

`GTK_STOCK_REMOVE` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;list-remove&quot; or the label &quot;_Remove&quot;.

The “Remove” item and icon.

### GTK_STOCK_REVERT_TO_SAVED

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

`GTK_STOCK_REVERT_TO_SAVED` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;document-revert&quot; or the label &quot;_Revert&quot;.

The “Revert” item and icon. The icon has an RTL variant.

### GTK_STOCK_SAVE

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

`GTK_STOCK_SAVE` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;document-save&quot; or the label &quot;_Save&quot;.

The “Save” item and icon.

### GTK_STOCK_SAVE_AS

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

`GTK_STOCK_SAVE_AS` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;document-save-as&quot; or the label &quot;Save _As&quot;.

The “Save As” item and icon.

### GTK_STOCK_SELECT_ALL

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

`GTK_STOCK_SELECT_ALL` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;edit-select-all&quot; or the label &quot;Select _All&quot;.

The “Select All” item and icon.

Since: 2.10

### GTK_STOCK_SELECT_COLOR

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

`GTK_STOCK_SELECT_COLOR` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Color” item and icon.

### GTK_STOCK_SELECT_FONT

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

`GTK_STOCK_SELECT_FONT` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Font” item and icon.

### GTK_STOCK_SORT_ASCENDING

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

`GTK_STOCK_SORT_ASCENDING` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;view-sort-ascending&quot;.

The “Ascending” item and icon.

### GTK_STOCK_SORT_DESCENDING

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

`GTK_STOCK_SORT_DESCENDING` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;view-sort-descending&quot;.

The “Descending” item and icon.

### GTK_STOCK_SPELL_CHECK

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

`GTK_STOCK_SPELL_CHECK` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;tools-check-spelling&quot;.

The “Spell Check” item and icon.

### GTK_STOCK_STOP

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

`GTK_STOCK_STOP` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;process-stop&quot; or the label &quot;_Stop&quot;.

The “Stop” item and icon.

### GTK_STOCK_STRIKETHROUGH

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

`GTK_STOCK_STRIKETHROUGH` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;format-text-strikethrough&quot; or the label &quot;_Strikethrough&quot;.

The “Strikethrough” item and icon.

### GTK_STOCK_UNDELETE

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

`GTK_STOCK_UNDELETE` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Undelete” item and icon. The icon has an RTL variant.

### GTK_STOCK_UNDERLINE

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

`GTK_STOCK_UNDERLINE` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;format-text-underline&quot; or the label &quot;_Underline&quot;.

The “Underline” item and icon.

### GTK_STOCK_UNDO

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

`GTK_STOCK_UNDO` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;edit-undo&quot; or the label &quot;_Undo&quot;.

The “Undo” item and icon. The icon has an RTL variant.

### GTK_STOCK_UNINDENT

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

`GTK_STOCK_UNINDENT` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;format-indent-less&quot;.

The “Unindent” item and icon. The icon has an RTL variant.

Since: 2.4

### GTK_STOCK_YES

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

`GTK_STOCK_YES` has been deprecated since version 3.10 and should not be used in newly-written code.

The “Yes” item and icon.

### GTK_STOCK_ZOOM_100

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

`GTK_STOCK_ZOOM_100` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;zoom-original&quot; or the label &quot;_Normal Size&quot;.

The “Zoom 100%” item and icon.

### GTK_STOCK_ZOOM_FIT

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

`GTK_STOCK_ZOOM_FIT` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;zoom-fit-best&quot; or the label &quot;Best _Fit&quot;.

The “Zoom to Fit” item and icon.

### GTK_STOCK_ZOOM_IN

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

`GTK_STOCK_ZOOM_IN` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;zoom-in&quot; or the label &quot;Zoom _In&quot;.

The “Zoom In” item and icon.

### GTK_STOCK_ZOOM_OUT

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

`GTK_STOCK_ZOOM_OUT` has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon &quot;zoom-out&quot; or the label &quot;Zoom _Out&quot;.

The “Zoom Out” item and icon.