gtkstock.h 24.2 KB
Newer Older
Cody Russell's avatar
Cody Russell committed
1
/* GTK - The GIMP Toolkit
Havoc Pennington's avatar
Havoc Pennington committed
2
 * Copyright (C) 2000 Red Hat, Inc.
3 4 5 6 7 8 9 10 11 12 13 14
 *
 * 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
Javier Jardón's avatar
Javier Jardón committed
15
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 17 18 19 20 21
 */

/*
 * 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
22
 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
23 24
 */

25
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
26 27 28
#error "Only <gtk/gtk.h> can be included directly."
#endif

29 30 31 32 33 34
#ifndef __GTK_STOCK_H__
#define __GTK_STOCK_H__


#include <gdk/gdk.h>

35
G_BEGIN_DECLS
36

37 38 39 40 41 42 43 44 45 46 47 48 49 50
/*
 * GtkTranslateFunc:
 * @path: The id of the message. In #GtkActionGroup this will be a label
 *   or tooltip from a #GtkActionEntry.
 * @func_data: user data passed in when registering the function
 *
 * The function used to translate messages in e.g. #GtkIconFactory
 * and #GtkActionGroup.
 *
 * Returns: the translated message
 */
typedef gchar * (*GtkTranslateFunc) (const gchar  *path,
                                     gpointer      func_data);

51 52 53 54 55 56 57 58 59 60 61
typedef struct _GtkStockItem GtkStockItem;

struct _GtkStockItem
{
  gchar *stock_id;
  gchar *label;
  GdkModifierType modifier;
  guint keyval;
  gchar *translation_domain;
};

62
void     gtk_stock_add        (const GtkStockItem  *items,
63
                               guint                n_items);
64
void     gtk_stock_add_static (const GtkStockItem  *items,
65 66 67 68
                               guint                n_items);
gboolean gtk_stock_lookup     (const gchar         *stock_id,
                               GtkStockItem        *item);

69
/* Should free the list (and free each string in it also).
70 71
 * This function is only useful for GUI builders and such.
 */
72
GSList*  gtk_stock_list_ids  (void);
73 74 75 76

GtkStockItem *gtk_stock_item_copy (const GtkStockItem *item);
void          gtk_stock_item_free (GtkStockItem       *item);

77 78 79
void          gtk_stock_set_translate_func (const gchar      *domain,
					    GtkTranslateFunc  func,
					    gpointer          data,
80
					    GDestroyNotify    notify);
81

82
/* Stock IDs (not all are stock items; some are images only) */
83 84 85 86
/**
 * GTK_STOCK_ABOUT:
 *
 * The "About" item.
87
 * <inlinegraphic fileref="help-about.png" format="PNG"></inlinegraphic>
88 89 90
 *
 * Since: 2.6
 */
91
#define GTK_STOCK_ABOUT            "gtk-about"
92 93 94 95 96

/**
 * GTK_STOCK_ADD:
 *
 * The "Add" item.
97
 * <inlinegraphic fileref="list-add.png" format="PNG"></inlinegraphic>
98
 */
99
#define GTK_STOCK_ADD              "gtk-add"
100 101 102 103 104 105 106

/**
 * GTK_STOCK_APPLY:
 *
 * The "Apply" item.
 * <inlinegraphic fileref="gtk-apply.png" format="PNG"></inlinegraphic>
 */
107
#define GTK_STOCK_APPLY            "gtk-apply"
108 109 110 111 112

/**
 * GTK_STOCK_BOLD:
 *
 * The "Bold" item.
113
 * <inlinegraphic fileref="format-text-bold.png" format="PNG"></inlinegraphic>
114
 */
115
#define GTK_STOCK_BOLD             "gtk-bold"
116 117 118 119 120 121 122

/**
 * GTK_STOCK_CANCEL:
 *
 * The "Cancel" item.
 * <inlinegraphic fileref="gtk-cancel.png" format="PNG"></inlinegraphic>
 */
123
#define GTK_STOCK_CANCEL           "gtk-cancel"
124 125 126 127 128 129 130 131 132

/**
 * GTK_STOCK_CAPS_LOCK_WARNING:
 *
 * The "Caps Lock Warning" icon.
 * <inlinegraphic fileref="gtk-caps-lock-warning.png" format="PNG"></inlinegraphic>
 *
 * Since: 2.16
 */
