1 | /* GTK - The GIMP Toolkit |
2 | * Copyright (C) 2000 Red Hat, Inc. |
3 | * |
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. |
8 | * |
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. |
13 | * |
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. |
18 | */ |
19 | |
20 | /* |
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/. |
25 | */ |
26 | |
27 | #ifndef __GTK_STOCK_H__ |
28 | #define __GTK_STOCK_H__ |
29 | |
30 | |
31 | #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) |
32 | #error "Only <gtk/gtk.h> can be included directly." |
33 | #endif |
34 | |
35 | #include <gdk/gdk.h> |
36 | #include <gtk/gtktypeutils.h> /* for GtkTranslateFunc */ |
37 | |
38 | G_BEGIN_DECLS |
39 | |
40 | typedef struct _GtkStockItem GtkStockItem; |
41 | |
42 | struct _GtkStockItem |
43 | { |
44 | gchar *stock_id; |
45 | gchar *label; |
46 | GdkModifierType modifier; |
47 | guint keyval; |
48 | gchar *translation_domain; |
49 | }; |
50 | |
51 | void gtk_stock_add (const GtkStockItem *items, |
52 | guint n_items); |
53 | void gtk_stock_add_static (const GtkStockItem *items, |
54 | guint n_items); |
55 | gboolean gtk_stock_lookup (const gchar *stock_id, |
56 | GtkStockItem *item); |
57 | |
58 | /* Should free the list (and free each string in it also). |
59 | * This function is only useful for GUI builders and such. |
60 | */ |
61 | GSList* gtk_stock_list_ids (void); |
62 | |
63 | GtkStockItem *gtk_stock_item_copy (const GtkStockItem *item); |
64 | void gtk_stock_item_free (GtkStockItem *item); |
65 | |
66 | void gtk_stock_set_translate_func (const gchar *domain, |
67 | GtkTranslateFunc func, |
68 | gpointer data, |
69 | GDestroyNotify notify); |
70 | |
71 | /* Stock IDs (not all are stock items; some are images only) */ |
72 | /** |
73 | * GTK_STOCK_ABOUT: |
74 | * |
75 | * The "About" item. |
76 | * <inlinegraphic fileref="help-about.png" format="PNG"></inlinegraphic> |
77 | * |
78 | * Since: 2.6 |
79 | */ |
80 | #define GTK_STOCK_ABOUT "gtk-about" |
81 | |
82 | /** |
83 | * GTK_STOCK_ADD: |
84 | * |
85 | * The "Add" item. |
86 | * <inlinegraphic fileref="list-add.png" format="PNG"></inlinegraphic> |
87 | */ |
88 | #define GTK_STOCK_ADD "gtk-add" |
89 | |
90 | /** |
91 | * GTK_STOCK_APPLY: |
92 | * |
93 | * The "Apply" item. |
94 | * <inlinegraphic fileref="gtk-apply.png" format="PNG"></inlinegraphic> |
95 | */ |
96 | #define GTK_STOCK_APPLY "gtk-apply" |
97 | |
98 | /** |
99 | * GTK_STOCK_BOLD: |
100 | * |
101 | * The "Bold" item. |
102 | * <inlinegraphic fileref="format-text-bold.png" format="PNG"></inlinegraphic> |
103 | */ |
104 | #define GTK_STOCK_BOLD "gtk-bold" |
105 | |
106 | /** |
107 | * GTK_STOCK_CANCEL: |
108 | * |
109 | * The "Cancel" item. |
110 | * <inlinegraphic fileref="gtk-cancel.png" format="PNG"></inlinegraphic> |
111 | */ |
112 | #define GTK_STOCK_CANCEL "gtk-cancel" |
113 | |
114 | /** |
115 | * GTK_STOCK_CAPS_LOCK_WARNING: |
116 | * |
117 | * The "Caps Lock Warning" icon. |
118 | * <inlinegraphic fileref="gtk-caps-lock-warning.png" format="PNG"></inlinegraphic> |
119 | * |
120 | * Since: 2.16 |
121 | */ |
122 | #define GTK_STOCK_CAPS_LOCK_WARNING "gtk-caps-lock-warning" |
123 | |
124 | /** |
125 | * GTK_STOCK_CDROM: |
126 | * |
127 | * The "CD-Rom" item. |
128 | * <inlinegraphic fileref="media-optical.png" format="PNG"></inlinegraphic> |
129 | */ |
130 | #define GTK_STOCK_CDROM "gtk-cdrom" |
131 | |
132 | /** |
133 | * GTK_STOCK_CLEAR: |
134 | * |
135 | * The "Clear" item. |
136 | * <inlinegraphic fileref="edit-clear.png" format="PNG"></inlinegraphic> |
137 | */ |
138 | #define GTK_STOCK_CLEAR "gtk-clear" |
139 | |
140 | /** |
141 | * GTK_STOCK_CLOSE: |
142 | * |
143 | * The "Close" item. |
144 | * <inlinegraphic fileref="window-close.png" format="PNG"></inlinegraphic> |
145 | */ |
146 | #define GTK_STOCK_CLOSE "gtk-close" |
147 | |
148 | /** |
149 | * GTK_STOCK_COLOR_PICKER: |
150 | * |
151 | * The "Color Picker" item. |
152 | * <inlinegraphic fileref="gtk-color-picker.png" format="PNG"></inlinegraphic> |
153 | * |
154 | * Since: 2.2 |
155 | */ |
156 | #define GTK_STOCK_COLOR_PICKER "gtk-color-picker" |
157 | |
158 | /** |
159 | * GTK_STOCK_CONNECT: |
160 | * |
161 | * The "Connect" icon. |
162 | * <inlinegraphic fileref="gtk-connect.png" format="PNG"></inlinegraphic> |
163 | * |
164 | * Since: 2.6 |
165 | */ |
166 | #define GTK_STOCK_CONNECT "gtk-connect" |
167 | |
168 | /** |
169 | * GTK_STOCK_CONVERT: |
170 | * |
171 | * The "Convert" item. |
172 | * <inlinegraphic fileref="gtk-convert.png" format="PNG"></inlinegraphic> |
173 | */ |
174 | #define GTK_STOCK_CONVERT "gtk-convert" |
175 | |
176 | /** |
177 | * GTK_STOCK_COPY: |
178 | * |
179 | * The "Copy" item. |
180 | * <inlinegraphic fileref="edit-copy.png" format="PNG"></inlinegraphic> |
181 | */ |
182 | #define GTK_STOCK_COPY "gtk-copy" |
183 | |
184 | /** |
185 | * GTK_STOCK_CUT: |
186 | * |
187 | * The "Cut" item. |
188 | * <inlinegraphic fileref="edit-cut.png" format="PNG"></inlinegraphic> |
189 | */ |
190 | #define GTK_STOCK_CUT "gtk-cut" |
191 | |
192 | /** |
193 | * GTK_STOCK_DELETE: |
194 | * |
195 | * The "Delete" item. |
196 | * <inlinegraphic fileref="edit-delete.png" format="PNG"></inlinegraphic> |
197 | */ |
198 | #define GTK_STOCK_DELETE "gtk-delete" |
199 | |
200 | /** |
201 | * GTK_STOCK_DIALOG_AUTHENTICATION: |
202 | * |
203 | * The "Authentication" item. |
204 | * <inlinegraphic fileref="dialog-password.png" format="PNG"></inlinegraphic> |
205 | * |
206 | * Since: 2.4 |
207 | */ |
208 | #define GTK_STOCK_DIALOG_AUTHENTICATION "gtk-dialog-authentication" |
209 | |
210 | /** |
211 | * GTK_STOCK_DIALOG_INFO: |
212 | * |
213 | * The "Information" item. |
214 | * <inlinegraphic fileref="dialog-information.png" format="PNG"></inlinegraphic> |
215 | */ |
216 | #define GTK_STOCK_DIALOG_INFO "gtk-dialog-info" |
217 | |
218 | /** |
219 | * GTK_STOCK_DIALOG_WARNING: |
220 | * |
221 | * The "Warning" item. |
222 | * <inlinegraphic fileref="dialog-warning.png" format="PNG"></inlinegraphic> |
223 | */ |
224 | #define GTK_STOCK_DIALOG_WARNING "gtk-dialog-warning" |
225 | |
226 | /** |
227 | * GTK_STOCK_DIALOG_ERROR: |
228 | * |
229 | * The "Error" item. |
230 | * <inlinegraphic fileref="dialog-error.png" format="PNG"></inlinegraphic> |
231 | */ |
232 | #define GTK_STOCK_DIALOG_ERROR "gtk-dialog-error" |
233 | |
234 | /** |
235 | * GTK_STOCK_DIALOG_QUESTION: |
236 | * |
237 | * The "Question" item. |
238 | * <inlinegraphic fileref="dialog-question.png" format="PNG"></inlinegraphic> |
239 | */ |
240 | #define GTK_STOCK_DIALOG_QUESTION "gtk-dialog-question" |
241 | |
242 | /** |
243 | * GTK_STOCK_DIRECTORY: |
244 | * |
245 | * The "Directory" icon. |
246 | * <inlinegraphic fileref="folder.png" format="PNG"></inlinegraphic> |
247 | * |
248 | * Since: 2.6 |
249 | */ |
250 | #define GTK_STOCK_DIRECTORY "gtk-directory" |
251 | |
252 | /** |
253 | * GTK_STOCK_DISCARD: |
254 | * |
255 | * The "Discard" item. |
256 | * |
257 | * Since: 2.12 |
258 | */ |
259 | #define GTK_STOCK_DISCARD "gtk-discard" |
260 | |
261 | /** |
262 | * GTK_STOCK_DISCONNECT: |
263 | * |
264 | * The "Disconnect" icon. |
265 | * <inlinegraphic fileref="gtk-disconnect.png" format="PNG"></inlinegraphic> |
266 | * |
267 | * Since: 2.6 |
268 | */ |
269 | #define GTK_STOCK_DISCONNECT "gtk-disconnect" |
270 | |
271 | /** |
272 | * GTK_STOCK_DND: |
273 | * |
274 | * The "Drag-And-Drop" icon. |
275 | * <inlinegraphic fileref="gtk-dnd.png" format="PNG"></inlinegraphic> |
276 | */ |
277 | #define GTK_STOCK_DND "gtk-dnd" |
278 | |
279 | /** |
280 | * GTK_STOCK_DND_MULTIPLE: |
281 | * |
282 | * The "Drag-And-Drop multiple" icon. |
283 | * <inlinegraphic fileref="gtk-dnd-multiple.png" format="PNG"></inlinegraphic> |
284 | */ |
285 | #define GTK_STOCK_DND_MULTIPLE "gtk-dnd-multiple" |
286 | |
287 | /** |
288 | * GTK_STOCK_EDIT: |
289 | * |
290 | * The "Edit" item. |
291 | * <inlinegraphic fileref="gtk-edit.png" format="PNG"></inlinegraphic> |
292 | * |
293 | * Since: 2.6 |
294 | */ |
295 | #define GTK_STOCK_EDIT "gtk-edit" |
296 | |
297 | /** |
298 | * GTK_STOCK_EXECUTE: |
299 | * |
300 | * The "Execute" item. |
301 | * <inlinegraphic fileref="system-run.png" format="PNG"></inlinegraphic> |
302 | */ |
303 | #define GTK_STOCK_EXECUTE "gtk-execute" |
304 | |
305 | /** |
306 | * GTK_STOCK_FILE: |
307 | * |
308 | * The "File" icon. |
309 | * <inlinegraphic fileref="document-x-generic.png" format="PNG"></inlinegraphic> |
310 | * |
311 | * Since: 2.6 |
312 | */ |
313 | #define GTK_STOCK_FILE "gtk-file" |
314 | |
315 | /** |
316 | * GTK_STOCK_FIND: |
317 | * |
318 | * The "Find" item. |
319 | * <inlinegraphic fileref="edit-find.png" format="PNG"></inlinegraphic> |
320 | */ |
321 | #define GTK_STOCK_FIND "gtk-find" |
322 | |
323 | /** |
324 | * GTK_STOCK_FIND_AND_REPLACE: |
325 | * |
326 | * The "Find and Replace" item. |
327 | * <inlinegraphic fileref="edit-find-replace.png" format="PNG"></inlinegraphic> |
328 | */ |
329 | #define GTK_STOCK_FIND_AND_REPLACE "gtk-find-and-replace" |
330 | |
331 | /** |
332 | * GTK_STOCK_FLOPPY: |
333 | * |
334 | * The "Floppy" item. |
335 | * <inlinegraphic fileref="media-floppy.png" format="PNG"></inlinegraphic> |
336 | */ |
337 | #define GTK_STOCK_FLOPPY "gtk-floppy" |
338 | |
339 | /** |
340 | * GTK_STOCK_FULLSCREEN: |
341 | * |
342 | * The "Fullscreen" item. |
343 | * <inlinegraphic fileref="view-fullscreen.png" format="PNG"></inlinegraphic> |
344 | * |
345 | * Since: 2.8 |
346 | */ |
347 | #define GTK_STOCK_FULLSCREEN "gtk-fullscreen" |
348 | |
349 | /** |
350 | * GTK_STOCK_GOTO_BOTTOM: |
351 | * |
352 | * The "Bottom" item. |
353 | * <inlinegraphic fileref="go-bottom.png" format="PNG"></inlinegraphic> |
354 | */ |
355 | #define GTK_STOCK_GOTO_BOTTOM "gtk-goto-bottom" |
356 | |
357 | /** |
358 | * GTK_STOCK_GOTO_FIRST: |
359 | * |
360 | * The "First" item. |
361 | * <inlinegraphic fileref="go-first-ltr.png" format="PNG"></inlinegraphic> |
362 | * RTL variant |
363 | * <inlinegraphic fileref="go-first-rtl.png" format="PNG"></inlinegraphic> |
364 | */ |
365 | #define GTK_STOCK_GOTO_FIRST "gtk-goto-first" |
366 | |
367 | /** |
368 | * GTK_STOCK_GOTO_LAST: |
369 | * |
370 | * The "Last" item. |
371 | * <inlinegraphic fileref="go-last-ltr.png" format="PNG"></inlinegraphic> |
372 | * RTL variant |
373 | * <inlinegraphic fileref="go-last-rtl.png" format="PNG"></inlinegraphic> |
374 | */ |
375 | #define GTK_STOCK_GOTO_LAST "gtk-goto-last" |
376 | |
377 | /** |
378 | * GTK_STOCK_GOTO_TOP: |
379 | * |
380 | * The "Top" item. |
381 | * <inlinegraphic fileref="go-top.png" format="PNG"></inlinegraphic> |
382 | */ |
383 | #define GTK_STOCK_GOTO_TOP "gtk-goto-top" |
384 | |
385 | /** |
386 | * GTK_STOCK_GO_BACK: |
387 | * |
388 | * The "Back" item. |
389 | * <inlinegraphic fileref="go-previous-ltr.png" format="PNG"></inlinegraphic> |
390 | * RTL variant |
391 | * <inlinegraphic fileref="go-previous-rtl.png" format="PNG"></inlinegraphic> |
392 | */ |
393 | #define GTK_STOCK_GO_BACK "gtk-go-back" |
394 | |
395 | /** |
396 | * GTK_STOCK_GO_DOWN: |
397 | * |
398 | * The "Down" item. |
399 | * <inlinegraphic fileref="go-down.png" format="PNG"></inlinegraphic> |
400 | */ |
401 | #define GTK_STOCK_GO_DOWN "gtk-go-down" |
402 | |
403 | /** |
404 | * GTK_STOCK_GO_FORWARD: |
405 | * |
406 | * The "Forward" item. |
407 | * <inlinegraphic fileref="go-next-ltr.png" format="PNG"></inlinegraphic> |
408 | * RTL variant |
409 | * <inlinegraphic fileref="go-next-rtl.png" format="PNG"></inlinegraphic> |
410 | */ |
411 | #define GTK_STOCK_GO_FORWARD "gtk-go-forward" |
412 | |
413 | /** |
414 | * GTK_STOCK_GO_UP: |
415 | * |
416 | * The "Up" item. |
417 | * <inlinegraphic fileref="go-up.png" format="PNG"></inlinegraphic> |
418 | */ |
419 | #define GTK_STOCK_GO_UP "gtk-go-up" |
420 | |
421 | /** |
422 | * GTK_STOCK_HARDDISK: |
423 | * |
424 | * The "Harddisk" item. |
425 | * <inlinegraphic fileref="drive-harddisk.png" format="PNG"></inlinegraphic> |
426 | * |
427 | * Since: 2.4 |
428 | */ |
429 | #define GTK_STOCK_HARDDISK "gtk-harddisk" |
430 | |
431 | /** |
432 | * GTK_STOCK_HELP: |
433 | * |
434 | * The "Help" item. |
435 | * <inlinegraphic fileref="help-contents.png" format="PNG"></inlinegraphic> |
436 | */ |
437 | #define GTK_STOCK_HELP "gtk-help" |
438 | |
439 | /** |
440 | * GTK_STOCK_HOME: |
441 | * |
442 | * The "Home" item. |
443 | * <inlinegraphic fileref="go-home.png" format="PNG"></inlinegraphic> |
444 | */ |
445 | #define GTK_STOCK_HOME "gtk-home" |
446 | |
447 | /** |
448 | * GTK_STOCK_INDEX: |
449 | * |
450 | * The "Index" item. |
451 | * <inlinegraphic fileref="gtk-index.png" format="PNG"></inlinegraphic> |
452 | */ |
453 | #define GTK_STOCK_INDEX "gtk-index" |
454 | |
455 | /** |
456 | * GTK_STOCK_INDENT: |
457 | * |
458 | * The "Indent" item. |
459 | * <inlinegraphic fileref="gtk-indent-ltr.png" format="PNG"></inlinegraphic> |
460 | * RTL variant |
461 | * <inlinegraphic fileref="gtk-indent-rtl.png" format="PNG"></inlinegraphic> |
462 | * |
463 | * Since: 2.4 |
464 | */ |
465 | #define GTK_STOCK_INDENT "gtk-indent" |
466 | |
467 | /** |
468 | * GTK_STOCK_INFO: |
469 | * |
470 | * The "Info" item. |
471 | * <inlinegraphic fileref="dialog-information.png" format="PNG"></inlinegraphic> |
472 | * |
473 | * Since: 2.8 |
474 | */ |
475 | #define GTK_STOCK_INFO "gtk-info" |
476 | |
477 | /** |
478 | * GTK_STOCK_ITALIC: |
479 | * |
480 | * The "Italic" item. |
481 | * <inlinegraphic fileref="format-text-italic.png" format="PNG"></inlinegraphic> |
482 | */ |
483 | #define GTK_STOCK_ITALIC "gtk-italic" |
484 | |
485 | /** |
486 | * GTK_STOCK_JUMP_TO: |
487 | * |
488 | * The "Jump to" item. |
489 | * <inlinegraphic fileref="go-jump-ltr.png" format="PNG"></inlinegraphic> |
490 | * RTL-variant |
491 | * <inlinegraphic fileref="go-jump-rtl.png" format="PNG"></inlinegraphic> |
492 | */ |
493 | #define GTK_STOCK_JUMP_TO "gtk-jump-to" |
494 | |
495 | /** |
496 | * GTK_STOCK_JUSTIFY_CENTER: |
497 | * |
498 | * The "Center" item. |
499 | * <inlinegraphic fileref="format-justify-center.png" format="PNG"></inlinegraphic> |
500 | */ |
501 | #define GTK_STOCK_JUSTIFY_CENTER "gtk-justify-center" |
502 | |
503 | /** |
504 | * GTK_STOCK_JUSTIFY_FILL: |
505 | * |
506 | * The "Fill" item. |
507 | * <inlinegraphic fileref="format-justify-fill.png" format="PNG"></inlinegraphic> |
508 | */ |
509 | #define GTK_STOCK_JUSTIFY_FILL "gtk-justify-fill" |
510 | |
511 | /** |
512 | * GTK_STOCK_JUSTIFY_LEFT: |
513 | * |
514 | * The "Left" item. |
515 | * <inlinegraphic fileref="format-justify-left.png" format="PNG"></inlinegraphic> |
516 | */ |
517 | #define GTK_STOCK_JUSTIFY_LEFT "gtk-justify-left" |
518 | |
519 | /** |
520 | * GTK_STOCK_JUSTIFY_RIGHT: |
521 | * |
522 | * The "Right" item. |
523 | * <inlinegraphic fileref="format-justify-right.png" format="PNG"></inlinegraphic> |
524 | */ |
525 | #define GTK_STOCK_JUSTIFY_RIGHT "gtk-justify-right" |
526 | |
527 | /** |
528 | * GTK_STOCK_LEAVE_FULLSCREEN: |
529 | * |
530 | * The "Leave Fullscreen" item. |
531 | * <inlinegraphic fileref="view-restore.png" format="PNG"></inlinegraphic> |
532 | * |
533 | * Since: 2.8 |
534 | */ |
535 | #define GTK_STOCK_LEAVE_FULLSCREEN "gtk-leave-fullscreen" |
536 | |
537 | /** |
538 | * GTK_STOCK_MISSING_IMAGE: |
539 | * |
540 | * The "Missing image" icon. |
541 | * <inlinegraphic fileref="image-missing.png" format="PNG"></inlinegraphic> |
542 | */ |
543 | #define GTK_STOCK_MISSING_IMAGE "gtk-missing-image" |
544 | |
545 | /** |
546 | * GTK_STOCK_MEDIA_FORWARD: |
547 | * |
548 | * The "Media Forward" item. |
549 | * <inlinegraphic fileref="media-seek-forward-ltr.png" format="PNG"></inlinegraphic> |
550 | * RTL variant |
551 | * <inlinegraphic fileref="media-seek-forward-rtl.png" format="PNG"></inlinegraphic> |
552 | * |
553 | * Since: 2.6 |
554 | */ |
555 | #define GTK_STOCK_MEDIA_FORWARD "gtk-media-forward" |
556 | |
557 | /** |
558 | * GTK_STOCK_MEDIA_NEXT: |
559 | * |
560 | * The "Media Next" item. |
561 | * <inlinegraphic fileref="media-skip-forward-ltr.png" format="PNG"></inlinegraphic> |
562 | * RTL variant |
563 | * <inlinegraphic fileref="media-skip-forward-rtl.png" format="PNG"></inlinegraphic> |
564 | * |
565 | * Since: 2.6 |
566 | */ |
567 | #define GTK_STOCK_MEDIA_NEXT "gtk-media-next" |
568 | |
569 | /** |
570 | * GTK_STOCK_MEDIA_PAUSE: |
571 | * |
572 | * The "Media Pause" item. |
573 | * <inlinegraphic fileref="media-playback-pause.png" format="PNG"></inlinegraphic> |
574 | * |
575 | * Since: 2.6 |
576 | */ |
577 | #define GTK_STOCK_MEDIA_PAUSE "gtk-media-pause" |
578 | |
579 | /** |
580 | * GTK_STOCK_MEDIA_PLAY: |
581 | * |
582 | * The "Media Play" item. |
583 | * <inlinegraphic fileref="media-playback-start-ltr.png" format="PNG"></inlinegraphic> |
584 | * RTL variant |
585 | * <inlinegraphic fileref="media-playback-start-rtl.png" format="PNG"></inlinegraphic> |
586 | * |
587 | * Since: 2.6 |
588 | */ |
589 | #define GTK_STOCK_MEDIA_PLAY "gtk-media-play" |
590 | |
591 | /** |
592 | * GTK_STOCK_MEDIA_PREVIOUS: |
593 | * |
594 | * The "Media Previous" item. |
595 | * <inlinegraphic fileref="media-skip-backward-ltr.png" format="PNG"></inlinegraphic> |
596 | * RTL variant |
597 | * <inlinegraphic fileref="media-skip-backward-rtl.png" format="PNG"></inlinegraphic> |
598 | * |
599 | * Since: 2.6 |
600 | */ |
601 | #define GTK_STOCK_MEDIA_PREVIOUS "gtk-media-previous" |
602 | |
603 | /** |
604 | * GTK_STOCK_MEDIA_RECORD: |
605 | * |
606 | * The "Media Record" item. |
607 | * <inlinegraphic fileref="media-record.png" format="PNG"></inlinegraphic> |
608 | * |
609 | * Since: 2.6 |
610 | */ |
611 | #define GTK_STOCK_MEDIA_RECORD "gtk-media-record" |
612 | |
613 | /** |
614 | * GTK_STOCK_MEDIA_REWIND: |
615 | * |
616 | * The "Media Rewind" item. |
617 | * <inlinegraphic fileref="media-seek-backward-ltr.png" format="PNG"></inlinegraphic> |
618 | * RTL variant |
619 | * <inlinegraphic fileref="media-seek-backward-rtl.png" format="PNG"></inlinegraphic> |
620 | * |
621 | * Since: 2.6 |
622 | */ |
623 | #define GTK_STOCK_MEDIA_REWIND "gtk-media-rewind" |
624 | |
625 | /** |
626 | * GTK_STOCK_MEDIA_STOP: |
627 | * |
628 | * The "Media Stop" item. |
629 | * <inlinegraphic fileref="media-playback-stop.png" format="PNG"></inlinegraphic> |
630 | * |
631 | * Since: 2.6 |
632 | */ |
633 | #define GTK_STOCK_MEDIA_STOP "gtk-media-stop" |
634 | |
635 | /** |
636 | * GTK_STOCK_NETWORK: |
637 | * |
638 | * The "Network" item. |
639 | * <inlinegraphic fileref="network-idle.png" format="PNG"></inlinegraphic> |
640 | * |
641 | * Since: 2.4 |
642 | */ |
643 | #define GTK_STOCK_NETWORK "gtk-network" |
644 | |
645 | /** |
646 | * GTK_STOCK_NEW: |
647 | * |
648 | * The "New" item. |
649 | * <inlinegraphic fileref="document-new.png" format="PNG"></inlinegraphic> |
650 | */ |
651 | #define GTK_STOCK_NEW "gtk-new" |
652 | |
653 | /** |
654 | * GTK_STOCK_NO: |
655 | * |
656 | * The "No" item. |
657 | * <inlinegraphic fileref="gtk-no.png" format="PNG"></inlinegraphic> |
658 | */ |
659 | #define GTK_STOCK_NO "gtk-no" |
660 | |
661 | /** |
662 | * GTK_STOCK_OK: |
663 | * |
664 | * The "OK" item. |
665 | * <inlinegraphic fileref="gtk-ok.png" format="PNG"></inlinegraphic> |
666 | */ |
667 | #define GTK_STOCK_OK "gtk-ok" |
668 | |
669 | /** |
670 | * GTK_STOCK_OPEN: |
671 | * |
672 | * The "Open" item. |
673 | * <inlinegraphic fileref="document-open.png" format="PNG"></inlinegraphic> |
674 | */ |
675 | #define GTK_STOCK_OPEN "gtk-open" |
676 | |
677 | /** |
678 | * GTK_STOCK_ORIENTATION_PORTRAIT: |
679 | * |
680 | * The "Portrait Orientation" item. |
681 | * <inlinegraphic fileref="gtk-orientation-portrait.png" format="PNG"></inlinegraphic> |
682 | * |
683 | * Since: 2.10 |
684 | */ |
685 | #define GTK_STOCK_ORIENTATION_PORTRAIT "gtk-orientation-portrait" |
686 | |
687 | /** |
688 | * GTK_STOCK_ORIENTATION_LANDSCAPE: |
689 | * |
690 | * The "Landscape Orientation" item. |
691 | * <inlinegraphic fileref="gtk-orientation-landscape.png" format="PNG"></inlinegraphic> |
692 | * |
693 | * Since: 2.10 |
694 | */ |
695 | #define GTK_STOCK_ORIENTATION_LANDSCAPE "gtk-orientation-landscape" |
696 | |
697 | /** |
698 | * GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE: |
699 | * |
700 | * The "Reverse Landscape Orientation" item. |
701 | * <inlinegraphic fileref="gtk-orientation-reverse-landscape.png" format="PNG"></inlinegraphic> |
702 | * |
703 | * Since: 2.10 |
704 | */ |
705 | #define GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE "gtk-orientation-reverse-landscape" |
706 | |
707 | /** |
708 | * GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT: |
709 | * |
710 | * The "Reverse Portrait Orientation" item. |
711 | * <inlinegraphic fileref="gtk-orientation-reverse-portrait.png" format="PNG"></inlinegraphic> |
712 | * |
713 | * Since: 2.10 |
714 | */ |
715 | #define GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT "gtk-orientation-reverse-portrait" |
716 | |
717 | /** |
718 | * GTK_STOCK_PAGE_SETUP: |
719 | * |
720 | * The "Page Setup" item. |
721 | * <inlinegraphic fileref="gtk-page-setup.png" format="PNG"></inlinegraphic> |
722 | * |
723 | * Since: 2.14 |
724 | */ |
725 | #define GTK_STOCK_PAGE_SETUP "gtk-page-setup" |
726 | |
727 | /** |
728 | * GTK_STOCK_PASTE: |
729 | * |
730 | * The "Paste" item. |
731 | * <inlinegraphic fileref="edit-paste.png" format="PNG"></inlinegraphic> |
732 | */ |
733 | #define GTK_STOCK_PASTE "gtk-paste" |
734 | |
735 | /** |
736 | * GTK_STOCK_PREFERENCES: |
737 | * |
738 | * The "Preferences" item. |
739 | * <inlinegraphic fileref="gtk-preferences.png" format="PNG"></inlinegraphic> |
740 | */ |
741 | #define GTK_STOCK_PREFERENCES "gtk-preferences" |
742 | |
743 | /** |
744 | * GTK_STOCK_PRINT: |
745 | * |
746 | * The "Print" item. |
747 | * <inlinegraphic fileref="document-print.png" format="PNG"></inlinegraphic> |
748 | */ |
749 | #define GTK_STOCK_PRINT "gtk-print" |
750 | |
751 | /** |
752 | * GTK_STOCK_PRINT_ERROR: |
753 | * |
754 | * The "Print Error" icon. |
755 | * <inlinegraphic fileref="printer-error.png" format="PNG"></inlinegraphic> |
756 | * |
757 | * Since: 2.14 |
758 | */ |
759 | #define GTK_STOCK_PRINT_ERROR "gtk-print-error" |
760 | |
761 | /** |
762 | * GTK_STOCK_PRINT_PAUSED: |
763 | * |
764 | * The "Print Paused" icon. |
765 | * <inlinegraphic fileref="printer-paused.png" format="PNG"></inlinegraphic> |
766 | * |
767 | * Since: 2.14 |
768 | */ |
769 | #define GTK_STOCK_PRINT_PAUSED "gtk-print-paused" |
770 | |
771 | /** |
772 | * GTK_STOCK_PRINT_PREVIEW: |
773 | * |
774 | * The "Print Preview" item. |
775 | * <inlinegraphic fileref="document-print-preview.png" format="PNG"></inlinegraphic> |
776 | */ |
777 | #define GTK_STOCK_PRINT_PREVIEW "gtk-print-preview" |
778 | |
779 | /** |
780 | * GTK_STOCK_PRINT_REPORT: |
781 | * |
782 | * The "Print Report" icon. |
783 | * <inlinegraphic fileref="printer-info.png" format="PNG"></inlinegraphic> |
784 | * |
785 | * Since: 2.14 |
786 | */ |
787 | #define GTK_STOCK_PRINT_REPORT "gtk-print-report" |
788 | |
789 | |
790 | /** |
791 | * GTK_STOCK_PRINT_WARNING: |
792 | * |
793 | * The "Print Warning" icon. |
794 | * <inlinegraphic fileref="printer-warning.png" format="PNG"></inlinegraphic> |
795 | * |
796 | * Since: 2.14 |
797 | */ |
798 | #define GTK_STOCK_PRINT_WARNING "gtk-print-warning" |
799 | |
800 | /** |
801 | * GTK_STOCK_PROPERTIES: |
802 | * |
803 | * The "Properties" item. |
804 | * <inlinegraphic fileref="document-properties.png" format="PNG"></inlinegraphic> |
805 | */ |
806 | #define GTK_STOCK_PROPERTIES "gtk-properties" |
807 | |
808 | /** |
809 | * GTK_STOCK_QUIT: |
810 | * |
811 | * The "Quit" item. |
812 | * <inlinegraphic fileref="application-exit.png" format="PNG"></inlinegraphic> |
813 | */ |
814 | #define GTK_STOCK_QUIT "gtk-quit" |
815 | |
816 | /** |
817 | * GTK_STOCK_REDO: |
818 | * |
819 | * The "Redo" item. |
820 | * <inlinegraphic fileref="edit-redo-ltr.png" format="PNG"></inlinegraphic> |
821 | * RTL variant |
822 | * <inlinegraphic fileref="edit-redo-rtl.png" format="PNG"></inlinegraphic> |
823 | */ |
824 | #define GTK_STOCK_REDO "gtk-redo" |
825 | |
826 | /** |
827 | * GTK_STOCK_REFRESH: |
828 | * |
829 | * The "Refresh" item. |
830 | * <inlinegraphic fileref="view-refresh.png" format="PNG"></inlinegraphic> |
831 | */ |
832 | #define GTK_STOCK_REFRESH "gtk-refresh" |
833 | |
834 | /** |
835 | * GTK_STOCK_REMOVE: |
836 | * |
837 | * The "Remove" item. |
838 | * <inlinegraphic fileref="list-remove.png" format="PNG"></inlinegraphic> |
839 | */ |
840 | #define GTK_STOCK_REMOVE "gtk-remove" |
841 | |
842 | /** |
843 | * GTK_STOCK_REVERT_TO_SAVED: |
844 | * |
845 | * The "Revert" item. |
846 | * <inlinegraphic fileref="document-revert-ltr.png" format="PNG"></inlinegraphic> |
847 | * RTL variant |
848 | * <inlinegraphic fileref="document-revert-rtl.png" format="PNG"></inlinegraphic> |
849 | */ |
850 | #define GTK_STOCK_REVERT_TO_SAVED "gtk-revert-to-saved" |
851 | |
852 | /** |
853 | * GTK_STOCK_SAVE: |
854 | * |
855 | * The "Save" item. |
856 | * <inlinegraphic fileref="document-save.png" format="PNG"></inlinegraphic> |
857 | */ |
858 | #define GTK_STOCK_SAVE "gtk-save" |
859 | |
860 | /** |
861 | * GTK_STOCK_SAVE_AS: |
862 | * |
863 | * The "Save As" item. |
864 | * <inlinegraphic fileref="document-save-as.png" format="PNG"></inlinegraphic> |
865 | */ |
866 | #define GTK_STOCK_SAVE_AS "gtk-save-as" |
867 | |
868 | /** |
869 | * GTK_STOCK_SELECT_ALL: |
870 | * |
871 | * The "Select All" item. |
872 | * <inlinegraphic fileref="edit-select-all.png" format="PNG"></inlinegraphic> |
873 | * |
874 | * Since: 2.10 |
875 | */ |
876 | #define GTK_STOCK_SELECT_ALL "gtk-select-all" |
877 | |
878 | /** |
879 | * GTK_STOCK_SELECT_COLOR: |
880 | * |
881 | * The "Color" item. |
882 | * <inlinegraphic fileref="gtk-select-color.png" format="PNG"></inlinegraphic> |
883 | */ |
884 | #define GTK_STOCK_SELECT_COLOR "gtk-select-color" |
885 | |
886 | /** |
887 | * GTK_STOCK_SELECT_FONT: |
888 | * |
889 | * The "Font" item. |
890 | * <inlinegraphic fileref="gtk-font.png" format="PNG"></inlinegraphic> |
891 | */ |
892 | #define GTK_STOCK_SELECT_FONT "gtk-select-font" |
893 | |
894 | /** |
895 | * GTK_STOCK_SORT_ASCENDING: |
896 | * |
897 | * The "Ascending" item. |
898 | * <inlinegraphic fileref="view-sort-ascending.png" format="PNG"></inlinegraphic> |
899 | */ |
900 | #define GTK_STOCK_SORT_ASCENDING "gtk-sort-ascending" |
901 | |
902 | /** |
903 | * GTK_STOCK_SORT_DESCENDING: |
904 | * |
905 | * The "Descending" item. |
906 | * <inlinegraphic fileref="view-sort-descending.png" format="PNG"></inlinegraphic> |
907 | */ |
908 | #define GTK_STOCK_SORT_DESCENDING "gtk-sort-descending" |
909 | |
910 | /** |
911 | * GTK_STOCK_SPELL_CHECK: |
912 | * |
913 | * The "Spell Check" item. |
914 | * <inlinegraphic fileref="tools-check-spelling.png" format="PNG"></inlinegraphic> |
915 | */ |
916 | #define GTK_STOCK_SPELL_CHECK "gtk-spell-check" |
917 | |
918 | /** |
919 | * GTK_STOCK_STOP: |
920 | * |
921 | * The "Stop" item. |
922 | * <inlinegraphic fileref="process-stop.png" format="PNG"></inlinegraphic> |
923 | */ |
924 | #define GTK_STOCK_STOP "gtk-stop" |
925 | |
926 | /** |
927 | * GTK_STOCK_STRIKETHROUGH: |
928 | * |
929 | * The "Strikethrough" item. |
930 | * <inlinegraphic fileref="format-text-strikethrough.png" format="PNG"></inlinegraphic> |
931 | */ |
932 | #define GTK_STOCK_STRIKETHROUGH "gtk-strikethrough" |
933 | |
934 | /** |
935 | * GTK_STOCK_UNDELETE: |
936 | * |
937 | * The "Undelete" item. |
938 | * <inlinegraphic fileref="gtk-undelete-ltr.png" format="PNG"></inlinegraphic> |
939 | * RTL variant |
940 | * <inlinegraphic fileref="gtk-undelete-rtl.png" format="PNG"></inlinegraphic> |
941 | */ |
942 | #define GTK_STOCK_UNDELETE "gtk-undelete" |
943 | |
944 | /** |
945 | * GTK_STOCK_UNDERLINE: |
946 | * |
947 | * The "Underline" item. |
948 | * <inlinegraphic fileref="format-text-underline.png" format="PNG"></inlinegraphic> |
949 | */ |
950 | #define GTK_STOCK_UNDERLINE "gtk-underline" |
951 | |
952 | /** |
953 | * GTK_STOCK_UNDO: |
954 | * |
955 | * The "Undo" item. |
956 | * <inlinegraphic fileref="edit-undo-ltr.png" format="PNG"></inlinegraphic> |
957 | * RTL variant |
958 | * <inlinegraphic fileref="edit-undo-rtl.png" format="PNG"></inlinegraphic> |
959 | */ |
960 | #define GTK_STOCK_UNDO "gtk-undo" |
961 | |
962 | /** |
963 | * GTK_STOCK_UNINDENT: |
964 | * |
965 | * The "Unindent" item. |
966 | * <inlinegraphic fileref="format-indent-less-ltr.png" format="PNG"></inlinegraphic> |
967 | * RTL variant |
968 | * <inlinegraphic fileref="format-indent-less-rtl.png" format="PNG"></inlinegraphic> |
969 | * |
970 | * Since: 2.4 |
971 | */ |
972 | #define GTK_STOCK_UNINDENT "gtk-unindent" |
973 | |
974 | /** |
975 | * GTK_STOCK_YES: |
976 | * |
977 | * The "Yes" item. |
978 | * <inlinegraphic fileref="gtk-yes.png" format="PNG"></inlinegraphic> |
979 | */ |
980 | #define GTK_STOCK_YES "gtk-yes" |
981 | |
982 | /** |
983 | * GTK_STOCK_ZOOM_100: |
984 | * |
985 | * The "Zoom 100%" item. |
986 | * <inlinegraphic fileref="zoom-original.png" format="PNG"></inlinegraphic> |
987 | */ |
988 | #define GTK_STOCK_ZOOM_100 "gtk-zoom-100" |
989 | |
990 | /** |
991 | * GTK_STOCK_ZOOM_FIT: |
992 | * |
993 | * The "Zoom to Fit" item. |
994 | * <inlinegraphic fileref="zoom-fit-best.png" format="PNG"></inlinegraphic> |
995 | */ |
996 | #define GTK_STOCK_ZOOM_FIT "gtk-zoom-fit" |
997 | |
998 | /** |
999 | * GTK_STOCK_ZOOM_IN: |
1000 | * |
1001 | * The "Zoom In" item. |
1002 | * <inlinegraphic fileref="zoom-in.png" format="PNG"></inlinegraphic> |
1003 | */ |
1004 | #define GTK_STOCK_ZOOM_IN "gtk-zoom-in" |
1005 | |
1006 | /** |
1007 | * GTK_STOCK_ZOOM_OUT: |
1008 | * |
1009 | * The "Zoom Out" item. |
1010 | * <inlinegraphic fileref="zoom-out.png" format="PNG"></inlinegraphic> |
1011 | */ |
1012 | #define GTK_STOCK_ZOOM_OUT "gtk-zoom-out" |
1013 | |
1014 | G_END_DECLS |
1015 | |
1016 | #endif /* __GTK_STOCK_H__ */ |
1017 | |