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