133
#define GTK_STOCK_CAPS_LOCK_WARNING "gtk-caps-lock-warning"
134 135 136 137 138

/**
 * GTK_STOCK_CDROM:
 *
 * The "CD-Rom" item.
139
 * <inlinegraphic fileref="media-optical.png" format="PNG"></inlinegraphic>
140
 */
141
#define GTK_STOCK_CDROM            "gtk-cdrom"
142 143 144 145 146

/**
 * GTK_STOCK_CLEAR:
 *
 * The "Clear" item.
147
 * <inlinegraphic fileref="edit-clear.png" format="PNG"></inlinegraphic>
148
 */
149
#define GTK_STOCK_CLEAR            "gtk-clear"
150 151 152 153 154

/**
 * GTK_STOCK_CLOSE:
 *
 * The "Close" item.
155
 * <inlinegraphic fileref="window-close.png" format="PNG"></inlinegraphic>
156
 */
157
#define GTK_STOCK_CLOSE            "gtk-close"
158 159 160 161 162 163 164 165 166

/**
 * GTK_STOCK_COLOR_PICKER:
 *
 * The "Color Picker" item.
 * <inlinegraphic fileref="gtk-color-picker.png" format="PNG"></inlinegraphic>
 *
 * Since: 2.2
 */
167
#define GTK_STOCK_COLOR_PICKER     "gtk-color-picker"
168 169 170 171 172 173 174 175 176

/**
 * GTK_STOCK_CONNECT:
 *
 * The "Connect" icon.
 * <inlinegraphic fileref="gtk-connect.png" format="PNG"></inlinegraphic>
 *
 * Since: 2.6
 */
177
#define GTK_STOCK_CONNECT          "gtk-connect"
178 179 180 181 182 183 184 185 186 187 188 189 190

/**
 * GTK_STOCK_CONVERT:
 *
 * The "Convert" item.
 * <inlinegraphic fileref="gtk-convert.png" format="PNG"></inlinegraphic>
 */
#define GTK_STOCK_CONVERT          "gtk-convert"

/**
 * GTK_STOCK_COPY:
 *
 * The "Copy" item.
191
 * <inlinegraphic fileref="edit-copy.png" format="PNG"></inlinegraphic>
192
 */
193
#define GTK_STOCK_COPY             "gtk-copy"
194 195 196 197 198

/**
 * GTK_STOCK_CUT:
 *
 * The "Cut" item.
199
 * <inlinegraphic fileref="edit-cut.png" format="PNG"></inlinegraphic>
200
 */
201
#define GTK_STOCK_CUT              "gtk-cut"
202 203 204 205 206

/**
 * GTK_STOCK_DELETE:
 *
 * The "Delete" item.
207
 * <inlinegraphic fileref="edit-delete.png" format="PNG"></inlinegraphic>
208
 */
209
#define GTK_STOCK_DELETE           "gtk-delete"
210 211 212 213 214

/**
 * GTK_STOCK_DIALOG_AUTHENTICATION:
 *
 * The "Authentication" item.
215
 * <inlinegraphic fileref="dialog-password.png" format="PNG"></inlinegraphic>
216 217 218 219 220 221 222 223 224
 *
 * Since: 2.4
 */
#define GTK_STOCK_DIALOG_AUTHENTICATION "gtk-dialog-authentication"

/**
 * GTK_STOCK_DIALOG_INFO:
 *
 * The "Information" item.
225
 * <inlinegraphic fileref="dialog-information.png" format="PNG"></inlinegraphic>
226 227 228 229 230 231 232
 */
#define GTK_STOCK_DIALOG_INFO      "gtk-dialog-info"

/**
 * GTK_STOCK_DIALOG_WARNING:
 *
 * The "Warning" item.
233
 * <inlinegraphic fileref="dialog-warning.png" format="PNG"></inlinegraphic>
234 235 236 237 238 239 240
 */
#define GTK_STOCK_DIALOG_WARNING   "gtk-dialog-warning"

/**
 * GTK_STOCK_DIALOG_ERROR:
 *
 * The "Error" item.
241
 * <inlinegraphic fileref="dialog-error.png" format="PNG"></inlinegraphic>
242 243 244 245 246 247 248
 */
