Stock Items
Prebuilt common menu/toolbar items and corresponding icons
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.
@stock_id:
@label:
@modifier:
@keyval:
@translation_domain:
@items:
@n_items:
@items:
@n_items:
@item:
@Returns:
@item:
@Returns:
@stock_id:
@item:
@Returns:
The "Add" item.
The "Apply" item.
The "Bold" item.
The "Cancel" item.
The "CD-Rom" item.
The "Clear" item.
The "Close" item.
The "Color Picker" item.
@Since: 2.2
The "Convert" item.
The "Copy" item.
The "Cut" item.
The "Delete" item.
The "Authentication" item.
@Since: 2.4
The "Error" item.
The "Information" item.
The "Question" item.
The "Warning" item.
The "Drag-And-Drop" icon.
The "Drag-And-Drop multiple" icon.
The "Execute" item.
The "Find" item.
The "Find and Replace" item.
The "Floppy" item.
The "Bottom" item.
The "First" item.
RTL variant
The "Last" item.
RTL variant
The "Top" item.
The "Back" item.
RTL variant
The "Down" item.
The "Forward" item.
RTL variant
The "Up" item.
The "Help" item.
The "Home" item.
The "Index" item.
The "Italic" item.
The "Jump to" item.
RTL-variant
The "Center" item.
The "Fill" item.
The "Left" item.
The "Right" item.
The "Missing image" icon.
The "New" item.
The "No" item.
The "OK" item.
The "Open" item.
The "Paste" item.
The "Preferences" item.
The "Print" item.
The "Print Preview" item.
The "Properties" item.
The "Quit" item.
The "Redo" item.
RTL variant
The "Refresh" item.
The "Remove" item.
The "Revert" item.
RTL variant
The "Save" item.
The "Save As" item.
The "Color" item.
The "Font" item.
The "Ascending" item.
The "Descending" item.
The "Spell Check" item.
The "Stop" item.
The "Strikethrough" item.
The "Undelete" item.
RTL variant
The "Underline" item.
The "Undo" item.
RTL variant
The "Yes" item.
The "Zoom 100%" item.
The "Zoom to Fit" item.
The "Zoom In" item.
The "Zoom Out" item.