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