#define GTK_STOCK_DIALOG_ERROR     "gtk-dialog-error"

/**
 * GTK_STOCK_DIALOG_QUESTION:
 *
 * The "Question" item.
249
 * <inlinegraphic fileref="dialog-question.png" format="PNG"></inlinegraphic>
250 251 252 253 254 255 256
 */
#define GTK_STOCK_DIALOG_QUESTION  "gtk-dialog-question"

/**
 * GTK_STOCK_DIRECTORY:
 *
 * The "Directory" icon.
257
 * <inlinegraphic fileref="folder.png" format="PNG"></inlinegraphic>
258 259 260
 *
 * Since: 2.6
 */
261
#define GTK_STOCK_DIRECTORY        "gtk-directory"
262 263 264 265 266 267 268 269

/**
 * GTK_STOCK_DISCARD:
 *
 * The "Discard" item.
 *
 * Since: 2.12
 */
270
#define GTK_STOCK_DISCARD          "gtk-discard"
271 272 273 274 275 276 277 278 279

/**
 * GTK_STOCK_DISCONNECT:
 *
 * The "Disconnect" icon.
 * <inlinegraphic fileref="gtk-disconnect.png" format="PNG"></inlinegraphic>
 *
 * Since: 2.6
 */
280
#define GTK_STOCK_DISCONNECT       "gtk-disconnect"
281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305

/**
 * GTK_STOCK_DND:
 *
 * The "Drag-And-Drop" icon.
 * <inlinegraphic fileref="gtk-dnd.png" format="PNG"></inlinegraphic>
 */
#define GTK_STOCK_DND              "gtk-dnd"

/**
 * GTK_STOCK_DND_MULTIPLE:
 *
 * The "Drag-And-Drop multiple" icon.
 * <inlinegraphic fileref="gtk-dnd-multiple.png" format="PNG"></inlinegraphic>
 */
#define GTK_STOCK_DND_MULTIPLE     "gtk-dnd-multiple"

/**
 * GTK_STOCK_EDIT:
 *
 * The "Edit" item.
 * <inlinegraphic fileref="gtk-edit.png" format="PNG"></inlinegraphic>
 *
 * Since: 2.6
 */
306
#define GTK_STOCK_EDIT             "gtk-edit"
307 308 309 310 311

/**
 * GTK_STOCK_EXECUTE:
 *
 * The "Execute" item.
312
 * <inlinegraphic fileref="system-run.png" format="PNG"></inlinegraphic>
313
 */
314
#define GTK_STOCK_EXECUTE          "gtk-execute"
315 316 317 318

/**
 * GTK_STOCK_FILE:
 *
319
 * The "File" item.
320
 * <inlinegraphic fileref="text-x-generic.png" format="PNG"></inlinegraphic>
321
 *
322 323
 * Since 3.0, this item has a label, before it only had an icon.
 *
324 325
 * Since: 2.6
 */
326
#define GTK_STOCK_FILE             "gtk-file"
327 328 329 330 331

/**
 * GTK_STOCK_FIND:
 *
 * The "Find" item.
332
 * <inlinegraphic fileref="edit-find.png" format="PNG"></inlinegraphic>
333
 */
334
#define GTK_STOCK_FIND             "gtk-find"
335 336 337 338 339

/**
 * GTK_STOCK_FIND_AND_REPLACE:
 *
 * 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 346 347

/**
 * GTK_STOCK_FLOPPY:
 *
 * The "Floppy" item.
348
 * <inlinegraphic fileref="media-floppy.png" format="PNG"></inlinegraphic>
349
 */
350
#define GTK_STOCK_FLOPPY           "gtk-floppy"
351 352 353 354 355

/**
 * GTK_STOCK_FULLSCREEN:
 *
 * The "Fullscreen" item.
356
 * <inlinegraphic fileref="view-fullscreen.png" format="PNG"></inlinegraphic>
357 358 359
 *
 * Since: 2.8
 */
360
#define GTK_STOCK_FULLSCREEN       "gtk-fullscreen"
361 362 363 364 365

