forked from AuroraMiddleware/gtk
1271 lines
28 KiB
C
1271 lines
28 KiB
C
/* GTK - The GIMP Toolkit
|
|
* Copyright (C) 2000 Red Hat, Inc.
|
|
*
|
|
* 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
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
/*
|
|
* 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
|
|
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
|
*/
|
|
|
|
#ifndef __GTK_STOCK_H__
|
|
#define __GTK_STOCK_H__
|
|
|
|
|
|
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
|
#error "Only <gtk/gtk.h> can be included directly."
|
|
#endif
|
|
|
|
#include <gdk/gdk.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/*
|
|
* 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
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
typedef gchar * (*GtkTranslateFunc) (const gchar *path,
|
|
gpointer func_data);
|
|
|
|
typedef struct _GtkStockItem GtkStockItem;
|
|
|
|
/**
|
|
* GtkStockItem:
|
|
* @stock_id: Identifier.
|
|
* @label: User visible label.
|
|
* @modifier: Modifier type for keyboard accelerator
|
|
* @keyval: Keyboard accelerator
|
|
* @translation_domain: Translation domain of the menu or toolbar item
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
struct _GtkStockItem
|
|
{
|
|
gchar *stock_id;
|
|
gchar *label;
|
|
GdkModifierType modifier;
|
|
guint keyval;
|
|
gchar *translation_domain;
|
|
};
|
|
|
|
GDK_DEPRECATED_IN_3_10
|
|
void gtk_stock_add (const GtkStockItem *items,
|
|
guint n_items);
|
|
GDK_DEPRECATED_IN_3_10
|
|
void gtk_stock_add_static (const GtkStockItem *items,
|
|
guint n_items);
|
|
GDK_DEPRECATED_IN_3_10
|
|
gboolean gtk_stock_lookup (const gchar *stock_id,
|
|
GtkStockItem *item);
|
|
|
|
/* Should free the list (and free each string in it also).
|
|
* This function is only useful for GUI builders and such.
|
|
*/
|
|
GDK_DEPRECATED_IN_3_10
|
|
GSList* gtk_stock_list_ids (void);
|
|
|
|
GDK_DEPRECATED_IN_3_10
|
|
GtkStockItem *gtk_stock_item_copy (const GtkStockItem *item);
|
|
GDK_DEPRECATED_IN_3_10
|
|
void gtk_stock_item_free (GtkStockItem *item);
|
|
|
|
GDK_DEPRECATED_IN_3_10
|
|
void gtk_stock_set_translate_func (const gchar *domain,
|
|
GtkTranslateFunc func,
|
|
gpointer data,
|
|
GDestroyNotify notify);
|
|
|
|
/* the following type exists just so we can get deprecation warnings */
|
|
#ifndef GDK_DISABLE_DEPRECATION_WARNINGS
|
|
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_10
|
|
G_DEPRECATED
|
|
#endif
|
|
#endif
|
|
typedef char * GtkStock;
|
|
|
|
#ifndef GTK_DISABLE_DEPRECATED
|
|
|
|
/* Stock IDs (not all are stock items; some are images only) */
|
|
/**
|
|
* GTK_STOCK_ABOUT:
|
|
*
|
|
* The “About” item.
|
|
* ![](help-about.png)
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10: Use named icon "help-about" or the label "_About".
|
|
*/
|
|
#define GTK_STOCK_ABOUT ((GtkStock)"gtk-about")
|
|
|
|
/**
|
|
* GTK_STOCK_ADD:
|
|
*
|
|
* The “Add” item.
|
|
* ![](list-add.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "list-add" or the label "_Add".
|
|
*/
|
|
#define GTK_STOCK_ADD ((GtkStock)"gtk-add")
|
|
|
|
/**
|
|
* GTK_STOCK_APPLY:
|
|
*
|
|
* The “Apply” item.
|
|
* ![](gtk-apply.png)
|
|
*
|
|
* Deprecated: 3.10: Do not use an icon. Use label "_Apply".
|
|
*/
|
|
#define GTK_STOCK_APPLY ((GtkStock)"gtk-apply")
|
|
|
|
/**
|
|
* GTK_STOCK_BOLD:
|
|
*
|
|
* The “Bold” item.
|
|
* ![](format-text-bold.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "format-text-bold".
|
|
*/
|
|
#define GTK_STOCK_BOLD ((GtkStock)"gtk-bold")
|
|
|
|
/**
|
|
* GTK_STOCK_CANCEL:
|
|
*
|
|
* The “Cancel” item.
|
|
* ![](gtk-cancel.png)
|
|
*
|
|
* Deprecated: 3.10: Do not use an icon. Use label "_Cancel".
|
|
*/
|
|
#define GTK_STOCK_CANCEL ((GtkStock)"gtk-cancel")
|
|
|
|
/**
|
|
* GTK_STOCK_CAPS_LOCK_WARNING:
|
|
*
|
|
* The “Caps Lock Warning” icon.
|
|
* ![](gtk-caps-lock-warning.png)
|
|
*
|
|
* Since: 2.16
|
|
*
|
|
* Deprecated: 3.10: Use named icon "dialog-warning-symbolic".
|
|
*/
|
|
#define GTK_STOCK_CAPS_LOCK_WARNING ((GtkStock)"gtk-caps-lock-warning")
|
|
|
|
/**
|
|
* GTK_STOCK_CDROM:
|
|
*
|
|
* The “CD-Rom” item.
|
|
* ![](media-optical.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "media-optical".
|
|
*/
|
|
#define GTK_STOCK_CDROM ((GtkStock)"gtk-cdrom")
|
|
|
|
/**
|
|
* GTK_STOCK_CLEAR:
|
|
*
|
|
* The “Clear” item.
|
|
* ![](edit-clear.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "edit-clear".
|
|
*/
|
|
#define GTK_STOCK_CLEAR ((GtkStock)"gtk-clear")
|
|
|
|
/**
|
|
* GTK_STOCK_CLOSE:
|
|
*
|
|
* The “Close” item.
|
|
* ![](window-close.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "window-close" or the label "_Close".
|
|
*/
|
|
#define GTK_STOCK_CLOSE ((GtkStock)"gtk-close")
|
|
|
|
/**
|
|
* GTK_STOCK_COLOR_PICKER:
|
|
*
|
|
* The “Color Picker” item.
|
|
* ![](gtk-color-picker.png)
|
|
*
|
|
* Since: 2.2
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_COLOR_PICKER ((GtkStock)"gtk-color-picker")
|
|
|
|
/**
|
|
* GTK_STOCK_CONNECT:
|
|
*
|
|
* The “Connect” icon.
|
|
* ![](gtk-connect.png)
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_CONNECT ((GtkStock)"gtk-connect")
|
|
|
|
/**
|
|
* GTK_STOCK_CONVERT:
|
|
*
|
|
* The “Convert” item.
|
|
* ![](gtk-convert.png)
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_CONVERT ((GtkStock)"gtk-convert")
|
|
|
|
/**
|
|
* GTK_STOCK_COPY:
|
|
*
|
|
* The “Copy” item.
|
|
* ![](edit-copy.png)
|
|
*
|
|
* Deprecated: 3.10: Do not use an icon. Use label "_Copy".
|
|
*/
|
|
#define GTK_STOCK_COPY ((GtkStock)"gtk-copy")
|
|
|
|
/**
|
|
* GTK_STOCK_CUT:
|
|
*
|
|
* The “Cut” item.
|
|
* ![](edit-cut.png)
|
|
*
|
|
* Deprecated: 3.10: Do not use an icon. Use label "Cu_t".
|
|
*/
|
|
#define GTK_STOCK_CUT ((GtkStock)"gtk-cut")
|
|
|
|
/**
|
|
* GTK_STOCK_DELETE:
|
|
*
|
|
* The “Delete” item.
|
|
* ![](edit-delete.png)
|
|
*
|
|
* Deprecated: 3.10: Do not use an icon. Use label "_Delete".
|
|
*/
|
|
#define GTK_STOCK_DELETE ((GtkStock)"gtk-delete")
|
|
|
|
/**
|
|
* GTK_STOCK_DIALOG_AUTHENTICATION:
|
|
*
|
|
* The “Authentication” item.
|
|
* ![](dialog-password.png)
|
|
*
|
|
* Since: 2.4
|
|
*
|
|
* Deprecated: 3.10: Use named icon "dialog-password".
|
|
*/
|
|
#define GTK_STOCK_DIALOG_AUTHENTICATION ((GtkStock)"gtk-dialog-authentication")
|
|
|
|
/**
|
|
* GTK_STOCK_DIALOG_INFO:
|
|
*
|
|
* The “Information” item.
|
|
* ![](dialog-information.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "dialog-information".
|
|
*/
|
|
#define GTK_STOCK_DIALOG_INFO ((GtkStock)"gtk-dialog-info")
|
|
|
|
/**
|
|
* GTK_STOCK_DIALOG_WARNING:
|
|
*
|
|
* The “Warning” item.
|
|
* ![](dialog-warning.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "dialog-warning".
|
|
*/
|
|
#define GTK_STOCK_DIALOG_WARNING ((GtkStock)"gtk-dialog-warning")
|
|
|
|
/**
|
|
* GTK_STOCK_DIALOG_ERROR:
|
|
*
|
|
* The “Error” item.
|
|
* ![](dialog-error.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "dialog-error".
|
|
*/
|
|
#define GTK_STOCK_DIALOG_ERROR ((GtkStock)"gtk-dialog-error")
|
|
|
|
/**
|
|
* GTK_STOCK_DIALOG_QUESTION:
|
|
*
|
|
* The “Question” item.
|
|
* ![](dialog-question.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "dialog-question".
|
|
*/
|
|
#define GTK_STOCK_DIALOG_QUESTION ((GtkStock)"gtk-dialog-question")
|
|
|
|
/**
|
|
* GTK_STOCK_DIRECTORY:
|
|
*
|
|
* The “Directory” icon.
|
|
* ![](folder.png)
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10: Use named icon "folder".
|
|
*/
|
|
#define GTK_STOCK_DIRECTORY ((GtkStock)"gtk-directory")
|
|
|
|
/**
|
|
* GTK_STOCK_DISCARD:
|
|
*
|
|
* The “Discard” item.
|
|
*
|
|
* Since: 2.12
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_DISCARD ((GtkStock)"gtk-discard")
|
|
|
|
/**
|
|
* GTK_STOCK_DISCONNECT:
|
|
*
|
|
* The “Disconnect” icon.
|
|
* ![](gtk-disconnect.png)
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_DISCONNECT ((GtkStock)"gtk-disconnect")
|
|
|
|
/**
|
|
* GTK_STOCK_DND:
|
|
*
|
|
* The “Drag-And-Drop” icon.
|
|
* ![](gtk-dnd.png)
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_DND ((GtkStock)"gtk-dnd")
|
|
|
|
/**
|
|
* GTK_STOCK_DND_MULTIPLE:
|
|
*
|
|
* The “Drag-And-Drop multiple” icon.
|
|
* ![](gtk-dnd-multiple.png)
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_DND_MULTIPLE ((GtkStock)"gtk-dnd-multiple")
|
|
|
|
/**
|
|
* GTK_STOCK_EDIT:
|
|
*
|
|
* The “Edit” item.
|
|
* ![](gtk-edit.png)
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_EDIT ((GtkStock)"gtk-edit")
|
|
|
|
/**
|
|
* GTK_STOCK_EXECUTE:
|
|
*
|
|
* The “Execute” item.
|
|
* ![](system-run.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "system-run".
|
|
*/
|
|
#define GTK_STOCK_EXECUTE ((GtkStock)"gtk-execute")
|
|
|
|
/**
|
|
* GTK_STOCK_FILE:
|
|
*
|
|
* The “File” item.
|
|
* ![](text-x-generic.png)
|
|
*
|
|
* Since 3.0, this item has a label, before it only had an icon.
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10: Use named icon "text-x-generic".
|
|
*/
|
|
#define GTK_STOCK_FILE ((GtkStock)"gtk-file")
|
|
|
|
/**
|
|
* GTK_STOCK_FIND:
|
|
*
|
|
* The “Find” item.
|
|
* ![](edit-find.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "edit-find".
|
|
*/
|
|
#define GTK_STOCK_FIND ((GtkStock)"gtk-find")
|
|
|
|
/**
|
|
* GTK_STOCK_FIND_AND_REPLACE:
|
|
*
|
|
* The “Find and Replace” item.
|
|
* ![](edit-find-replace.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "edit-find-replace".
|
|
*/
|
|
#define GTK_STOCK_FIND_AND_REPLACE ((GtkStock)"gtk-find-and-replace")
|
|
|
|
/**
|
|
* GTK_STOCK_FLOPPY:
|
|
*
|
|
* The “Floppy” item.
|
|
* ![](media-floppy.png)
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_FLOPPY ((GtkStock)"gtk-floppy")
|
|
|
|
/**
|
|
* GTK_STOCK_FULLSCREEN:
|
|
*
|
|
* The “Fullscreen” item.
|
|
* ![](view-fullscreen.png)
|
|
*
|
|
* Since: 2.8
|
|
*
|
|
* Deprecated: 3.10: Use named icon "view-fullscreen".
|
|
*/
|
|
#define GTK_STOCK_FULLSCREEN ((GtkStock)"gtk-fullscreen")
|
|
|
|
/**
|
|
* GTK_STOCK_GOTO_BOTTOM:
|
|
*
|
|
* The “Bottom” item.
|
|
* ![](go-bottom.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "go-bottom".
|
|
*/
|
|
#define GTK_STOCK_GOTO_BOTTOM ((GtkStock)"gtk-goto-bottom")
|
|
|
|
/**
|
|
* GTK_STOCK_GOTO_FIRST:
|
|
*
|
|
* The “First” item.
|
|
* ![](go-first-ltr.png)
|
|
* RTL variant
|
|
* ![](go-first-rtl.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "go-first".
|
|
*/
|
|
#define GTK_STOCK_GOTO_FIRST ((GtkStock)"gtk-goto-first")
|
|
|
|
/**
|
|
* GTK_STOCK_GOTO_LAST:
|
|
*
|
|
* The “Last” item.
|
|
* ![](go-last-ltr.png)
|
|
* RTL variant
|
|
* ![](go-last-rtl.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "go-last".
|
|
*/
|
|
#define GTK_STOCK_GOTO_LAST ((GtkStock)"gtk-goto-last")
|
|
|
|
/**
|
|
* GTK_STOCK_GOTO_TOP:
|
|
*
|
|
* The “Top” item.
|
|
* ![](go-top.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "go-top".
|
|
*/
|
|
#define GTK_STOCK_GOTO_TOP ((GtkStock)"gtk-goto-top")
|
|
|
|
/**
|
|
* GTK_STOCK_GO_BACK:
|
|
*
|
|
* The “Back” item.
|
|
* ![](go-previous-ltr.png)
|
|
* RTL variant
|
|
* ![](go-previous-rtl.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "go-previous".
|
|
*/
|
|
#define GTK_STOCK_GO_BACK ((GtkStock)"gtk-go-back")
|
|
|
|
/**
|
|
* GTK_STOCK_GO_DOWN:
|
|
*
|
|
* The “Down” item.
|
|
* ![](go-down.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "go-down".
|
|
*/
|
|
#define GTK_STOCK_GO_DOWN ((GtkStock)"gtk-go-down")
|
|
|
|
/**
|
|
* GTK_STOCK_GO_FORWARD:
|
|
*
|
|
* The “Forward” item.
|
|
* ![](go-next-ltr.png)
|
|
* RTL variant
|
|
* ![](go-next-rtl.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "go-next".
|
|
*/
|
|
#define GTK_STOCK_GO_FORWARD ((GtkStock)"gtk-go-forward")
|
|
|
|
/**
|
|
* GTK_STOCK_GO_UP:
|
|
*
|
|
* The “Up” item.
|
|
* ![](go-up.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "go-up".
|
|
*/
|
|
#define GTK_STOCK_GO_UP ((GtkStock)"gtk-go-up")
|
|
|
|
/**
|
|
* GTK_STOCK_HARDDISK:
|
|
*
|
|
* The “Harddisk” item.
|
|
* ![](drive-harddisk.png)
|
|
*
|
|
* Since: 2.4
|
|
*
|
|
* Deprecated: 3.10: Use named icon "drive-harddisk".
|
|
*/
|
|
#define GTK_STOCK_HARDDISK ((GtkStock)"gtk-harddisk")
|
|
|
|
/**
|
|
* GTK_STOCK_HELP:
|
|
*
|
|
* The “Help” item.
|
|
* ![](help-contents.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "help-browser".
|
|
*/
|
|
#define GTK_STOCK_HELP ((GtkStock)"gtk-help")
|
|
|
|
/**
|
|
* GTK_STOCK_HOME:
|
|
*
|
|
* The “Home” item.
|
|
* ![](go-home.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "go-home".
|
|
*/
|
|
#define GTK_STOCK_HOME ((GtkStock)"gtk-home")
|
|
|
|
/**
|
|
* GTK_STOCK_INDEX:
|
|
*
|
|
* The “Index” item.
|
|
* ![](gtk-index.png)
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_INDEX ((GtkStock)"gtk-index")
|
|
|
|
/**
|
|
* GTK_STOCK_INDENT:
|
|
*
|
|
* The “Indent” item.
|
|
* ![](format-indent-more-ltr.png)
|
|
* RTL variant
|
|
* ![](format-indent-more-rtl.png)
|
|
*
|
|
* Since: 2.4
|
|
*
|
|
* Deprecated: 3.10: Use named icon "format-indent-more".
|
|
*/
|
|
#define GTK_STOCK_INDENT ((GtkStock)"gtk-indent")
|
|
|
|
/**
|
|
* GTK_STOCK_INFO:
|
|
*
|
|
* The “Info” item.
|
|
* ![](dialog-information.png)
|
|
*
|
|
* Since: 2.8
|
|
*
|
|
* Deprecated: 3.10: Use named icon "dialog-information".
|
|
*/
|
|
#define GTK_STOCK_INFO ((GtkStock)"gtk-info")
|
|
|
|
/**
|
|
* GTK_STOCK_ITALIC:
|
|
*
|
|
* The “Italic” item.
|
|
* ![](format-text-italic.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "format-text-italic".
|
|
*/
|
|
#define GTK_STOCK_ITALIC ((GtkStock)"gtk-italic")
|
|
|
|
/**
|
|
* GTK_STOCK_JUMP_TO:
|
|
*
|
|
* The “Jump to” item.
|
|
* ![](go-jump-ltr.png)
|
|
* RTL-variant
|
|
* ![](go-jump-rtl.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "go-jump".
|
|
*/
|
|
#define GTK_STOCK_JUMP_TO ((GtkStock)"gtk-jump-to")
|
|
|
|
/**
|
|
* GTK_STOCK_JUSTIFY_CENTER:
|
|
*
|
|
* The “Center” item.
|
|
* ![](format-justify-center.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "format-justify-center".
|
|
*/
|
|
#define GTK_STOCK_JUSTIFY_CENTER ((GtkStock)"gtk-justify-center")
|
|
|
|
/**
|
|
* GTK_STOCK_JUSTIFY_FILL:
|
|
*
|
|
* The “Fill” item.
|
|
* ![](format-justify-fill.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "format-justify-fill".
|
|
*/
|
|
#define GTK_STOCK_JUSTIFY_FILL ((GtkStock)"gtk-justify-fill")
|
|
|
|
/**
|
|
* GTK_STOCK_JUSTIFY_LEFT:
|
|
*
|
|
* The “Left” item.
|
|
* ![](format-justify-left.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "format-justify-left".
|
|
*/
|
|
#define GTK_STOCK_JUSTIFY_LEFT ((GtkStock)"gtk-justify-left")
|
|
|
|
/**
|
|
* GTK_STOCK_JUSTIFY_RIGHT:
|
|
*
|
|
* The “Right” item.
|
|
* ![](format-justify-right.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "format-justify-right".
|
|
*/
|
|
#define GTK_STOCK_JUSTIFY_RIGHT ((GtkStock)"gtk-justify-right")
|
|
|
|
/**
|
|
* GTK_STOCK_LEAVE_FULLSCREEN:
|
|
*
|
|
* The “Leave Fullscreen” item.
|
|
* ![](view-restore.png)
|
|
*
|
|
* Since: 2.8
|
|
*
|
|
* Deprecated: 3.10: Use named icon "view-restore".
|
|
*/
|
|
#define GTK_STOCK_LEAVE_FULLSCREEN ((GtkStock)"gtk-leave-fullscreen")
|
|
|
|
/**
|
|
* GTK_STOCK_MISSING_IMAGE:
|
|
*
|
|
* The “Missing image” icon.
|
|
* ![](image-missing.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "image-missing".
|
|
*/
|
|
#define GTK_STOCK_MISSING_IMAGE ((GtkStock)"gtk-missing-image")
|
|
|
|
/**
|
|
* GTK_STOCK_MEDIA_FORWARD:
|
|
*
|
|
* The “Media Forward” item.
|
|
* ![](media-seek-forward-ltr.png)
|
|
* RTL variant
|
|
* ![](media-seek-forward-rtl.png)
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10: Use named icon "media-seek-forward" or the label "_Forward".
|
|
*/
|
|
#define GTK_STOCK_MEDIA_FORWARD ((GtkStock)"gtk-media-forward")
|
|
|
|
/**
|
|
* GTK_STOCK_MEDIA_NEXT:
|
|
*
|
|
* The “Media Next” item.
|
|
* ![](media-skip-forward-ltr.png)
|
|
* RTL variant
|
|
* ![](media-skip-forward-rtl.png)
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10: Use named icon "media-skip-forward" or the label "_Next".
|
|
*/
|
|
#define GTK_STOCK_MEDIA_NEXT ((GtkStock)"gtk-media-next")
|
|
|
|
/**
|
|
* GTK_STOCK_MEDIA_PAUSE:
|
|
*
|
|
* The “Media Pause” item.
|
|
* ![](media-playback-pause.png)
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10: Use named icon "media-playback-pause" or the label "P_ause".
|
|
*/
|
|
#define GTK_STOCK_MEDIA_PAUSE ((GtkStock)"gtk-media-pause")
|
|
|
|
/**
|
|
* GTK_STOCK_MEDIA_PLAY:
|
|
*
|
|
* The “Media Play” item.
|
|
* ![](media-playback-start-ltr.png)
|
|
* RTL variant
|
|
* ![](media-playback-start-rtl.png)
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10: Use named icon "media-playback-start" or the label "_Play".
|
|
*/
|
|
#define GTK_STOCK_MEDIA_PLAY ((GtkStock)"gtk-media-play")
|
|
|
|
/**
|
|
* GTK_STOCK_MEDIA_PREVIOUS:
|
|
*
|
|
* The “Media Previous” item.
|
|
* ![](media-skip-backward-ltr.png)
|
|
* RTL variant
|
|
* ![](media-skip-backward-rtl.png)
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10: Use named icon "media-skip-backward" or the label "Pre_vious".
|
|
*/
|
|
#define GTK_STOCK_MEDIA_PREVIOUS ((GtkStock)"gtk-media-previous")
|
|
|
|
/**
|
|
* GTK_STOCK_MEDIA_RECORD:
|
|
*
|
|
* The “Media Record” item.
|
|
* ![](media-record.png)
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10: Use named icon "media-record" or the label "_Record".
|
|
*/
|
|
#define GTK_STOCK_MEDIA_RECORD ((GtkStock)"gtk-media-record")
|
|
|
|
/**
|
|
* GTK_STOCK_MEDIA_REWIND:
|
|
*
|
|
* The “Media Rewind” item.
|
|
* ![](media-seek-backward-ltr.png)
|
|
* RTL variant
|
|
* ![](media-seek-backward-rtl.png)
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10: Use named icon "media-seek-backward" or the label "R_ewind".
|
|
*/
|
|
#define GTK_STOCK_MEDIA_REWIND ((GtkStock)"gtk-media-rewind")
|
|
|
|
/**
|
|
* GTK_STOCK_MEDIA_STOP:
|
|
*
|
|
* The “Media Stop” item.
|
|
* ![](media-playback-stop.png)
|
|
*
|
|
* Since: 2.6
|
|
*
|
|
* Deprecated: 3.10: Use named icon "media-playback-stop" or the label "_Stop".
|
|
*/
|
|
#define GTK_STOCK_MEDIA_STOP ((GtkStock)"gtk-media-stop")
|
|
|
|
/**
|
|
* GTK_STOCK_NETWORK:
|
|
*
|
|
* The “Network” item.
|
|
* ![](network-idle.png)
|
|
*
|
|
* Since: 2.4
|
|
*
|
|
* Deprecated: 3.10: Use named icon "network-workgroup".
|
|
*/
|
|
#define GTK_STOCK_NETWORK ((GtkStock)"gtk-network")
|
|
|
|
/**
|
|
* GTK_STOCK_NEW:
|
|
*
|
|
* The “New” item.
|
|
* ![](document-new.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "document-new" or the label "_New".
|
|
*/
|
|
#define GTK_STOCK_NEW ((GtkStock)"gtk-new")
|
|
|
|
/**
|
|
* GTK_STOCK_NO:
|
|
*
|
|
* The “No” item.
|
|
* ![](gtk-no.png)
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_NO ((GtkStock)"gtk-no")
|
|
|
|
/**
|
|
* GTK_STOCK_OK:
|
|
*
|
|
* The “OK” item.
|
|
* ![](gtk-ok.png)
|
|
*
|
|
* Deprecated: 3.10: Do not use an icon. Use label "_OK".
|
|
*/
|
|
#define GTK_STOCK_OK ((GtkStock)"gtk-ok")
|
|
|
|
/**
|
|
* GTK_STOCK_OPEN:
|
|
*
|
|
* The “Open” item.
|
|
* ![](document-open.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "document-open" or the label "_Open".
|
|
*/
|
|
#define GTK_STOCK_OPEN ((GtkStock)"gtk-open")
|
|
|
|
/**
|
|
* GTK_STOCK_ORIENTATION_PORTRAIT:
|
|
*
|
|
* The “Portrait Orientation” item.
|
|
* ![](gtk-orientation-portrait.png)
|
|
*
|
|
* Since: 2.10
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_ORIENTATION_PORTRAIT ((GtkStock)"gtk-orientation-portrait")
|
|
|
|
/**
|
|
* GTK_STOCK_ORIENTATION_LANDSCAPE:
|
|
*
|
|
* The “Landscape Orientation” item.
|
|
* ![](gtk-orientation-landscape.png)
|
|
*
|
|
* Since: 2.10
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_ORIENTATION_LANDSCAPE ((GtkStock)"gtk-orientation-landscape")
|
|
|
|
/**
|
|
* GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE:
|
|
*
|
|
* The “Reverse Landscape Orientation” item.
|
|
* ![](gtk-orientation-reverse-landscape.png)
|
|
*
|
|
* Since: 2.10
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE ((GtkStock)"gtk-orientation-reverse-landscape")
|
|
|
|
/**
|
|
* GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT:
|
|
*
|
|
* The “Reverse Portrait Orientation” item.
|
|
* ![](gtk-orientation-reverse-portrait.png)
|
|
*
|
|
* Since: 2.10
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT ((GtkStock)"gtk-orientation-reverse-portrait")
|
|
|
|
/**
|
|
* GTK_STOCK_PAGE_SETUP:
|
|
*
|
|
* The “Page Setup” item.
|
|
* ![](gtk-page-setup.png)
|
|
*
|
|
* Since: 2.14
|
|
*
|
|
* Deprecated: 3.10: Use named icon "document-page-setup" or the label "Page Set_up".
|
|
*/
|
|
#define GTK_STOCK_PAGE_SETUP ((GtkStock)"gtk-page-setup")
|
|
|
|
/**
|
|
* GTK_STOCK_PASTE:
|
|
*
|
|
* The “Paste” item.
|
|
* ![](edit-paste.png)
|
|
*
|
|
* Deprecated: 3.10: Do not use an icon. Use label "_Paste".
|
|
*/
|
|
#define GTK_STOCK_PASTE ((GtkStock)"gtk-paste")
|
|
|
|
/**
|
|
* GTK_STOCK_PREFERENCES:
|
|
*
|
|
* The “Preferences” item.
|
|
* ![](gtk-preferences.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "preferences-system" or the label "_Preferences".
|
|
*/
|
|
#define GTK_STOCK_PREFERENCES ((GtkStock)"gtk-preferences")
|
|
|
|
/**
|
|
* GTK_STOCK_PRINT:
|
|
*
|
|
* The “Print” item.
|
|
* ![](document-print.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "document-print" or the label "_Print".
|
|
*/
|
|
#define GTK_STOCK_PRINT ((GtkStock)"gtk-print")
|
|
|
|
/**
|
|
* GTK_STOCK_PRINT_ERROR:
|
|
*
|
|
* The “Print Error” icon.
|
|
* ![](printer-error.png)
|
|
*
|
|
* Since: 2.14
|
|
*
|
|
* Deprecated: 3.10: Use named icon "printer-error".
|
|
*/
|
|
#define GTK_STOCK_PRINT_ERROR ((GtkStock)"gtk-print-error")
|
|
|
|
/**
|
|
* GTK_STOCK_PRINT_PAUSED:
|
|
*
|
|
* The “Print Paused” icon.
|
|
* ![](printer-paused.png)
|
|
*
|
|
* Since: 2.14
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_PRINT_PAUSED ((GtkStock)"gtk-print-paused")
|
|
|
|
/**
|
|
* GTK_STOCK_PRINT_PREVIEW:
|
|
*
|
|
* The “Print Preview” item.
|
|
* ![](document-print-preview.png)
|
|
*
|
|
* Deprecated: 3.10: Use label "Pre_view".
|
|
*/
|
|
#define GTK_STOCK_PRINT_PREVIEW ((GtkStock)"gtk-print-preview")
|
|
|
|
/**
|
|
* GTK_STOCK_PRINT_REPORT:
|
|
*
|
|
* The “Print Report” icon.
|
|
* ![](printer-info.png)
|
|
*
|
|
* Since: 2.14
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_PRINT_REPORT ((GtkStock)"gtk-print-report")
|
|
|
|
|
|
/**
|
|
* GTK_STOCK_PRINT_WARNING:
|
|
*
|
|
* The “Print Warning” icon.
|
|
* ![](printer-warning.png)
|
|
*
|
|
* Since: 2.14
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_PRINT_WARNING ((GtkStock)"gtk-print-warning")
|
|
|
|
/**
|
|
* GTK_STOCK_PROPERTIES:
|
|
*
|
|
* The “Properties” item.
|
|
* ![](document-properties.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "document-properties" or the label "_Properties".
|
|
*/
|
|
#define GTK_STOCK_PROPERTIES ((GtkStock)"gtk-properties")
|
|
|
|
/**
|
|
* GTK_STOCK_QUIT:
|
|
*
|
|
* The “Quit” item.
|
|
* ![](application-exit.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "application-exit" or the label "_Quit".
|
|
*/
|
|
#define GTK_STOCK_QUIT ((GtkStock)"gtk-quit")
|
|
|
|
/**
|
|
* GTK_STOCK_REDO:
|
|
*
|
|
* The “Redo” item.
|
|
* ![](edit-redo-ltr.png)
|
|
* RTL variant
|
|
* ![](edit-redo-rtl.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "edit-redo" or the label "_Redo".
|
|
*/
|
|
#define GTK_STOCK_REDO ((GtkStock)"gtk-redo")
|
|
|
|
/**
|
|
* GTK_STOCK_REFRESH:
|
|
*
|
|
* The “Refresh” item.
|
|
* ![](view-refresh.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "view-refresh" or the label "_Refresh".
|
|
*/
|
|
#define GTK_STOCK_REFRESH ((GtkStock)"gtk-refresh")
|
|
|
|
/**
|
|
* GTK_STOCK_REMOVE:
|
|
*
|
|
* The “Remove” item.
|
|
* ![](list-remove.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "list-remove" or the label "_Remove".
|
|
*/
|
|
#define GTK_STOCK_REMOVE ((GtkStock)"gtk-remove")
|
|
|
|
/**
|
|
* GTK_STOCK_REVERT_TO_SAVED:
|
|
*
|
|
* The “Revert” item.
|
|
* ![](document-revert-ltr.png)
|
|
* RTL variant
|
|
* ![](document-revert-rtl.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "document-revert" or the label "_Revert".
|
|
*/
|
|
#define GTK_STOCK_REVERT_TO_SAVED ((GtkStock)"gtk-revert-to-saved")
|
|
|
|
/**
|
|
* GTK_STOCK_SAVE:
|
|
*
|
|
* The “Save” item.
|
|
* ![](document-save.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "document-save" or the label "_Save".
|
|
*/
|
|
#define GTK_STOCK_SAVE ((GtkStock)"gtk-save")
|
|
|
|
/**
|
|
* GTK_STOCK_SAVE_AS:
|
|
*
|
|
* The “Save As” item.
|
|
* ![](document-save-as.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "document-save-as" or the label "Save _As".
|
|
*/
|
|
#define GTK_STOCK_SAVE_AS ((GtkStock)"gtk-save-as")
|
|
|
|
/**
|
|
* GTK_STOCK_SELECT_ALL:
|
|
*
|
|
* The “Select All” item.
|
|
* ![](edit-select-all.png)
|
|
*
|
|
* Since: 2.10
|
|
*
|
|
* Deprecated: 3.10: Use named icon "edit-select-all" or the label "Select _All".
|
|
*/
|
|
#define GTK_STOCK_SELECT_ALL ((GtkStock)"gtk-select-all")
|
|
|
|
/**
|
|
* GTK_STOCK_SELECT_COLOR:
|
|
*
|
|
* The “Color” item.
|
|
* ![](gtk-select-color.png)
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_SELECT_COLOR ((GtkStock)"gtk-select-color")
|
|
|
|
/**
|
|
* GTK_STOCK_SELECT_FONT:
|
|
*
|
|
* The “Font” item.
|
|
* ![](gtk-font.png)
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_SELECT_FONT ((GtkStock)"gtk-select-font")
|
|
|
|
/**
|
|
* GTK_STOCK_SORT_ASCENDING:
|
|
*
|
|
* The “Ascending” item.
|
|
* ![](view-sort-ascending.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "view-sort-ascending".
|
|
*/
|
|
#define GTK_STOCK_SORT_ASCENDING ((GtkStock)"gtk-sort-ascending")
|
|
|
|
/**
|
|
* GTK_STOCK_SORT_DESCENDING:
|
|
*
|
|
* The “Descending” item.
|
|
* ![](view-sort-descending.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "view-sort-descending".
|
|
*/
|
|
#define GTK_STOCK_SORT_DESCENDING ((GtkStock)"gtk-sort-descending")
|
|
|
|
/**
|
|
* GTK_STOCK_SPELL_CHECK:
|
|
*
|
|
* The “Spell Check” item.
|
|
* ![](tools-check-spelling.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "tools-check-spelling".
|
|
*/
|
|
#define GTK_STOCK_SPELL_CHECK ((GtkStock)"gtk-spell-check")
|
|
|
|
/**
|
|
* GTK_STOCK_STOP:
|
|
*
|
|
* The “Stop” item.
|
|
* ![](process-stop.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "process-stop" or the label "_Stop".
|
|
*/
|
|
#define GTK_STOCK_STOP ((GtkStock)"gtk-stop")
|
|
|
|
/**
|
|
* GTK_STOCK_STRIKETHROUGH:
|
|
*
|
|
* The “Strikethrough” item.
|
|
* ![](format-text-strikethrough.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "format-text-strikethrough" or the label "_Strikethrough".
|
|
*/
|
|
#define GTK_STOCK_STRIKETHROUGH ((GtkStock)"gtk-strikethrough")
|
|
|
|
/**
|
|
* GTK_STOCK_UNDELETE:
|
|
*
|
|
* The “Undelete” item.
|
|
* ![](gtk-undelete-ltr.png)
|
|
* RTL variant
|
|
* ![](gtk-undelete-rtl.png)
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_UNDELETE ((GtkStock)"gtk-undelete")
|
|
|
|
/**
|
|
* GTK_STOCK_UNDERLINE:
|
|
*
|
|
* The “Underline” item.
|
|
* ![](format-text-underline.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "format-text-underline" or the label "_Underline".
|
|
*/
|
|
#define GTK_STOCK_UNDERLINE ((GtkStock)"gtk-underline")
|
|
|
|
/**
|
|
* GTK_STOCK_UNDO:
|
|
*
|
|
* The “Undo” item.
|
|
* ![](edit-undo-ltr.png)
|
|
* RTL variant
|
|
* ![](edit-undo-rtl.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "edit-undo" or the label "_Undo".
|
|
*/
|
|
#define GTK_STOCK_UNDO ((GtkStock)"gtk-undo")
|
|
|
|
/**
|
|
* GTK_STOCK_UNINDENT:
|
|
*
|
|
* The “Unindent” item.
|
|
* ![](format-indent-less-ltr.png)
|
|
* RTL variant
|
|
* ![](format-indent-less-rtl.png)
|
|
*
|
|
* Since: 2.4
|
|
*
|
|
* Deprecated: 3.10: Use named icon "format-indent-less".
|
|
*/
|
|
#define GTK_STOCK_UNINDENT ((GtkStock)"gtk-unindent")
|
|
|
|
/**
|
|
* GTK_STOCK_YES:
|
|
*
|
|
* The “Yes” item.
|
|
* ![](gtk-yes.png)
|
|
*
|
|
* Deprecated: 3.10
|
|
*/
|
|
#define GTK_STOCK_YES ((GtkStock)"gtk-yes")
|
|
|
|
/**
|
|
* GTK_STOCK_ZOOM_100:
|
|
*
|
|
* The “Zoom 100%” item.
|
|
* ![](zoom-original.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "zoom-original" or the label "_Normal Size".
|
|
*/
|
|
#define GTK_STOCK_ZOOM_100 ((GtkStock)"gtk-zoom-100")
|
|
|
|
/**
|
|
* GTK_STOCK_ZOOM_FIT:
|
|
*
|
|
* The “Zoom to Fit” item.
|
|
* ![](zoom-fit-best.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "zoom-fit-best" or the label "Best _Fit".
|
|
*/
|
|
#define GTK_STOCK_ZOOM_FIT ((GtkStock)"gtk-zoom-fit")
|
|
|
|
/**
|
|
* GTK_STOCK_ZOOM_IN:
|
|
*
|
|
* The “Zoom In” item.
|
|
* ![](zoom-in.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "zoom-in" or the label "Zoom _In".
|
|
*/
|
|
#define GTK_STOCK_ZOOM_IN ((GtkStock)"gtk-zoom-in")
|
|
|
|
/**
|
|
* GTK_STOCK_ZOOM_OUT:
|
|
*
|
|
* The “Zoom Out” item.
|
|
* ![](zoom-out.png)
|
|
*
|
|
* Deprecated: 3.10: Use named icon "zoom-out" or the label "Zoom _Out".
|
|
*/
|
|
#define GTK_STOCK_ZOOM_OUT ((GtkStock)"gtk-zoom-out")
|
|
|
|
#endif
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GTK_STOCK_H__ */
|