1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
6 Prebuilt common menu/toolbar items and corresponding icons
8 <!-- ##### SECTION Long_Description ##### -->
10 Stock items represent commonly-used menu or toolbar items such as
11 "Open" or "Exit". Each stock item is identified by a stock ID;
12 stock IDs are just strings, but macros such as #GTK_STOCK_OPEN are
13 provided to avoid typing mistakes in the strings.
14 Applications can register their own stock items in addition to those
18 Each stock ID can be associated with a #GtkStockItem, which contains
19 the user-visible label, keyboard accelerator, and translation domain
20 of the menu or toolbar item; and/or with an icon stored in a
21 #GtkIconFactory. See <link
22 linkend="gtk-Themeable-Stock-Images">GtkIconFactory</link> for
23 more information on stock icons. The connection between a
24 #GtkStockItem and stock icons is purely conventional (by virtue of
25 using the same stock ID); it's possible to register a stock item but
26 no icon, and vice versa.
29 <!-- ##### SECTION See_Also ##### -->
34 <!-- ##### STRUCT GtkStockItem ##### -->
45 <!-- ##### FUNCTION gtk_stock_add ##### -->
54 <!-- ##### FUNCTION gtk_stock_add_static ##### -->
63 <!-- ##### FUNCTION gtk_stock_item_copy ##### -->
72 <!-- ##### FUNCTION gtk_stock_item_free ##### -->
80 <!-- ##### FUNCTION gtk_stock_list_ids ##### -->
88 <!-- ##### FUNCTION gtk_stock_lookup ##### -->
98 <!-- ##### MACRO GTK_STOCK_ADD ##### -->
101 <inlinegraphic fileref="stock_add_24.png" format="PNG"></inlinegraphic>
106 <!-- ##### MACRO GTK_STOCK_APPLY ##### -->
109 <inlinegraphic fileref="stock_apply_20.png" format="PNG"></inlinegraphic>
114 <!-- ##### MACRO GTK_STOCK_BOLD ##### -->
117 <inlinegraphic fileref="stock_text_bold_24.png" format="PNG"></inlinegraphic>
122 <!-- ##### MACRO GTK_STOCK_CANCEL ##### -->
125 <inlinegraphic fileref="stock_cancel_20.png" format="PNG"></inlinegraphic>
130 <!-- ##### MACRO GTK_STOCK_CDROM ##### -->
133 <inlinegraphic fileref="stock_cdrom_24.png" format="PNG"></inlinegraphic>
138 <!-- ##### MACRO GTK_STOCK_CLEAR ##### -->
141 <inlinegraphic fileref="stock_clear_24.png" format="PNG"></inlinegraphic>
146 <!-- ##### MACRO GTK_STOCK_CLOSE ##### -->
149 <inlinegraphic fileref="stock_close_24.png" format="PNG"></inlinegraphic>
154 <!-- ##### MACRO GTK_STOCK_CONVERT ##### -->
157 <inlinegraphic fileref="stock_convert_24.png" format="PNG"></inlinegraphic>
162 <!-- ##### MACRO GTK_STOCK_COPY ##### -->
165 <inlinegraphic fileref="stock_copy_24.png" format="PNG"></inlinegraphic>
170 <!-- ##### MACRO GTK_STOCK_CUT ##### -->
173 <inlinegraphic fileref="stock_cut_24.png" format="PNG"></inlinegraphic>
178 <!-- ##### MACRO GTK_STOCK_DELETE ##### -->
181 <inlinegraphic fileref="stock_trash_24.png" format="PNG"></inlinegraphic>
186 <!-- ##### MACRO GTK_STOCK_DIALOG_ERROR ##### -->
189 <inlinegraphic fileref="stock_dialog_error_48.png" format="PNG"></inlinegraphic>
194 <!-- ##### MACRO GTK_STOCK_DIALOG_INFO ##### -->
196 The "Information" item.
197 <inlinegraphic fileref="stock_dialog_info_48.png" format="PNG"></inlinegraphic>
202 <!-- ##### MACRO GTK_STOCK_DIALOG_QUESTION ##### -->
205 <inlinegraphic fileref="stock_dialog_question_48.png" format="PNG"></inlinegraphic>
210 <!-- ##### MACRO GTK_STOCK_DIALOG_WARNING ##### -->
213 <inlinegraphic fileref="stock_dialog_warning_48.png" format="PNG"></inlinegraphic>
218 <!-- ##### MACRO GTK_STOCK_DND ##### -->
220 The "Drag-And-Drop" icon.
221 <inlinegraphic fileref="stock_dnd_32.png" format="PNG"></inlinegraphic>
226 <!-- ##### MACRO GTK_STOCK_DND_MULTIPLE ##### -->
228 The "Drag-And-Drop multiple" icon.
229 <inlinegraphic fileref="stock_dnd_multiple_32.png" format="PNG"></inlinegraphic>
234 <!-- ##### MACRO GTK_STOCK_EXECUTE ##### -->
237 <inlinegraphic fileref="stock_exec_24.png" format="PNG"></inlinegraphic>
242 <!-- ##### MACRO GTK_STOCK_FIND ##### -->
245 <inlinegraphic fileref="stock_search_24.png" format="PNG"></inlinegraphic>
250 <!-- ##### MACRO GTK_STOCK_FIND_AND_REPLACE ##### -->
252 The "Find and Replace" item.
253 <inlinegraphic fileref="stock_search_replace_24.png" format="PNG"></inlinegraphic>
258 <!-- ##### MACRO GTK_STOCK_FLOPPY ##### -->
261 <inlinegraphic fileref="stock_save_24.png" format="PNG"></inlinegraphic>
266 <!-- ##### MACRO GTK_STOCK_GOTO_BOTTOM ##### -->
269 <inlinegraphic fileref="stock_bottom_24.png" format="PNG"></inlinegraphic>
274 <!-- ##### MACRO GTK_STOCK_GOTO_FIRST ##### -->
277 <inlinegraphic fileref="stock_first_24.png" format="PNG"></inlinegraphic>
282 <!-- ##### MACRO GTK_STOCK_GOTO_LAST ##### -->
285 <inlinegraphic fileref="stock_last_24.png" format="PNG"></inlinegraphic>
290 <!-- ##### MACRO GTK_STOCK_GOTO_TOP ##### -->
293 <inlinegraphic fileref="stock_top_24.png" format="PNG"></inlinegraphic>
298 <!-- ##### MACRO GTK_STOCK_GO_BACK ##### -->
301 <inlinegraphic fileref="stock_left_arrow_24.png" format="PNG"></inlinegraphic>
306 <!-- ##### MACRO GTK_STOCK_GO_DOWN ##### -->
309 <inlinegraphic fileref="stock_down_arrow_24.png" format="PNG"></inlinegraphic>
314 <!-- ##### MACRO GTK_STOCK_GO_FORWARD ##### -->
317 <inlinegraphic fileref="stock_right_arrow_24.png" format="PNG"></inlinegraphic>
322 <!-- ##### MACRO GTK_STOCK_GO_UP ##### -->
325 <inlinegraphic fileref="stock_up_arrow_24.png" format="PNG"></inlinegraphic>
330 <!-- ##### MACRO GTK_STOCK_HELP ##### -->
333 <inlinegraphic fileref="stock_help_24.png" format="PNG"></inlinegraphic>
338 <!-- ##### MACRO GTK_STOCK_HOME ##### -->
341 <inlinegraphic fileref="stock_home_24.png" format="PNG"></inlinegraphic>
346 <!-- ##### MACRO GTK_STOCK_INDEX ##### -->
349 <inlinegraphic fileref="stock_index_24.png" format="PNG"></inlinegraphic>
354 <!-- ##### MACRO GTK_STOCK_ITALIC ##### -->
357 <inlinegraphic fileref="stock_text_italic_24.png" format="PNG"></inlinegraphic>
362 <!-- ##### MACRO GTK_STOCK_JUMP_TO ##### -->
365 <inlinegraphic fileref="stock_jump_to_24.png" format="PNG"></inlinegraphic>
370 <!-- ##### MACRO GTK_STOCK_JUSTIFY_CENTER ##### -->
373 <inlinegraphic fileref="stock_align_center_24.png" format="PNG"></inlinegraphic>
378 <!-- ##### MACRO GTK_STOCK_JUSTIFY_FILL ##### -->
381 <inlinegraphic fileref="stock_align_justify_24.png" format="PNG"></inlinegraphic>
386 <!-- ##### MACRO GTK_STOCK_JUSTIFY_LEFT ##### -->
389 <inlinegraphic fileref="stock_align_left_24.png" format="PNG"></inlinegraphic>
394 <!-- ##### MACRO GTK_STOCK_JUSTIFY_RIGHT ##### -->
397 <inlinegraphic fileref="stock_align_right_24.png" format="PNG"></inlinegraphic>
402 <!-- ##### MACRO GTK_STOCK_MISSING_IMAGE ##### -->
404 The "Missing image" icon.
405 <inlinegraphic fileref="stock_broken_image_24.png" format="PNG"></inlinegraphic>
410 <!-- ##### MACRO GTK_STOCK_NEW ##### -->
413 <inlinegraphic fileref="stock_new_24.png" format="PNG"></inlinegraphic>
418 <!-- ##### MACRO GTK_STOCK_NO ##### -->
421 <inlinegraphic fileref="stock_no_20.png" format="PNG"></inlinegraphic>
426 <!-- ##### MACRO GTK_STOCK_OK ##### -->
429 <inlinegraphic fileref="stock_ok_20.png" format="PNG"></inlinegraphic>
434 <!-- ##### MACRO GTK_STOCK_OPEN ##### -->
437 <inlinegraphic fileref="stock_open_24.png" format="PNG"></inlinegraphic>
442 <!-- ##### MACRO GTK_STOCK_PASTE ##### -->
445 <inlinegraphic fileref="stock_paste_24.png" format="PNG"></inlinegraphic>
450 <!-- ##### MACRO GTK_STOCK_PREFERENCES ##### -->
452 The "Preferences" item.
453 <inlinegraphic fileref="stock_preferences_24.png" format="PNG"></inlinegraphic>
458 <!-- ##### MACRO GTK_STOCK_PRINT ##### -->
461 <inlinegraphic fileref="stock_print_24.png" format="PNG"></inlinegraphic>
466 <!-- ##### MACRO GTK_STOCK_PRINT_PREVIEW ##### -->
468 The "Print Preview" item.
469 <inlinegraphic fileref="stock_print_preview_24.png" format="PNG"></inlinegraphic>
474 <!-- ##### MACRO GTK_STOCK_PROPERTIES ##### -->
476 The "Properties" item.
477 <inlinegraphic fileref="stock_properties_24.png" format="PNG"></inlinegraphic>
482 <!-- ##### MACRO GTK_STOCK_QUIT ##### -->
485 <inlinegraphic fileref="stock_exit_24.png" format="PNG"></inlinegraphic>
490 <!-- ##### MACRO GTK_STOCK_REDO ##### -->
493 <inlinegraphic fileref="stock_redo_24.png" format="PNG"></inlinegraphic>
498 <!-- ##### MACRO GTK_STOCK_REFRESH ##### -->
501 <inlinegraphic fileref="stock_refresh_24.png" format="PNG"></inlinegraphic>
506 <!-- ##### MACRO GTK_STOCK_REMOVE ##### -->
509 <inlinegraphic fileref="stock_remove_24.png" format="PNG"></inlinegraphic>
514 <!-- ##### MACRO GTK_STOCK_REVERT_TO_SAVED ##### -->
517 <inlinegraphic fileref="stock_revert_24.png" format="PNG"></inlinegraphic>
522 <!-- ##### MACRO GTK_STOCK_SAVE ##### -->
525 <inlinegraphic fileref="stock_save_24.png" format="PNG"></inlinegraphic>
530 <!-- ##### MACRO GTK_STOCK_SAVE_AS ##### -->
533 <inlinegraphic fileref="stock_save_as_24.png" format="PNG"></inlinegraphic>
538 <!-- ##### MACRO GTK_STOCK_SELECT_COLOR ##### -->
541 <inlinegraphic fileref="stock_colorselector_24.png" format="PNG"></inlinegraphic>
546 <!-- ##### MACRO GTK_STOCK_SELECT_FONT ##### -->
549 <inlinegraphic fileref="stock_font_24.png" format="PNG"></inlinegraphic>
554 <!-- ##### MACRO GTK_STOCK_SORT_ASCENDING ##### -->
556 The "Ascending" item.
557 <inlinegraphic fileref="stock_sort_ascending_24.png" format="PNG"></inlinegraphic>
562 <!-- ##### MACRO GTK_STOCK_SORT_DESCENDING ##### -->
564 The "Descending" item.
565 <inlinegraphic fileref="stock_sort_descending_24.png" format="PNG"></inlinegraphic>
570 <!-- ##### MACRO GTK_STOCK_SPELL_CHECK ##### -->
572 The "Spell Check" item.
573 <inlinegraphic fileref="stock_spellcheck_24.png" format="PNG"></inlinegraphic>
578 <!-- ##### MACRO GTK_STOCK_STOP ##### -->
581 <inlinegraphic fileref="stock_stop_24.png" format="PNG"></inlinegraphic>
586 <!-- ##### MACRO GTK_STOCK_STRIKETHROUGH ##### -->
588 The "Strikethrough" item.
589 <inlinegraphic fileref="stock_text_strikethrough_24.png" format="PNG"></inlinegraphic>
594 <!-- ##### MACRO GTK_STOCK_UNDELETE ##### -->
597 <inlinegraphic fileref="stock_undelete_24.png" format="PNG"></inlinegraphic>
602 <!-- ##### MACRO GTK_STOCK_UNDERLINE ##### -->
604 The "Underline" item.
605 <inlinegraphic fileref="stock_text_underline_24.png" format="PNG"></inlinegraphic>
610 <!-- ##### MACRO GTK_STOCK_UNDO ##### -->
613 <inlinegraphic fileref="stock_undo_24.png" format="PNG"></inlinegraphic>
618 <!-- ##### MACRO GTK_STOCK_YES ##### -->
621 <inlinegraphic fileref="stock_yes_20.png" format="PNG"></inlinegraphic>
626 <!-- ##### MACRO GTK_STOCK_ZOOM_100 ##### -->
628 The "Zoom 100%" item.
629 <inlinegraphic fileref="stock_zoom_1_24.png" format="PNG"></inlinegraphic>
634 <!-- ##### MACRO GTK_STOCK_ZOOM_FIT ##### -->
636 The "Zoom to Fit" item.
637 <inlinegraphic fileref="stock_zoom_fit_24.png" format="PNG"></inlinegraphic>
642 <!-- ##### MACRO GTK_STOCK_ZOOM_IN ##### -->
645 <inlinegraphic fileref="stock_zoom_in_24.png" format="PNG"></inlinegraphic>
650 <!-- ##### MACRO GTK_STOCK_ZOOM_OUT ##### -->
653 <inlinegraphic fileref="stock_zoom_out_24.png" format="PNG"></inlinegraphic>