/**
 * GTK_STOCK_GOTO_BOTTOM:
 *
 * 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 372 373

/**
 * GTK_STOCK_GOTO_FIRST:
 *
 * 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 382 383

/**
 * GTK_STOCK_GOTO_LAST:
 *
 * 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 392 393

/**
 * GTK_STOCK_GOTO_TOP:
 *
 * 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 400 401

/**
 * GTK_STOCK_GO_BACK:
 *
 * 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 410 411

/**
 * GTK_STOCK_GO_DOWN:
 *
 * 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 418 419

/**
 * GTK_STOCK_GO_FORWARD:
 *
 * 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 428 429

/**
 * GTK_STOCK_GO_UP:
 *
 * 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 436 437

/**
 * GTK_STOCK_HARDDISK:
 *
 * The "Harddisk" item.
438
 * <inlinegraphic fileref="drive-harddisk.png" format="PNG"></inlinegraphic>
439 440 441
 *
 * Since: 2.4
 */
442
#define GTK_STOCK_HARDDISK         "gtk-harddisk"
443 444 445 446 447

/**
 * GTK_STOCK_HELP:
 *
 * The "Help" item.
448
 * <inlinegraphic fileref="help-contents.png" format="PNG"></inlinegraphic>
449
 */
450
#define GTK_STOCK_HELP             "gtk-help"
451 452 453 454 455

/**
 * GTK_STOCK_HOME:
 *
 * The "Home" item.
456
 * <inlinegraphic fileref="go-home.png" format="PNG"></inlinegraphic>
457
 */
458
#define GTK_STOCK_HOME             "gtk-home"
459 460 461 462 463 464 465

/**
 * GTK_STOCK_INDEX:
 *
 * The "Index" item.
 * <inlinegraphic fileref="gtk-index.png" format="PNG"></inlinegraphic>
 */
466
#define GTK_STOCK_INDEX            "gtk-index"
467 468 469 470 471

/**
 * GTK_STOCK_INDENT:
 *
 * 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 477
 *
 * Since: 2.4
 */
478
#define GTK_STOCK_INDENT           "gtk-indent"
479 480 481 482 483

/**
 * GTK_STOCK_INFO:
 *
 * The "Info" item.
484
 * <inlinegraphic fileref="dialog-information.png" format="PNG"></inlinegraphic>
485 486 487
 *
 * Since: 2.8
 */
488
#define GTK_STOCK_INFO             "gtk-info"
489 490 491 492 493

/**
 * GTK_STOCK_ITALIC:
 *
 * The "Italic" item.
494
 * <inlinegraphic fileref="format-text-italic.png" format="PNG"></inlinegraphic>
495
 */
496
#define GTK_STOCK_ITALIC           "gtk-italic"
497 498 499 500 501

/**
 * GTK_STOCK_JUMP_TO:
 *
 * 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 510 511

/**
 * GTK_STOCK_JUSTIFY_CENTER:
 *
 * 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 518 519

/**
 * GTK_STOCK_JUSTIFY_FILL:
 *
 * 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 526 527

/**
 * GTK_STOCK_JUSTIFY_LEFT:
 *
 * 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 534 535

/**
 * GTK_STOCK_JUSTIFY_RIGHT:
 *
 * 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 542 543

/**
 * GTK_STOCK_LEAVE_FULLSCREEN:
 *
 * The "Leave Fullscreen" item.
544
 * <inlinegraphic fileref="view-restore.png" format="PNG"></inlinegraphic>
545 546 547
 *
 * Since: 2.8
 */
548
#define GTK_STOCK_LEAVE_FULLSCREEN "gtk-leave-fullscreen"
549 550 551 552 553

/**
 * GTK_STOCK_MISSING_IMAGE:
 *
 * 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 560 561

/**
 * GTK_STOCK_MEDIA_FORWARD:
 *
 * 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 567
 *
 * Since: 2.6
 */
568
#define GTK_STOCK_MEDIA_FORWARD    "gtk-media-forward"
569 570 571 572 573

/**
 * GTK_STOCK_MEDIA_NEXT:
 *
 * 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 579
 *
 * Since: 2.6
 */
580
#define GTK_STOCK_MEDIA_NEXT       "gtk-media-next"
581 582 583 584 585

/**
 * GTK_STOCK_MEDIA_PAUSE:
 *
 * The "Media Pause" item.
586
 * <inlinegraphic fileref="media-playback-pause.png" format="PNG"></inlinegraphic>
587 588 589
 *
 * Since: 2.6
 */
