1 /* GTK - The GIMP Toolkit
2 * Copyright (C) 2000 Red Hat, Inc.
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
21 * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
22 * file for a list of people on the GTK+ Team. See the ChangeLog
23 * files for a list of changes. These files are distributed with
24 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
27 #ifndef __GTK_STOCK_H__
28 #define __GTK_STOCK_H__
35 #endif /* __cplusplus */
37 typedef struct _GtkStockItem GtkStockItem;
43 GdkModifierType modifier;
45 gchar *translation_domain;
48 void gtk_stock_add (const GtkStockItem *items,
50 void gtk_stock_add_static (const GtkStockItem *items,
52 gboolean gtk_stock_lookup (const gchar *stock_id,
55 /* Should free the list (and free each string in it also).
56 * This function is only useful for GUI builders and such.
58 GSList* gtk_stock_list_ids (void);
60 GtkStockItem *gtk_stock_item_copy (const GtkStockItem *item);
61 void gtk_stock_item_free (GtkStockItem *item);
64 /* Stock IDs (not all are stock items; some are images only) */
65 #define GTK_STOCK_DIALOG_AUTHENTICATION \
66 "gtk-dialog-authentication"
67 #define GTK_STOCK_DIALOG_INFO "gtk-dialog-info"
68 #define GTK_STOCK_DIALOG_WARNING "gtk-dialog-warning"
69 #define GTK_STOCK_DIALOG_ERROR "gtk-dialog-error"
70 #define GTK_STOCK_DIALOG_QUESTION "gtk-dialog-question"
72 #define GTK_STOCK_DND "gtk-dnd"
73 #define GTK_STOCK_DND_MULTIPLE "gtk-dnd-multiple"
75 #define GTK_STOCK_ADD "gtk-add"
76 #define GTK_STOCK_APPLY "gtk-apply"
77 #define GTK_STOCK_BOLD "gtk-bold"
78 #define GTK_STOCK_CANCEL "gtk-cancel"
79 #define GTK_STOCK_CDROM "gtk-cdrom"
80 #define GTK_STOCK_CLEAR "gtk-clear"
81 #define GTK_STOCK_CLOSE "gtk-close"
82 #define GTK_STOCK_COLOR_PICKER "gtk-color-picker"
83 #define GTK_STOCK_CONVERT "gtk-convert"
84 #define GTK_STOCK_COPY "gtk-copy"
85 #define GTK_STOCK_CUT "gtk-cut"
86 #define GTK_STOCK_DELETE "gtk-delete"
87 #define GTK_STOCK_EXECUTE "gtk-execute"
88 #define GTK_STOCK_FIND "gtk-find"
89 #define GTK_STOCK_FIND_AND_REPLACE "gtk-find-and-replace"
90 #define GTK_STOCK_FLOPPY "gtk-floppy"
91 #define GTK_STOCK_GOTO_BOTTOM "gtk-goto-bottom"
92 #define GTK_STOCK_GOTO_FIRST "gtk-goto-first"
93 #define GTK_STOCK_GOTO_LAST "gtk-goto-last"
94 #define GTK_STOCK_GOTO_TOP "gtk-goto-top"
95 #define GTK_STOCK_GO_BACK "gtk-go-back"
96 #define GTK_STOCK_GO_DOWN "gtk-go-down"
97 #define GTK_STOCK_GO_FORWARD "gtk-go-forward"
98 #define GTK_STOCK_GO_UP "gtk-go-up"
99 #define GTK_STOCK_HELP "gtk-help"
100 #define GTK_STOCK_HOME "gtk-home"
101 #define GTK_STOCK_INDEX "gtk-index"
102 #define GTK_STOCK_ITALIC "gtk-italic"
103 #define GTK_STOCK_JUMP_TO "gtk-jump-to"
104 #define GTK_STOCK_JUSTIFY_CENTER "gtk-justify-center"
105 #define GTK_STOCK_JUSTIFY_FILL "gtk-justify-fill"
106 #define GTK_STOCK_JUSTIFY_LEFT "gtk-justify-left"
107 #define GTK_STOCK_JUSTIFY_RIGHT "gtk-justify-right"
108 #define GTK_STOCK_MISSING_IMAGE "gtk-missing-image"
109 #define GTK_STOCK_NEW "gtk-new"
110 #define GTK_STOCK_NO "gtk-no"
111 #define GTK_STOCK_OK "gtk-ok"
112 #define GTK_STOCK_OPEN "gtk-open"
113 #define GTK_STOCK_PASTE "gtk-paste"
114 #define GTK_STOCK_PREFERENCES "gtk-preferences"
115 #define GTK_STOCK_PRINT "gtk-print"
116 #define GTK_STOCK_PRINT_PREVIEW "gtk-print-preview"
117 #define GTK_STOCK_PROPERTIES "gtk-properties"
118 #define GTK_STOCK_QUIT "gtk-quit"
119 #define GTK_STOCK_REDO "gtk-redo"
120 #define GTK_STOCK_REFRESH "gtk-refresh"
121 #define GTK_STOCK_REMOVE "gtk-remove"
122 #define GTK_STOCK_REVERT_TO_SAVED "gtk-revert-to-saved"
123 #define GTK_STOCK_SAVE "gtk-save"
124 #define GTK_STOCK_SAVE_AS "gtk-save-as"
125 #define GTK_STOCK_SELECT_COLOR "gtk-select-color"
126 #define GTK_STOCK_SELECT_FONT "gtk-select-font"
127 #define GTK_STOCK_SORT_ASCENDING "gtk-sort-ascending"
128 #define GTK_STOCK_SORT_DESCENDING "gtk-sort-descending"
129 #define GTK_STOCK_SPELL_CHECK "gtk-spell-check"
130 #define GTK_STOCK_STOP "gtk-stop"
131 #define GTK_STOCK_STRIKETHROUGH "gtk-strikethrough"
132 #define GTK_STOCK_UNDELETE "gtk-undelete"
133 #define GTK_STOCK_UNDERLINE "gtk-underline"
134 #define GTK_STOCK_UNDO "gtk-undo"
135 #define GTK_STOCK_YES "gtk-yes"
136 #define GTK_STOCK_ZOOM_100 "gtk-zoom-100"
137 #define GTK_STOCK_ZOOM_FIT "gtk-zoom-fit"
138 #define GTK_STOCK_ZOOM_IN "gtk-zoom-in"
139 #define GTK_STOCK_ZOOM_OUT "gtk-zoom-out"
143 #endif /* __cplusplus */
146 #endif /* __GTK_STOCK_H__ */