gtk2/gtk/deprecated/gtkstock.h

1137 lines
26 KiB
C
Raw Normal View History

/* GTK - The GIMP Toolkit
* Copyright (C) 2000 Red Hat, Inc.
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
*
* 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
2012-02-27 13:01:10 +00:00
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
*/
/*
* 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/.
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
*/
#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
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
#include <gdk/gdk.h>
G_BEGIN_DECLS
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
/**
* GtkTranslateFunc:
* @path: The id of the message. In #GtkActionGroup this will be a label
* or tooltip from a #GtkActionEntry.
* @func_data: (closure): user data passed in when registering the
* function
*
* The function used to translate messages in e.g. #GtkIconFactory
* and #GtkActionGroup.
*
* Returns: the translated message
2013-06-27 21:51:38 +00:00
*
* Deprecated: 3.10
*/
typedef gchar * (*GtkTranslateFunc) (const gchar *path,
gpointer func_data);
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
typedef struct _GtkStockItem GtkStockItem;
2014-01-21 17:13:09 +00:00
/**
* 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
*/
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
struct _GtkStockItem
{
gchar *stock_id;
gchar *label;
GdkModifierType modifier;
guint keyval;
gchar *translation_domain;
};
2013-06-27 21:51:38 +00:00
GDK_DEPRECATED_IN_3_10
void gtk_stock_add (const GtkStockItem *items,
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
guint n_items);
2013-06-27 21:51:38 +00:00
GDK_DEPRECATED_IN_3_10
void gtk_stock_add_static (const GtkStockItem *items,
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
guint n_items);
2013-06-27 21:51:38 +00:00
GDK_DEPRECATED_IN_3_10
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
gboolean gtk_stock_lookup (const gchar *stock_id,
GtkStockItem *item);
/* Should free the list (and free each string in it also).
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
* This function is only useful for GUI builders and such.
*/
2013-06-27 21:51:38 +00:00
GDK_DEPRECATED_IN_3_10
GSList* gtk_stock_list_ids (void);
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
2013-06-27 21:51:38 +00:00
GDK_DEPRECATED_IN_3_10
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
GtkStockItem *gtk_stock_item_copy (const GtkStockItem *item);
2013-06-27 21:51:38 +00:00
GDK_DEPRECATED_IN_3_10
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
void gtk_stock_item_free (GtkStockItem *item);
2013-06-27 21:51:38 +00:00
GDK_DEPRECATED_IN_3_10
void gtk_stock_set_translate_func (const gchar *domain,
GtkTranslateFunc func,
gpointer data,
GDestroyNotify notify);
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
/* 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:
*
2014-02-05 18:07:34 +00:00
* The About item.
* ![](help-about.png)
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;help-about&quot; or the label &quot;_About&quot;.
*/
#define GTK_STOCK_ABOUT ((GtkStock)"gtk-about")
/**
* GTK_STOCK_ADD:
*
* The Add item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;list-add&quot; or the label &quot;_Add&quot;.
*/
#define GTK_STOCK_ADD ((GtkStock)"gtk-add")
/**
* GTK_STOCK_APPLY:
*
* The Apply item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Do not use an icon. Use label &quot;_Apply&quot;.
*/
#define GTK_STOCK_APPLY ((GtkStock)"gtk-apply")
/**
* GTK_STOCK_BOLD:
*
* The Bold item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;format-text-bold&quot;.
*/
#define GTK_STOCK_BOLD ((GtkStock)"gtk-bold")
/**
* GTK_STOCK_CANCEL:
*
* The Cancel item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Do not use an icon. Use label &quot;_Cancel&quot;.
*/
#define GTK_STOCK_CANCEL ((GtkStock)"gtk-cancel")
/**
* GTK_STOCK_CAPS_LOCK_WARNING:
*
2014-02-05 18:07:34 +00:00
* The Caps Lock Warning icon.
*
* Since: 2.16
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;dialog-warning-symbolic&quot;.
*/
#define GTK_STOCK_CAPS_LOCK_WARNING ((GtkStock)"gtk-caps-lock-warning")
/**
* GTK_STOCK_CDROM:
*
* The CD-Rom item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;media-optical&quot;.
*/
#define GTK_STOCK_CDROM ((GtkStock)"gtk-cdrom")
/**
* GTK_STOCK_CLEAR:
*
* The Clear item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;edit-clear&quot;.
*/
#define GTK_STOCK_CLEAR ((GtkStock)"gtk-clear")
/**
* GTK_STOCK_CLOSE:
*
* The Close item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;window-close&quot; or the label &quot;_Close&quot;.
*/
#define GTK_STOCK_CLOSE ((GtkStock)"gtk-close")
/**
* GTK_STOCK_COLOR_PICKER:
*
* The Color Picker item and icon.
*
* Since: 2.2
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_COLOR_PICKER ((GtkStock)"gtk-color-picker")
/**
* GTK_STOCK_CONNECT:
*
2014-02-05 18:07:34 +00:00
* The Connect icon.
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_CONNECT ((GtkStock)"gtk-connect")
/**
* GTK_STOCK_CONVERT:
*
* The Convert item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_CONVERT ((GtkStock)"gtk-convert")
/**
* GTK_STOCK_COPY:
*
* The Copy item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Do not use an icon. Use label &quot;_Copy&quot;.
*/
#define GTK_STOCK_COPY ((GtkStock)"gtk-copy")
/**
* GTK_STOCK_CUT:
*
* The Cut item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Do not use an icon. Use label &quot;Cu_t&quot;.
*/
#define GTK_STOCK_CUT ((GtkStock)"gtk-cut")
/**
* GTK_STOCK_DELETE:
*
* The Delete item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Do not use an icon. Use label &quot;_Delete&quot;.
*/
#define GTK_STOCK_DELETE ((GtkStock)"gtk-delete")
/**
* GTK_STOCK_DIALOG_AUTHENTICATION:
*
* The Authentication item and icon.
*
* Since: 2.4
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;dialog-password&quot;.
*/
#define GTK_STOCK_DIALOG_AUTHENTICATION ((GtkStock)"gtk-dialog-authentication")
/**
* GTK_STOCK_DIALOG_INFO:
*
* The Information item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;dialog-information&quot;.
*/
#define GTK_STOCK_DIALOG_INFO ((GtkStock)"gtk-dialog-info")
/**
* GTK_STOCK_DIALOG_WARNING:
*
* The Warning item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;dialog-warning&quot;.
*/
#define GTK_STOCK_DIALOG_WARNING ((GtkStock)"gtk-dialog-warning")
/**
* GTK_STOCK_DIALOG_ERROR:
*
* The Error item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;dialog-error&quot;.
*/
#define GTK_STOCK_DIALOG_ERROR ((GtkStock)"gtk-dialog-error")
/**
* GTK_STOCK_DIALOG_QUESTION:
*
* The Question item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;dialog-question&quot;.
*/
#define GTK_STOCK_DIALOG_QUESTION ((GtkStock)"gtk-dialog-question")
/**
* GTK_STOCK_DIRECTORY:
*
2014-02-05 18:07:34 +00:00
* The Directory icon.
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;folder&quot;.
*/
#define GTK_STOCK_DIRECTORY ((GtkStock)"gtk-directory")
/**
* GTK_STOCK_DISCARD:
*
2014-02-05 18:07:34 +00:00
* The Discard item.
*
* Since: 2.12
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_DISCARD ((GtkStock)"gtk-discard")
/**
* GTK_STOCK_DISCONNECT:
*
2014-02-05 18:07:34 +00:00
* The Disconnect icon.
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_DISCONNECT ((GtkStock)"gtk-disconnect")
/**
* GTK_STOCK_DND:
*
2014-02-05 18:07:34 +00:00
* The Drag-And-Drop icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_DND ((GtkStock)"gtk-dnd")
/**
* GTK_STOCK_DND_MULTIPLE:
*
2014-02-05 18:07:34 +00:00
* The Drag-And-Drop multiple icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_DND_MULTIPLE ((GtkStock)"gtk-dnd-multiple")
/**
* GTK_STOCK_EDIT:
*
* The Edit item and icon.
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_EDIT ((GtkStock)"gtk-edit")
/**
* GTK_STOCK_EXECUTE:
*
* The Execute item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;system-run&quot;.
*/
#define GTK_STOCK_EXECUTE ((GtkStock)"gtk-execute")
/**
* GTK_STOCK_FILE:
*
* The File item and icon.
*
* Since 3.0, this item has a label, before it only had an icon.
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;text-x-generic&quot;.
*/
#define GTK_STOCK_FILE ((GtkStock)"gtk-file")
/**
* GTK_STOCK_FIND:
*
* The Find item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;edit-find&quot;.
*/
#define GTK_STOCK_FIND ((GtkStock)"gtk-find")
/**
* GTK_STOCK_FIND_AND_REPLACE:
*
* The Find and Replace item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;edit-find-replace&quot;.
*/
#define GTK_STOCK_FIND_AND_REPLACE ((GtkStock)"gtk-find-and-replace")
/**
* GTK_STOCK_FLOPPY:
*
* The Floppy item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_FLOPPY ((GtkStock)"gtk-floppy")
/**
* GTK_STOCK_FULLSCREEN:
*
* The Fullscreen item and icon.
*
* Since: 2.8
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;view-fullscreen&quot;.
*/
#define GTK_STOCK_FULLSCREEN ((GtkStock)"gtk-fullscreen")
/**
* GTK_STOCK_GOTO_BOTTOM:
*
* The Bottom item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;go-bottom&quot;.
*/
#define GTK_STOCK_GOTO_BOTTOM ((GtkStock)"gtk-goto-bottom")
/**
* GTK_STOCK_GOTO_FIRST:
*
* The First item and icon. The icon has an RTL variant.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;go-first&quot;.
*/
#define GTK_STOCK_GOTO_FIRST ((GtkStock)"gtk-goto-first")
/**
* GTK_STOCK_GOTO_LAST:
*
* The Last item and icon. The icon has an RTL variant.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;go-last&quot;.
*/
#define GTK_STOCK_GOTO_LAST ((GtkStock)"gtk-goto-last")
/**
* GTK_STOCK_GOTO_TOP:
*
* The Top item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;go-top&quot;.
*/
#define GTK_STOCK_GOTO_TOP ((GtkStock)"gtk-goto-top")
/**
* GTK_STOCK_GO_BACK:
*
* The Back item and icon. The icon has an RTL variant.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;go-previous&quot;.
2013-06-25 03:47:52 +00:00
*/
#define GTK_STOCK_GO_BACK ((GtkStock)"gtk-go-back")
/**
* GTK_STOCK_GO_DOWN:
*
* The Down item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;go-down&quot;.
*/
#define GTK_STOCK_GO_DOWN ((GtkStock)"gtk-go-down")
/**
* GTK_STOCK_GO_FORWARD:
*
* The Forward item and icon. The icon has an RTL variant.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;go-next&quot;.
*/
#define GTK_STOCK_GO_FORWARD ((GtkStock)"gtk-go-forward")
/**
* GTK_STOCK_GO_UP:
*
* The Up item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;go-up&quot;.
*/
#define GTK_STOCK_GO_UP ((GtkStock)"gtk-go-up")
/**
* GTK_STOCK_HARDDISK:
*
* The Harddisk item and icon.
*
* Since: 2.4
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;drive-harddisk&quot;.
*/
#define GTK_STOCK_HARDDISK ((GtkStock)"gtk-harddisk")
/**
* GTK_STOCK_HELP:
*
* The Help item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;help-browser&quot;.
*/
#define GTK_STOCK_HELP ((GtkStock)"gtk-help")
/**
* GTK_STOCK_HOME:
*
* The Home item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;go-home&quot;.
*/
#define GTK_STOCK_HOME ((GtkStock)"gtk-home")
/**
* GTK_STOCK_INDEX:
*
* The Index item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_INDEX ((GtkStock)"gtk-index")
/**
* GTK_STOCK_INDENT:
*
* The Indent item and icon. The icon has an RTL variant.
*
* Since: 2.4
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;format-indent-more&quot;.
*/
#define GTK_STOCK_INDENT ((GtkStock)"gtk-indent")
/**
* GTK_STOCK_INFO:
*
* The Info item and icon.
*
* Since: 2.8
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;dialog-information&quot;.
*/
#define GTK_STOCK_INFO ((GtkStock)"gtk-info")
/**
* GTK_STOCK_ITALIC:
*
* The Italic item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;format-text-italic&quot;.
*/
#define GTK_STOCK_ITALIC ((GtkStock)"gtk-italic")
/**
* GTK_STOCK_JUMP_TO:
*
* The Jump to item and icon. The icon has an RTL variant.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;go-jump&quot;.
*/
#define GTK_STOCK_JUMP_TO ((GtkStock)"gtk-jump-to")
/**
* GTK_STOCK_JUSTIFY_CENTER:
*
* The Center item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;format-justify-center&quot;.
*/
#define GTK_STOCK_JUSTIFY_CENTER ((GtkStock)"gtk-justify-center")
/**
* GTK_STOCK_JUSTIFY_FILL:
*
* The Fill item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;format-justify-fill&quot;.
*/
#define GTK_STOCK_JUSTIFY_FILL ((GtkStock)"gtk-justify-fill")
/**
* GTK_STOCK_JUSTIFY_LEFT:
*
* The Left item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;format-justify-left&quot;.
*/
#define GTK_STOCK_JUSTIFY_LEFT ((GtkStock)"gtk-justify-left")
/**
* GTK_STOCK_JUSTIFY_RIGHT:
*
* The Right item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;format-justify-right&quot;.
*/
#define GTK_STOCK_JUSTIFY_RIGHT ((GtkStock)"gtk-justify-right")
/**
* GTK_STOCK_LEAVE_FULLSCREEN:
*
* The Leave Fullscreen item and icon.
*
* Since: 2.8
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;view-restore&quot;.
*/
#define GTK_STOCK_LEAVE_FULLSCREEN ((GtkStock)"gtk-leave-fullscreen")
/**
* GTK_STOCK_MISSING_IMAGE:
*
2014-02-05 18:07:34 +00:00
* The Missing image icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;image-missing&quot;.
*/
#define GTK_STOCK_MISSING_IMAGE ((GtkStock)"gtk-missing-image")
/**
* GTK_STOCK_MEDIA_FORWARD:
*
* The Media Forward item and icon. The icon has an RTL variant.
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;media-seek-forward&quot; or the label &quot;_Forward&quot;.
*/
#define GTK_STOCK_MEDIA_FORWARD ((GtkStock)"gtk-media-forward")
/**
* GTK_STOCK_MEDIA_NEXT:
*
* The Media Next item and icon. The icon has an RTL variant.
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;media-skip-forward&quot; or the label &quot;_Next&quot;.
*/
#define GTK_STOCK_MEDIA_NEXT ((GtkStock)"gtk-media-next")
/**
* GTK_STOCK_MEDIA_PAUSE:
*
* The Media Pause item and icon.
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;media-playback-pause&quot; or the label &quot;P_ause&quot;.
*/
#define GTK_STOCK_MEDIA_PAUSE ((GtkStock)"gtk-media-pause")
/**
* GTK_STOCK_MEDIA_PLAY:
*
* The Media Play item and icon. The icon has an RTL variant.
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;media-playback-start&quot; or the label &quot;_Play&quot;.
*/
#define GTK_STOCK_MEDIA_PLAY ((GtkStock)"gtk-media-play")
/**
* GTK_STOCK_MEDIA_PREVIOUS:
*
* The Media Previous item and icon. The icon has an RTL variant.
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;media-skip-backward&quot; or the label &quot;Pre_vious&quot;.
*/
#define GTK_STOCK_MEDIA_PREVIOUS ((GtkStock)"gtk-media-previous")
/**
* GTK_STOCK_MEDIA_RECORD:
*
* The Media Record item and icon.
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;media-record&quot; or the label &quot;_Record&quot;.
*/
#define GTK_STOCK_MEDIA_RECORD ((GtkStock)"gtk-media-record")
/**
* GTK_STOCK_MEDIA_REWIND:
*
* The Media Rewind item and icon. The icon has an RTL variant.
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;media-seek-backward&quot; or the label &quot;R_ewind&quot;.
*/
#define GTK_STOCK_MEDIA_REWIND ((GtkStock)"gtk-media-rewind")
/**
* GTK_STOCK_MEDIA_STOP:
*
* The Media Stop item and icon.
*
* Since: 2.6
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;media-playback-stop&quot; or the label &quot;_Stop&quot;.
*/
#define GTK_STOCK_MEDIA_STOP ((GtkStock)"gtk-media-stop")
/**
* GTK_STOCK_NETWORK:
*
* The Network item and icon.
*
* Since: 2.4
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;network-workgroup&quot;.
*/
#define GTK_STOCK_NETWORK ((GtkStock)"gtk-network")
/**
* GTK_STOCK_NEW:
*
* The New item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;document-new&quot; or the label &quot;_New&quot;.
*/
#define GTK_STOCK_NEW ((GtkStock)"gtk-new")
/**
* GTK_STOCK_NO:
*
* The No item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_NO ((GtkStock)"gtk-no")
/**
* GTK_STOCK_OK:
*
* The OK item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Do not use an icon. Use label &quot;_OK&quot;.
*/
#define GTK_STOCK_OK ((GtkStock)"gtk-ok")
/**
* GTK_STOCK_OPEN:
*
* The Open item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;document-open&quot; or the label &quot;_Open&quot;.
*/
#define GTK_STOCK_OPEN ((GtkStock)"gtk-open")
/**
* GTK_STOCK_ORIENTATION_PORTRAIT:
*
* The Portrait Orientation item and icon.
*
* Since: 2.10
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_ORIENTATION_PORTRAIT ((GtkStock)"gtk-orientation-portrait")
/**
* GTK_STOCK_ORIENTATION_LANDSCAPE:
*
* The Landscape Orientation item and icon.
*
* Since: 2.10
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_ORIENTATION_LANDSCAPE ((GtkStock)"gtk-orientation-landscape")
/**
* GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE:
*
* The Reverse Landscape Orientation item and icon.
*
* Since: 2.10
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE ((GtkStock)"gtk-orientation-reverse-landscape")
/**
* GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT:
*
* The Reverse Portrait Orientation item and icon.
*
* Since: 2.10
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT ((GtkStock)"gtk-orientation-reverse-portrait")
/**
* GTK_STOCK_PAGE_SETUP:
*
* The Page Setup item and icon.
*
* Since: 2.14
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;document-page-setup&quot; or the label &quot;Page Set_up&quot;.
*/
#define GTK_STOCK_PAGE_SETUP ((GtkStock)"gtk-page-setup")
/**
* GTK_STOCK_PASTE:
*
* The Paste item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Do not use an icon. Use label &quot;_Paste&quot;.
*/
#define GTK_STOCK_PASTE ((GtkStock)"gtk-paste")
/**
* GTK_STOCK_PREFERENCES:
*
* The Preferences item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;preferences-system&quot; or the label &quot;_Preferences&quot;.
*/
#define GTK_STOCK_PREFERENCES ((GtkStock)"gtk-preferences")
/**
* GTK_STOCK_PRINT:
*
* The Print item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;document-print&quot; or the label &quot;_Print&quot;.
*/
#define GTK_STOCK_PRINT ((GtkStock)"gtk-print")
/**
* GTK_STOCK_PRINT_ERROR:
*
2014-02-05 18:07:34 +00:00
* The Print Error icon.
*
* Since: 2.14
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;printer-error&quot;.
*/
#define GTK_STOCK_PRINT_ERROR ((GtkStock)"gtk-print-error")
/**
* GTK_STOCK_PRINT_PAUSED:
*
2014-02-05 18:07:34 +00:00
* The Print Paused icon.
*
* Since: 2.14
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_PRINT_PAUSED ((GtkStock)"gtk-print-paused")
/**
* GTK_STOCK_PRINT_PREVIEW:
*
* The Print Preview item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use label &quot;Pre_view&quot;.
*/
#define GTK_STOCK_PRINT_PREVIEW ((GtkStock)"gtk-print-preview")
/**
* GTK_STOCK_PRINT_REPORT:
*
2014-02-05 18:07:34 +00:00
* The Print Report icon.
*
* Since: 2.14
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_PRINT_REPORT ((GtkStock)"gtk-print-report")
/**
* GTK_STOCK_PRINT_WARNING:
*
2014-02-05 18:07:34 +00:00
* The Print Warning icon.
*
* Since: 2.14
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_PRINT_WARNING ((GtkStock)"gtk-print-warning")
/**
* GTK_STOCK_PROPERTIES:
*
* The Properties item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;document-properties&quot; or the label &quot;_Properties&quot;.
*/
#define GTK_STOCK_PROPERTIES ((GtkStock)"gtk-properties")
/**
* GTK_STOCK_QUIT:
*
* The Quit item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;application-exit&quot; or the label &quot;_Quit&quot;.
*/
#define GTK_STOCK_QUIT ((GtkStock)"gtk-quit")
/**
* GTK_STOCK_REDO:
*
* The Redo item and icon. The icon has an RTL variant.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;edit-redo&quot; or the label &quot;_Redo&quot;.
*/
#define GTK_STOCK_REDO ((GtkStock)"gtk-redo")
/**
* GTK_STOCK_REFRESH:
*
* The Refresh item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;view-refresh&quot; or the label &quot;_Refresh&quot;.
*/
#define GTK_STOCK_REFRESH ((GtkStock)"gtk-refresh")
/**
* GTK_STOCK_REMOVE:
*
* The Remove item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;list-remove&quot; or the label &quot;_Remove&quot;.
*/
#define GTK_STOCK_REMOVE ((GtkStock)"gtk-remove")
/**
* GTK_STOCK_REVERT_TO_SAVED:
*
* The Revert item and icon. The icon has an RTL variant.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;document-revert&quot; or the label &quot;_Revert&quot;.
*/
#define GTK_STOCK_REVERT_TO_SAVED ((GtkStock)"gtk-revert-to-saved")
/**
* GTK_STOCK_SAVE:
*
* The Save item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;document-save&quot; or the label &quot;_Save&quot;.
*/
#define GTK_STOCK_SAVE ((GtkStock)"gtk-save")
/**
* GTK_STOCK_SAVE_AS:
*
* The Save As item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;document-save-as&quot; or the label &quot;Save _As&quot;.
*/
#define GTK_STOCK_SAVE_AS ((GtkStock)"gtk-save-as")
/**
* GTK_STOCK_SELECT_ALL:
*
* The Select All item and icon.
*
* Since: 2.10
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;edit-select-all&quot; or the label &quot;Select _All&quot;.
*/
#define GTK_STOCK_SELECT_ALL ((GtkStock)"gtk-select-all")
/**
* GTK_STOCK_SELECT_COLOR:
*
* The Color item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_SELECT_COLOR ((GtkStock)"gtk-select-color")
/**
* GTK_STOCK_SELECT_FONT:
*
* The Font item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_SELECT_FONT ((GtkStock)"gtk-select-font")
/**
* GTK_STOCK_SORT_ASCENDING:
*
* The Ascending item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;view-sort-ascending&quot;.
*/
#define GTK_STOCK_SORT_ASCENDING ((GtkStock)"gtk-sort-ascending")
/**
* GTK_STOCK_SORT_DESCENDING:
*
* The Descending item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;view-sort-descending&quot;.
*/
#define GTK_STOCK_SORT_DESCENDING ((GtkStock)"gtk-sort-descending")
/**
* GTK_STOCK_SPELL_CHECK:
*
* The Spell Check item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;tools-check-spelling&quot;.
*/
#define GTK_STOCK_SPELL_CHECK ((GtkStock)"gtk-spell-check")
/**
* GTK_STOCK_STOP:
*
* The Stop item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;process-stop&quot; or the label &quot;_Stop&quot;.
*/
#define GTK_STOCK_STOP ((GtkStock)"gtk-stop")
/**
* GTK_STOCK_STRIKETHROUGH:
*
* The Strikethrough item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;format-text-strikethrough&quot; or the label &quot;_Strikethrough&quot;.
*/
#define GTK_STOCK_STRIKETHROUGH ((GtkStock)"gtk-strikethrough")
/**
* GTK_STOCK_UNDELETE:
*
* The Undelete item and icon. The icon has an RTL variant.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_UNDELETE ((GtkStock)"gtk-undelete")
/**
* GTK_STOCK_UNDERLINE:
*
* The Underline item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;format-text-underline&quot; or the label &quot;_Underline&quot;.
*/
#define GTK_STOCK_UNDERLINE ((GtkStock)"gtk-underline")
/**
* GTK_STOCK_UNDO:
*
* The Undo item and icon. The icon has an RTL variant.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;edit-undo&quot; or the label &quot;_Undo&quot;.
*/
#define GTK_STOCK_UNDO ((GtkStock)"gtk-undo")
/**
* GTK_STOCK_UNINDENT:
*
* The Unindent item and icon. The icon has an RTL variant.
*
* Since: 2.4
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;format-indent-less&quot;.
*/
#define GTK_STOCK_UNINDENT ((GtkStock)"gtk-unindent")
/**
* GTK_STOCK_YES:
*
* The Yes item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10
*/
#define GTK_STOCK_YES ((GtkStock)"gtk-yes")
/**
* GTK_STOCK_ZOOM_100:
*
* The Zoom 100% item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;zoom-original&quot; or the label &quot;_Normal Size&quot;.
*/
#define GTK_STOCK_ZOOM_100 ((GtkStock)"gtk-zoom-100")
/**
* GTK_STOCK_ZOOM_FIT:
*
* The Zoom to Fit item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;zoom-fit-best&quot; or the label &quot;Best _Fit&quot;.
*/
#define GTK_STOCK_ZOOM_FIT ((GtkStock)"gtk-zoom-fit")
/**
* GTK_STOCK_ZOOM_IN:
*
* The Zoom In item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;zoom-in&quot; or the label &quot;Zoom _In&quot;.
*/
#define GTK_STOCK_ZOOM_IN ((GtkStock)"gtk-zoom-in")
/**
* GTK_STOCK_ZOOM_OUT:
*
* The Zoom Out item and icon.
2013-06-25 03:47:52 +00:00
*
* Deprecated: 3.10: Use named icon &quot;zoom-out&quot; or the label &quot;Zoom _Out&quot;.
*/
#define GTK_STOCK_ZOOM_OUT ((GtkStock)"gtk-zoom-out")
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
#endif
G_END_DECLS
Move more text widget headers into the private header list 2000-09-26 Havoc Pennington <hp@redhat.com> * gtk/Makefile.am (gtk_private_h_sources): Move more text widget headers into the private header list * Makefile.am (pkgconfig_DATA): install pkg-config files * configure.in: add pkg-config files * gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files * gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate outstanding icon caches on theme change. * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three important types: (GtkIconSource): Specification for creating a pixbuf appropriate for a direction/state/size triplet from a source pixbuf or filename (GtkIconSet): List of GtkIconSource objects that are used to create the "same" icon (e.g. an OK button icon), and cache for rendered icons (GtkIconFactory): Hash from stock ID to GtkIconSet; used to look up the icon set for a given stock ID. GTK maintains a stack of GtkIconFactory to search, and applications or libraries can add additional icon factories on top of the stack * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse the set of GtkIconSource specified for a given stock ID into a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the RcStyle, under the specified stock ID. * gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function render_icon used to derive a GdkPixbuf from a GtkIconSource. This allows people to theme how prelight, insensitive, etc. are done. (gtk_style_lookup_icon_set): Look up a stock ID in the list of icon factories for a style, and return the resulting icon set if any. (gtk_style_render_icon): Render an icon using the render_icon method in the GtkStyleClass. * gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon): Use the style for a given widget to look up a stock ID, get the icon set, and render an icon using the render_icon method of the style * gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type (contains information about a stock item), the built-in stock item IDs, and functions to add/lookup stock items. * gtk/stock-icons/*: Stock icons that come with GTK * gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns a button based on a GtkStockItem (gtk_button_new_accel): Takes a uline string and accel group, and installs the accelerator. * gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic image-display widget.
2000-09-26 20:22:17 +00:00
#endif /* __GTK_STOCK_H__ */