590
#define GTK_STOCK_MEDIA_PAUSE      "gtk-media-pause"
591 592 593 594 595

/**
 * GTK_STOCK_MEDIA_PLAY:
 *
 * 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 601
 *
 * Since: 2.6
 */
602
#define GTK_STOCK_MEDIA_PLAY       "gtk-media-play"
603 604 605 606 607

/**
 * GTK_STOCK_MEDIA_PREVIOUS:
 *
 * 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 613
 *
 * Since: 2.6
 */
614
#define GTK_STOCK_MEDIA_PREVIOUS   "gtk-media-previous"
615 616 617 618 619

/**
 * GTK_STOCK_MEDIA_RECORD:
 *
 * The "Media Record" item.
620
 * <inlinegraphic fileref="media-record.png" format="PNG"></inlinegraphic>
621 622 623
 *
 * Since: 2.6
 */
624
#define GTK_STOCK_MEDIA_RECORD     "gtk-media-record"
625 626 627 628 629

/**
 * GTK_STOCK_MEDIA_REWIND:
 *
 * 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 635
 *
 * Since: 2.6
 */
636
#define GTK_STOCK_MEDIA_REWIND     "gtk-media-rewind"
637 638 639 640 641

/**
 * GTK_STOCK_MEDIA_STOP:
 *
 * The "Media Stop" item.
642
 * <inlinegraphic fileref="media-playback-stop.png" format="PNG"></inlinegraphic>
643 644 645
 *
 * Since: 2.6
 */
646
#define GTK_STOCK_MEDIA_STOP       "gtk-media-stop"
647 648 649 650 651

/**
 * GTK_STOCK_NETWORK:
 *
 * The "Network" item.
652
 * <inlinegraphic fileref="network-idle.png" format="PNG"></inlinegraphic>
653 654 655
 *
 * Since: 2.4
 */
656
#define GTK_STOCK_NETWORK          "gtk-network"
657 658 659 660 661

/**
 * GTK_STOCK_NEW:
 *
 * The "New" item.
662
 * <inlinegraphic fileref="document-new.png" format="PNG"></inlinegraphic>
663
 */
664
#define GTK_STOCK_NEW              "gtk-new"
665 666 667 668 669 670 671

/**
 * GTK_STOCK_NO:
 *
 * The "No" item.
 * <inlinegraphic fileref="gtk-no.png" format="PNG"></inlinegraphic>
 */
672
#define GTK_STOCK_NO               "gtk-no"
673 674 675 676 677 678 679

/**
 * GTK_STOCK_OK:
 *
 * The "OK" item.
 * <inlinegraphic fileref="gtk-ok.png" format="PNG"></inlinegraphic>
 */
680
#define GTK_STOCK_OK               "gtk-ok"
681 682 683 684 685

/**
 * GTK_STOCK_OPEN:
 *
 * The "Open" item.
686
 * <inlinegraphic fileref="document-open.png" format="PNG"></inlinegraphic>
687
 */
688
#define GTK_STOCK_OPEN             "gtk-open"
689 690 691 692 693 694 695 696 697

/**
 * GTK_STOCK_ORIENTATION_PORTRAIT:
 *
 * The "Portrait Orientation" item.
 * <inlinegraphic fileref="gtk-orientation-portrait.png" format="PNG"></inlinegraphic>
 *
 * Since: 2.10
 */
698
#define GTK_STOCK_ORIENTATION_PORTRAIT "gtk-orientation-portrait"
699 700 701 702 703 704 705 706 707

/**
 * GTK_STOCK_ORIENTATION_LANDSCAPE:
 *
 * The "Landscape Orientation" item.
 * <inlinegraphic fileref="gtk-orientation-landscape.png" format="PNG"></inlinegraphic>
 *
 * Since: 2.10
 */
708
#define GTK_STOCK_ORIENTATION_LANDSCAPE "gtk-orientation-landscape"
709 710 711 712 713 714 715 716 717

/**
 * GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE:
 *
 * The "Reverse Landscape Orientation" item.
 * <inlinegraphic fileref="gtk-orientation-reverse-landscape.png" format="PNG"></inlinegraphic>
 *
 * Since: 2.10
 */
718
#define GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE "gtk-orientation-reverse-landscape"
719 720 721 722 723 724 725 726 727

