/* GTK - The GIMP Toolkit * Copyright (C) 2000 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library. If not, see . */ /* * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * file for a list of people on the GTK+ Team. See the ChangeLog * files for a list of changes. These files are distributed with * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ #ifndef __GTK_STOCK_H__ #define __GTK_STOCK_H__ #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." #endif #include G_BEGIN_DECLS /** * GtkTranslateFunc: * @path: The id of the message. In #GtkActionGroup this will be a label * or tooltip from a #GtkActionEntry. * @func_data: (closure): user data passed in when registering the * function * * The function used to translate messages in e.g. #GtkIconFactory * and #GtkActionGroup. * * Returns: the translated message * * Deprecated: 3.10 */ typedef gchar * (*GtkTranslateFunc) (const gchar *path, gpointer func_data); typedef struct _GtkStockItem GtkStockItem; /** * GtkStockItem: * @stock_id: Identifier. * @label: User visible label. * @modifier: Modifier type for keyboard accelerator * @keyval: Keyboard accelerator * @translation_domain: Translation domain of the menu or toolbar item * * Deprecated: 3.10 */ struct _GtkStockItem { gchar *stock_id; gchar *label; GdkModifierType modifier; guint keyval; gchar *translation_domain; }; GDK_DEPRECATED_IN_3_10 void gtk_stock_add (const GtkStockItem *items, guint n_items); GDK_DEPRECATED_IN_3_10 void gtk_stock_add_static (const GtkStockItem *items, guint n_items); GDK_DEPRECATED_IN_3_10 gboolean gtk_stock_lookup (const gchar *stock_id, GtkStockItem *item); /* Should free the list (and free each string in it also). * This function is only useful for GUI builders and such. */ GDK_DEPRECATED_IN_3_10 GSList* gtk_stock_list_ids (void); GDK_DEPRECATED_IN_3_10 GtkStockItem *gtk_stock_item_copy (const GtkStockItem *item); GDK_DEPRECATED_IN_3_10 void gtk_stock_item_free (GtkStockItem *item); GDK_DEPRECATED_IN_3_10 void gtk_stock_set_translate_func (const gchar *domain, GtkTranslateFunc func, gpointer data, GDestroyNotify notify); /* the following type exists just so we can get deprecation warnings */ #ifndef GDK_DISABLE_DEPRECATION_WARNINGS #if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_10 G_DEPRECATED #endif #endif typedef char * GtkStock; #ifndef GTK_DISABLE_DEPRECATED /* Stock IDs (not all are stock items; some are images only) */ /** * GTK_STOCK_ABOUT: * * The “About” item. * ![](help-about.png) * * Since: 2.6 * * Deprecated: 3.10: Use named icon "help-about" or the label "_About". */ #define GTK_STOCK_ABOUT ((GtkStock)"gtk-about") /** * GTK_STOCK_ADD: * * The “Add” item and icon. * * Deprecated: 3.10: Use named icon "list-add" or the label "_Add". */ #define GTK_STOCK_ADD ((GtkStock)"gtk-add") /** * GTK_STOCK_APPLY: * * The “Apply” item and icon. * * Deprecated: 3.10: Do not use an icon. Use label "_Apply". */ #define GTK_STOCK_APPLY ((GtkStock)"gtk-apply") /** * GTK_STOCK_BOLD: * * The “Bold” item and icon. * * Deprecated: 3.10: Use named icon "format-text-bold". */ #define GTK_STOCK_BOLD ((GtkStock)"gtk-bold") /** * GTK_STOCK_CANCEL: * * The “Cancel” item and icon. * * Deprecated: 3.10: Do not use an icon. Use label "_Cancel". */ #define GTK_STOCK_CANCEL ((GtkStock)"gtk-cancel") /** * GTK_STOCK_CAPS_LOCK_WARNING: * * The “Caps Lock Warning” icon. * * Since: 2.16 * * Deprecated: 3.10: Use named icon "dialog-warning-symbolic". */ #define GTK_STOCK_CAPS_LOCK_WARNING ((GtkStock)"gtk-caps-lock-warning") /** * GTK_STOCK_CDROM: * * The “CD-Rom” item and icon. * * Deprecated: 3.10: Use named icon "media-optical". */ #define GTK_STOCK_CDROM ((GtkStock)"gtk-cdrom") /** * GTK_STOCK_CLEAR: * * The “Clear” item and icon. * * Deprecated: 3.10: Use named icon "edit-clear". */ #define GTK_STOCK_CLEAR ((GtkStock)"gtk-clear") /** * GTK_STOCK_CLOSE: * * The “Close” item and icon. * * Deprecated: 3.10: Use named icon "window-close" or the label "_Close". */ #define GTK_STOCK_CLOSE ((GtkStock)"gtk-close") /** * GTK_STOCK_COLOR_PICKER: * * The “Color Picker” item and icon. * * Since: 2.2 * * Deprecated: 3.10 */ #define GTK_STOCK_COLOR_PICKER ((GtkStock)"gtk-color-picker") /** * GTK_STOCK_CONNECT: * * The “Connect” icon. * * Since: 2.6 * * Deprecated: 3.10 */ #define GTK_STOCK_CONNECT ((GtkStock)"gtk-connect") /** * GTK_STOCK_CONVERT: * * The “Convert” item and icon. * * Deprecated: 3.10 */ #define GTK_STOCK_CONVERT ((GtkStock)"gtk-convert") /** * GTK_STOCK_COPY: * * The “Copy” item and icon. * * Deprecated: 3.10: Use the named icon "edit-copy" or the label "_Copy". */ #define GTK_STOCK_COPY ((GtkStock)"gtk-copy") /** * GTK_STOCK_CUT: * * The “Cut” item and icon. * * Deprecated: 3.10: Use the named icon "edit-cut" or the label "Cu_t". */ #define GTK_STOCK_CUT ((GtkStock)"gtk-cut") /** * GTK_STOCK_DELETE: * * The “Delete” item and icon. * * Deprecated: 3.10: Use the named icon "edit-delete" or the label "_Delete". */ #define GTK_STOCK_DELETE ((GtkStock)"gtk-delete") /** * GTK_STOCK_DIALOG_AUTHENTICATION: * * The “Authentication” item and icon. * * Since: 2.4 * * Deprecated: 3.10: Use named icon "dialog-password". */ #define GTK_STOCK_DIALOG_AUTHENTICATION ((GtkStock)"gtk-dialog-authentication") /** * GTK_STOCK_DIALOG_INFO: * * The “Information” item and icon. * * Deprecated: 3.10: Use named icon "dialog-information". */ #define GTK_STOCK_DIALOG_INFO ((GtkStock)"gtk-dialog-info") /** * GTK_STOCK_DIALOG_WARNING: * * The “Warning” item and icon. * * Deprecated: 3.10: Use named icon "dialog-warning". */ #define GTK_STOCK_DIALOG_WARNING ((GtkStock)"gtk-dialog-warning") /** * GTK_STOCK_DIALOG_ERROR: * * The “Error” item and icon. * * Deprecated: 3.10: Use named icon "dialog-error". */ #define GTK_STOCK_DIALOG_ERROR ((GtkStock)"gtk-dialog-error") /** * GTK_STOCK_DIALOG_QUESTION: * * The “Question” item and icon. * * Deprecated: 3.10: Use named icon "dialog-question". */ #define GTK_STOCK_DIALOG_QUESTION ((GtkStock)"gtk-dialog-question") /** * GTK_STOCK_DIRECTORY: * * The “Directory” icon. * * Since: 2.6 * * Deprecated: 3.10: Use named icon "folder". */ #define GTK_STOCK_DIRECTORY ((GtkStock)"gtk-directory") /** * GTK_STOCK_DISCARD: * * The “Discard” item. * * Since: 2.12 * * Deprecated: 3.10 */ #define GTK_STOCK_DISCARD ((GtkStock)"gtk-discard") /** * GTK_STOCK_DISCONNECT: * * The “Disconnect” icon. * * Since: 2.6 * * Deprecated: 3.10 */ #define GTK_STOCK_DISCONNECT ((GtkStock)"gtk-disconnect") /** * GTK_STOCK_DND: * * The “Drag-And-Drop” icon. * * Deprecated: 3.10 */ #define GTK_STOCK_DND ((GtkStock)"gtk-dnd") /** * GTK_STOCK_DND_MULTIPLE: * * The “Drag-And-Drop multiple” icon. * * Deprecated: 3.10 */ #define GTK_STOCK_DND_MULTIPLE ((GtkStock)"gtk-dnd-multiple") /** * GTK_STOCK_EDIT: * * The “Edit” item and icon. * * Since: 2.6 * * Deprecated: 3.10 */ #define GTK_STOCK_EDIT ((GtkStock)"gtk-edit") /** * GTK_STOCK_EXECUTE: * * The “Execute” item and icon. * * Deprecated: 3.10: Use named icon "system-run". */ #define GTK_STOCK_EXECUTE ((GtkStock)"gtk-execute") /** * GTK_STOCK_FILE: * * The “File” item and icon. * * Since 3.0, this item has a label, before it only had an icon. * * Since: 2.6 * * Deprecated: 3.10: Use named icon "text-x-generic". */ #define GTK_STOCK_FILE ((GtkStock)"gtk-file") /** * GTK_STOCK_FIND: * * The “Find” item and icon. * * Deprecated: 3.10: Use named icon "edit-find". */ #define GTK_STOCK_FIND ((GtkStock)"gtk-find") /** * GTK_STOCK_FIND_AND_REPLACE: * * The “Find and Replace” item and icon. * * Deprecated: 3.10: Use named icon "edit-find-replace". */ #define GTK_STOCK_FIND_AND_REPLACE ((GtkStock)"gtk-find-and-replace") /** * GTK_STOCK_FLOPPY: * * The “Floppy” item and icon. * * Deprecated: 3.10 */ #define GTK_STOCK_FLOPPY ((GtkStock)"gtk-floppy") /** * GTK_STOCK_FULLSCREEN: * * The “Fullscreen” item and icon. * * Since: 2.8 * * Deprecated: 3.10: Use named icon "view-fullscreen". */ #define GTK_STOCK_FULLSCREEN ((GtkStock)"gtk-fullscreen") /** * GTK_STOCK_GOTO_BOTTOM: * * The “Bottom” item and icon. * * Deprecated: 3.10: Use named icon "go-bottom". */ #define GTK_STOCK_GOTO_BOTTOM ((GtkStock)"gtk-goto-bottom") /** * GTK_STOCK_GOTO_FIRST: * * The “First” item and icon. The icon has an RTL variant. * * Deprecated: 3.10: Use named icon "go-first". */ #define GTK_STOCK_GOTO_FIRST ((GtkStock)"gtk-goto-first") /** * GTK_STOCK_GOTO_LAST: * * The “Last” item and icon. The icon has an RTL variant. * * Deprecated: 3.10: Use named icon "go-last". */ #define GTK_STOCK_GOTO_LAST ((GtkStock)"gtk-goto-last") /** * GTK_STOCK_GOTO_TOP: * * The “Top” item and icon. * * Deprecated: 3.10: Use named icon "go-top". */ #define GTK_STOCK_GOTO_TOP ((GtkStock)"gtk-goto-top") /** * GTK_STOCK_GO_BACK: * * The “Back” item and icon. The icon has an RTL variant. * * Deprecated: 3.10: Use named icon "go-previous". */ #define GTK_STOCK_GO_BACK ((GtkStock)"gtk-go-back") /** * GTK_STOCK_GO_DOWN: * * The “Down” item and icon. * * Deprecated: 3.10: Use named icon "go-down". */ #define GTK_STOCK_GO_DOWN ((GtkStock)"gtk-go-down") /** * GTK_STOCK_GO_FORWARD: * * The “Forward” item and icon. The icon has an RTL variant. * * Deprecated: 3.10: Use named icon "go-next". */ #define GTK_STOCK_GO_FORWARD ((GtkStock)"gtk-go-forward") /** * GTK_STOCK_GO_UP: * * The “Up” item and icon. * * Deprecated: 3.10: Use named icon "go-up". */ #define GTK_STOCK_GO_UP ((GtkStock)"gtk-go-up") /** * GTK_STOCK_HARDDISK: * * The “Harddisk” item and icon. * * Since: 2.4 * * Deprecated: 3.10: Use named icon "drive-harddisk". */ #define GTK_STOCK_HARDDISK ((GtkStock)"gtk-harddisk") /** * GTK_STOCK_HELP: * * The “Help” item and icon. * * Deprecated: 3.10: Use named icon "help-browser". */ #define GTK_STOCK_HELP ((GtkStock)"gtk-help") /** * GTK_STOCK_HOME: * * The “Home” item and icon. * * Deprecated: 3.10: Use named icon "go-home". */ #define GTK_STOCK_HOME ((GtkStock)"gtk-home") /** * GTK_STOCK_INDEX: * * The “Index” item and icon. * * Deprecated: 3.10 */ #define GTK_STOCK_INDEX ((GtkStock)"gtk-index") /** * GTK_STOCK_INDENT: * * The “Indent” item and icon. The icon has an RTL variant. * * Since: 2.4 * * Deprecated: 3.10: Use named icon "format-indent-more". */ #define GTK_STOCK_INDENT ((GtkStock)"gtk-indent") /** * GTK_STOCK_INFO: * * The “Info” item and icon. * * Since: 2.8 * * Deprecated: 3.10: Use named icon "dialog-information". */ #define GTK_STOCK_INFO ((GtkStock)"gtk-info") /** * GTK_STOCK_ITALIC: * * The “Italic” item and icon. * * Deprecated: 3.10: Use named icon "format-text-italic". */ #define GTK_STOCK_ITALIC ((GtkStock)"gtk-italic") /** * GTK_STOCK_JUMP_TO: * * The “Jump to” item and icon. The icon has an RTL variant. * * Deprecated: 3.10: Use named icon "go-jump". */ #define GTK_STOCK_JUMP_TO ((GtkStock)"gtk-jump-to") /** * GTK_STOCK_JUSTIFY_CENTER: * * The “Center” item and icon. * * Deprecated: 3.10: Use named icon "format-justify-center". */ #define GTK_STOCK_JUSTIFY_CENTER ((GtkStock)"gtk-justify-center") /** * GTK_STOCK_JUSTIFY_FILL: * * The “Fill” item and icon. * * Deprecated: 3.10: Use named icon "format-justify-fill". */ #define GTK_STOCK_JUSTIFY_FILL ((GtkStock)"gtk-justify-fill") /** * GTK_STOCK_JUSTIFY_LEFT: * * The “Left” item and icon. * * Deprecated: 3.10: Use named icon "format-justify-left". */ #define GTK_STOCK_JUSTIFY_LEFT ((GtkStock)"gtk-justify-left") /** * GTK_STOCK_JUSTIFY_RIGHT: * * The “Right” item and icon. * * Deprecated: 3.10: Use named icon "format-justify-right". */ #define GTK_STOCK_JUSTIFY_RIGHT ((GtkStock)"gtk-justify-right") /** * GTK_STOCK_LEAVE_FULLSCREEN: * * The “Leave Fullscreen” item and icon. * * Since: 2.8 * * Deprecated: 3.10: Use named icon "view-restore". */ #define GTK_STOCK_LEAVE_FULLSCREEN ((GtkStock)"gtk-leave-fullscreen") /** * GTK_STOCK_MISSING_IMAGE: * * The “Missing image” icon. * * Deprecated: 3.10: Use named icon "image-missing". */ #define GTK_STOCK_MISSING_IMAGE ((GtkStock)"gtk-missing-image") /** * GTK_STOCK_MEDIA_FORWARD: * * The “Media Forward” item and icon. The icon has an RTL variant. * * Since: 2.6 * * Deprecated: 3.10: Use named icon "media-seek-forward" or the label "_Forward". */ #define GTK_STOCK_MEDIA_FORWARD ((GtkStock)"gtk-media-forward") /** * GTK_STOCK_MEDIA_NEXT: * * The “Media Next” item and icon. The icon has an RTL variant. * * Since: 2.6 * * Deprecated: 3.10: Use named icon "media-skip-forward" or the label "_Next". */ #define GTK_STOCK_MEDIA_NEXT ((GtkStock)"gtk-media-next") /** * GTK_STOCK_MEDIA_PAUSE: * * The “Media Pause” item and icon. * * Since: 2.6 * * Deprecated: 3.10: Use named icon "media-playback-pause" or the label "P_ause". */ #define GTK_STOCK_MEDIA_PAUSE ((GtkStock)"gtk-media-pause") /** * GTK_STOCK_MEDIA_PLAY: * * The “Media Play” item and icon. The icon has an RTL variant. * * Since: 2.6 * * Deprecated: 3.10: Use named icon "media-playback-start" or the label "_Play". */ #define GTK_STOCK_MEDIA_PLAY ((GtkStock)"gtk-media-play") /** * GTK_STOCK_MEDIA_PREVIOUS: * * The “Media Previous” item and icon. The icon has an RTL variant. * * Since: 2.6 * * Deprecated: 3.10: Use named icon "media-skip-backward" or the label "Pre_vious". */ #define GTK_STOCK_MEDIA_PREVIOUS ((GtkStock)"gtk-media-previous") /** * GTK_STOCK_MEDIA_RECORD: * * The “Media Record” item and icon. * * Since: 2.6 * * Deprecated: 3.10: Use named icon "media-record" or the label "_Record". */ #define GTK_STOCK_MEDIA_RECORD ((GtkStock)"gtk-media-record") /** * GTK_STOCK_MEDIA_REWIND: * * The “Media Rewind” item and icon. The icon has an RTL variant. * * Since: 2.6 * * Deprecated: 3.10: Use named icon "media-seek-backward" or the label "R_ewind". */ #define GTK_STOCK_MEDIA_REWIND ((GtkStock)"gtk-media-rewind") /** * GTK_STOCK_MEDIA_STOP: * * The “Media Stop” item and icon. * * Since: 2.6 * * Deprecated: 3.10: Use named icon "media-playback-stop" or the label "_Stop". */ #define GTK_STOCK_MEDIA_STOP ((GtkStock)"gtk-media-stop") /** * GTK_STOCK_NETWORK: * * The “Network” item and icon. * * Since: 2.4 * * Deprecated: 3.10: Use named icon "network-workgroup". */ #define GTK_STOCK_NETWORK ((GtkStock)"gtk-network") /** * GTK_STOCK_NEW: * * The “New” item and icon. * * Deprecated: 3.10: Use named icon "document-new" or the label "_New". */ #define GTK_STOCK_NEW ((GtkStock)"gtk-new") /** * GTK_STOCK_NO: * * The “No” item and icon. * * Deprecated: 3.10 */ #define GTK_STOCK_NO ((GtkStock)"gtk-no") /** * GTK_STOCK_OK: * * The “OK” item and icon. * * Deprecated: 3.10: Do not use an icon. Use label "_OK". */ #define GTK_STOCK_OK ((GtkStock)"gtk-ok") /** * GTK_STOCK_OPEN: * * The “Open” item and icon. * * Deprecated: 3.10: Use named icon "document-open" or the label "_Open". */ #define GTK_STOCK_OPEN ((GtkStock)"gtk-open") /** * GTK_STOCK_ORIENTATION_PORTRAIT: * * The “Portrait Orientation” item and icon. * * Since: 2.10 * * Deprecated: 3.10 */ #define GTK_STOCK_ORIENTATION_PORTRAIT ((GtkStock)"gtk-orientation-portrait") /** * GTK_STOCK_ORIENTATION_LANDSCAPE: * * The “Landscape Orientation” item and icon. * * Since: 2.10 * * Deprecated: 3.10 */ #define GTK_STOCK_ORIENTATION_LANDSCAPE ((GtkStock)"gtk-orientation-landscape") /** * GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE: * * The “Reverse Landscape Orientation” item and icon. * * Since: 2.10 * * Deprecated: 3.10 */ #define GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE ((GtkStock)"gtk-orientation-reverse-landscape") /** * GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT: * * The “Reverse Portrait Orientation” item and icon. * * Since: 2.10 * * Deprecated: 3.10 */ #define GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT ((GtkStock)"gtk-orientation-reverse-portrait") /** * GTK_STOCK_PAGE_SETUP: * * The “Page Setup” item and icon. * * Since: 2.14 * * Deprecated: 3.10: Use named icon "document-page-setup" or the label "Page Set_up". */ #define GTK_STOCK_PAGE_SETUP ((GtkStock)"gtk-page-setup") /** * GTK_STOCK_PASTE: * * The “Paste” item and icon. * * Deprecated: 3.10: Use named icon "edit-paste" or the label "_Paste". */ #define GTK_STOCK_PASTE ((GtkStock)"gtk-paste") /** * GTK_STOCK_PREFERENCES: * * The “Preferences” item and icon. * * Deprecated: 3.10: Use named icon "preferences-system" or the label "_Preferences". */ #define GTK_STOCK_PREFERENCES ((GtkStock)"gtk-preferences") /** * GTK_STOCK_PRINT: * * The “Print” item and icon. * * Deprecated: 3.10: Use named icon "document-print" or the label "_Print". */ #define GTK_STOCK_PRINT ((GtkStock)"gtk-print") /** * GTK_STOCK_PRINT_ERROR: * * The “Print Error” icon. * * Since: 2.14 * * Deprecated: 3.10: Use named icon "printer-error". */ #define GTK_STOCK_PRINT_ERROR ((GtkStock)"gtk-print-error") /** * GTK_STOCK_PRINT_PAUSED: * * The “Print Paused” icon. * * Since: 2.14 * * Deprecated: 3.10 */ #define GTK_STOCK_PRINT_PAUSED ((GtkStock)"gtk-print-paused") /** * GTK_STOCK_PRINT_PREVIEW: * * The “Print Preview” item and icon. * * Deprecated: 3.10: Use label "Pre_view". */ #define GTK_STOCK_PRINT_PREVIEW ((GtkStock)"gtk-print-preview") /** * GTK_STOCK_PRINT_REPORT: * * The “Print Report” icon. * * Since: 2.14 * * Deprecated: 3.10 */ #define GTK_STOCK_PRINT_REPORT ((GtkStock)"gtk-print-report") /** * GTK_STOCK_PRINT_WARNING: * * The “Print Warning” icon. * * Since: 2.14 * * Deprecated: 3.10 */ #define GTK_STOCK_PRINT_WARNING ((GtkStock)"gtk-print-warning") /** * GTK_STOCK_PROPERTIES: * * The “Properties” item and icon. * * Deprecated: 3.10: Use named icon "document-properties" or the label "_Properties". */ #define GTK_STOCK_PROPERTIES ((GtkStock)"gtk-properties") /** * GTK_STOCK_QUIT: * * The “Quit” item and icon. * * Deprecated: 3.10: Use named icon "application-exit" or the label "_Quit". */ #define GTK_STOCK_QUIT ((GtkStock)"gtk-quit") /** * GTK_STOCK_REDO: * * The “Redo” item and icon. The icon has an RTL variant. * * Deprecated: 3.10: Use named icon "edit-redo" or the label "_Redo". */ #define GTK_STOCK_REDO ((GtkStock)"gtk-redo") /** * GTK_STOCK_REFRESH: * * The “Refresh” item and icon. * * Deprecated: 3.10: Use named icon "view-refresh" or the label "_Refresh". */ #define GTK_STOCK_REFRESH ((GtkStock)"gtk-refresh") /** * GTK_STOCK_REMOVE: * * The “Remove” item and icon. * * Deprecated: 3.10: Use named icon "list-remove" or the label "_Remove". */ #define GTK_STOCK_REMOVE ((GtkStock)"gtk-remove") /** * GTK_STOCK_REVERT_TO_SAVED: * * The “Revert” item and icon. The icon has an RTL variant. * * Deprecated: 3.10: Use named icon "document-revert" or the label "_Revert". */ #define GTK_STOCK_REVERT_TO_SAVED ((GtkStock)"gtk-revert-to-saved") /** * GTK_STOCK_SAVE: * * The “Save” item and icon. * * Deprecated: 3.10: Use named icon "document-save" or the label "_Save". */ #define GTK_STOCK_SAVE ((GtkStock)"gtk-save") /** * GTK_STOCK_SAVE_AS: * * The “Save As” item and icon. * * Deprecated: 3.10: Use named icon "document-save-as" or the label "Save _As". */ #define GTK_STOCK_SAVE_AS ((GtkStock)"gtk-save-as") /** * GTK_STOCK_SELECT_ALL: * * The “Select All” item and icon. * * Since: 2.10 * * Deprecated: 3.10: Use named icon "edit-select-all" or the label "Select _All". */ #define GTK_STOCK_SELECT_ALL ((GtkStock)"gtk-select-all") /** * GTK_STOCK_SELECT_COLOR: * * The “Color” item and icon. * * Deprecated: 3.10 */ #define GTK_STOCK_SELECT_COLOR ((GtkStock)"gtk-select-color") /** * GTK_STOCK_SELECT_FONT: * * The “Font” item and icon. * * Deprecated: 3.10 */ #define GTK_STOCK_SELECT_FONT ((GtkStock)"gtk-select-font") /** * GTK_STOCK_SORT_ASCENDING: * * The “Ascending” item and icon. * * Deprecated: 3.10: Use named icon "view-sort-ascending". */ #define GTK_STOCK_SORT_ASCENDING ((GtkStock)"gtk-sort-ascending") /** * GTK_STOCK_SORT_DESCENDING: * * The “Descending” item and icon. * * Deprecated: 3.10: Use named icon "view-sort-descending". */ #define GTK_STOCK_SORT_DESCENDING ((GtkStock)"gtk-sort-descending") /** * GTK_STOCK_SPELL_CHECK: * * The “Spell Check” item and icon. * * Deprecated: 3.10: Use named icon "tools-check-spelling". */ #define GTK_STOCK_SPELL_CHECK ((GtkStock)"gtk-spell-check") /** * GTK_STOCK_STOP: * * The “Stop” item and icon. * * Deprecated: 3.10: Use named icon "process-stop" or the label "_Stop". */ #define GTK_STOCK_STOP ((GtkStock)"gtk-stop") /** * GTK_STOCK_STRIKETHROUGH: * * The “Strikethrough” item and icon. * * Deprecated: 3.10: Use named icon "format-text-strikethrough" or the label "_Strikethrough". */ #define GTK_STOCK_STRIKETHROUGH ((GtkStock)"gtk-strikethrough") /** * GTK_STOCK_UNDELETE: * * The “Undelete” item and icon. The icon has an RTL variant. * * Deprecated: 3.10 */ #define GTK_STOCK_UNDELETE ((GtkStock)"gtk-undelete") /** * GTK_STOCK_UNDERLINE: * * The “Underline” item and icon. * * Deprecated: 3.10: Use named icon "format-text-underline" or the label "_Underline". */ #define GTK_STOCK_UNDERLINE ((GtkStock)"gtk-underline") /** * GTK_STOCK_UNDO: * * The “Undo” item and icon. The icon has an RTL variant. * * Deprecated: 3.10: Use named icon "edit-undo" or the label "_Undo". */ #define GTK_STOCK_UNDO ((GtkStock)"gtk-undo") /** * GTK_STOCK_UNINDENT: * * The “Unindent” item and icon. The icon has an RTL variant. * * Since: 2.4 * * Deprecated: 3.10: Use named icon "format-indent-less". */ #define GTK_STOCK_UNINDENT ((GtkStock)"gtk-unindent") /** * GTK_STOCK_YES: * * The “Yes” item and icon. * * Deprecated: 3.10 */ #define GTK_STOCK_YES ((GtkStock)"gtk-yes") /** * GTK_STOCK_ZOOM_100: * * The “Zoom 100%” item and icon. * * Deprecated: 3.10: Use named icon "zoom-original" or the label "_Normal Size". */ #define GTK_STOCK_ZOOM_100 ((GtkStock)"gtk-zoom-100") /** * GTK_STOCK_ZOOM_FIT: * * The “Zoom to Fit” item and icon. * * Deprecated: 3.10: Use named icon "zoom-fit-best" or the label "Best _Fit". */ #define GTK_STOCK_ZOOM_FIT ((GtkStock)"gtk-zoom-fit") /** * GTK_STOCK_ZOOM_IN: * * The “Zoom In” item and icon. * * Deprecated: 3.10: Use named icon "zoom-in" or the label "Zoom _In". */ #define GTK_STOCK_ZOOM_IN ((GtkStock)"gtk-zoom-in") /** * GTK_STOCK_ZOOM_OUT: * * The “Zoom Out” item and icon. * * Deprecated: 3.10: Use named icon "zoom-out" or the label "Zoom _Out". */ #define GTK_STOCK_ZOOM_OUT ((GtkStock)"gtk-zoom-out") #endif G_END_DECLS #endif /* __GTK_STOCK_H__ */