/**
 * GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT:
 *
 * The "Reverse Portrait Orientation" item.
 * <inlinegraphic fileref="gtk-orientation-reverse-portrait.png" format="PNG"></inlinegraphic>
 *
 * Since: 2.10
 */
728
#define GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT "gtk-orientation-reverse-portrait"
729 730 731 732 733 734 735 736 737

/**
 * GTK_STOCK_PAGE_SETUP:
 *
 * The "Page Setup" item.
 * <inlinegraphic fileref="gtk-page-setup.png" format="PNG"></inlinegraphic>
 *
 * Since: 2.14
 */
738
#define GTK_STOCK_PAGE_SETUP       "gtk-page-setup"
739 740 741 742 743

/**
 * GTK_STOCK_PASTE:
 *
 * The "Paste" item.
744
 * <inlinegraphic fileref="edit-paste.png" format="PNG"></inlinegraphic>
745
 */
746
#define GTK_STOCK_PASTE            "gtk-paste"
747 748 749 750 751 752 753

/**
 * GTK_STOCK_PREFERENCES:
 *
 * The "Preferences" item.
 * <inlinegraphic fileref="gtk-preferences.png" format="PNG"></inlinegraphic>
 */
754
#define GTK_STOCK_PREFERENCES      "gtk-preferences"
755 756 757 758 759

/**
 * GTK_STOCK_PRINT:
 *
 * The "Print" item.
760
 * <inlinegraphic fileref="document-print.png" format="PNG"></inlinegraphic>
761
 */
762
#define GTK_STOCK_PRINT            "gtk-print"
763 764 765 766 767

/**
 * GTK_STOCK_PRINT_ERROR:
 *
 * The "Print Error" icon.
768
 * <inlinegraphic fileref="printer-error.png" format="PNG"></inlinegraphic>
769 770 771
 *
 * Since: 2.14
 */
772
#define GTK_STOCK_PRINT_ERROR      "gtk-print-error"
773 774 775 776 777

/**
 * GTK_STOCK_PRINT_PAUSED:
 *
 * The "Print Paused" icon.
778
 * <inlinegraphic fileref="printer-paused.png" format="PNG"></inlinegraphic>
779 780 781
 *
 * Since: 2.14
 */
782
#define GTK_STOCK_PRINT_PAUSED     "gtk-print-paused"
783 784 785 786 787

/**
 * GTK_STOCK_PRINT_PREVIEW:
 *
 * 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 794 795

/**
 * GTK_STOCK_PRINT_REPORT:
 *
 * The "Print Report" icon.
796
 * <inlinegraphic fileref="printer-info.png" format="PNG"></inlinegraphic>
797 798 799
 *
 * Since: 2.14
 */
800
#define GTK_STOCK_PRINT_REPORT     "gtk-print-report"
801 802 803 804 805 806


/**
 * GTK_STOCK_PRINT_WARNING:
 *
 * The "Print Warning" icon.
807
 * <inlinegraphic fileref="printer-warning.png" format="PNG"></inlinegraphic>
808 809 810
 *
 * Since: 2.14
 */
811
#define GTK_STOCK_PRINT_WARNING    "gtk-print-warning"
812 813 814 815 816

/**
 * GTK_STOCK_PROPERTIES:
 *
 * The "Properties" item.
817
 * <inlinegraphic fileref="document-properties.png" format="PNG"></inlinegraphic>
818
 */
819
#define GTK_STOCK_PROPERTIES       "gtk-properties"
820 821 822 823 824

/**
 * GTK_STOCK_QUIT:
 *
 * The "Quit" item.
825
 * <inlinegraphic fileref="application-exit.png" format="PNG"></inlinegraphic>
826
 */
827
#define GTK_STOCK_QUIT             "gtk-quit"
828 829 830 831 832

/**
 * GTK_STOCK_REDO:
 *
 * 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 841 842

/**
 * GTK_STOCK_REFRESH:
 *
 * The "Refresh" item.
843
 * <inlinegraphic fileref="view-refresh.png" format="PNG"></inlinegraphic>
844
 */
845
#define GTK_STOCK_REFRESH          "gtk-refresh"
846 847 848 849 850

/**
 * GTK_STOCK_REMOVE:
 *
 * The "Remove" item.
851
 * <inlinegraphic fileref="list-remove.png" format="PNG"></inlinegraphic>
852
 */
853
#define GTK_STOCK_REMOVE           "gtk-remove"
854 855 856 857 858

/**
 * GTK_STOCK_REVERT_TO_SAVED:
 *
 * 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 867 868

/**
 * GTK_STOCK_SAVE:
 *
 * The "Save" item.
869
 * <inlinegraphic fileref="document-save.png" format="PNG"></inlinegraphic>
870
 */
871
#define GTK_STOCK_SAVE             "gtk-save"
872 873 874 875 876

/**
 * GTK_STOCK_SAVE_AS:
 *
 * 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 883 884

/**
 * GTK_STOCK_SELECT_ALL:
 *
 * The "Select All" item.
885
 * <inlinegraphic fileref="edit-select-all.png" format="PNG"></inlinegraphic>
886 887 888
 *
 * Since: 2.10
 */
889
#define GTK_STOCK_SELECT_ALL       "gtk-select-all"
890 891 892 893 894 895 896

/**
 * GTK_STOCK_SELECT_COLOR:
 *
 * The "Color" item.
 * <inlinegraphic fileref="gtk-select-color.png" format="PNG"></inlinegraphic>
 */
897
#define GTK_STOCK_SELECT_COLOR     "gtk-select-color"
898 899 900 901 902 903 904

/**
 * GTK_STOCK_SELECT_FONT:
 *
 * The "Font" item.
 * <inlinegraphic fileref="gtk-font.png" format="PNG"></inlinegraphic>
 */
905
#define GTK_STOCK_SELECT_FONT      "gtk-select-font"
906 907 908 909 910

/**
 * GTK_STOCK_SORT_ASCENDING:
 *
 * 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 917 918

/**
 * GTK_STOCK_SORT_DESCENDING:
 *
 * 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 925 926

/**
 * GTK_STOCK_SPELL_CHECK:
 *
 * 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 933 934

/**
 * GTK_STOCK_STOP:
 *
 * The "Stop" item.
935
 * <inlinegraphic fileref="process-stop.png" format="PNG"></inlinegraphic>
936
 */
937
#define GTK_STOCK_STOP             "gtk-stop"
938 939 940 941 942

/**
 * GTK_STOCK_STRIKETHROUGH:
 *
 * The "Strikethrough" item.
943
 * <inlinegraphic fileref="format-text-strikethrough.png" format="PNG"></inlinegraphic>
944
 */
945
#define GTK_STOCK_STRIKETHROUGH    "gtk-strikethrough"
946 947 948 949 950 951 952 953 954

/**
 * GTK_STOCK_UNDELETE:
 *
 * The "Undelete" item.
 * <inlinegraphic fileref="gtk-undelete-ltr.png" format="PNG"></inlinegraphic>
 * RTL variant
 * <inlinegraphic fileref="gtk-undelete-rtl.png" format="PNG"></inlinegraphic>
 */
955
#define GTK_STOCK_UNDELETE         "gtk-undelete"
956 957 958 959 960

/**
 * GTK_STOCK_UNDERLINE:
 *
 * The "Underline" item.
961
 * <inlinegraphic fileref="format-text-underline.png" format="PNG"></inlinegraphic>
962
 */
963
#define GTK_STOCK_UNDERLINE        "gtk-underline"
964 965 966 967 968

/**
 * GTK_STOCK_UNDO:
 *
 * 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 977 978

/**
 * GTK_STOCK_UNINDENT:
 *
 * 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 984 985 986 987 988 989 990 991 992
 *
 * Since: 2.4
 */
#define GTK_STOCK_UNINDENT         "gtk-unindent"

/**
 * GTK_STOCK_YES:
 *
 * The "Yes" item.
 * <inlinegraphic fileref="gtk-yes.png" format="PNG"></inlinegraphic>
 */
993
#define GTK_STOCK_YES              "gtk-yes"
994 995 996 997 998

/**
 * GTK_STOCK_ZOOM_100:
 *
 * 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 1005 1006

/**
 * GTK_STOCK_ZOOM_FIT:
 *
 * 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 1013 1014

/**
 * GTK_STOCK_ZOOM_IN:
 *
 * 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 1021 1022

/**
 * GTK_STOCK_ZOOM_OUT:
 *
 * 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__ */