2008-07-01 22:57:50 +00:00
|
|
|
/* GTK - The GIMP Toolkit
|
2000-10-04 16:39:44 +00:00
|
|
|
* 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
|
2008-05-28 15:35:43 +00:00
|
|
|
* 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__
|
|
|
|
|
|
|
|
|
2012-12-28 14:57:34 +00:00
|
|
|
#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>
|
|
|
|
|
2005-03-20 07:01:23 +00:00
|
|
|
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
|
|
|
|
2014-08-18 12:38:04 +00:00
|
|
|
/**
|
2011-01-04 19:51:19 +00:00
|
|
|
* GtkTranslateFunc:
|
|
|
|
* @path: The id of the message. In #GtkActionGroup this will be a label
|
|
|
|
* or tooltip from a #GtkActionEntry.
|
2014-05-26 16:24:00 +00:00
|
|
|
* @func_data: (closure): user data passed in when registering the
|
|
|
|
* function
|
2011-01-04 19:51:19 +00:00
|
|
|
*
|
|
|
|
* 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
|
2011-01-04 19:51:19 +00:00
|
|
|
*/
|
|
|
|
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
|
2001-02-03 01:09:41 +00:00
|
|
|
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
|
2001-02-03 01:09:41 +00:00
|
|
|
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);
|
|
|
|
|
2001-05-25 20:41:46 +00:00
|
|
|
/* 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
|
2001-05-25 20:41:46 +00:00
|
|
|
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
|
2005-02-03 17:46:40 +00:00
|
|
|
void gtk_stock_set_translate_func (const gchar *domain,
|
|
|
|
GtkTranslateFunc func,
|
|
|
|
gpointer data,
|
2008-06-18 09:12:32 +00:00
|
|
|
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
|
|
|
|
2013-06-30 16:15:02 +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;
|
|
|
|
|
2014-01-24 02:08:34 +00:00
|
|
|
#ifndef GTK_DISABLE_DEPRECATED
|
|
|
|
|
2001-05-25 20:41:46 +00:00
|
|
|
/* Stock IDs (not all are stock items; some are images only) */
|
2009-11-08 06:04:37 +00:00
|
|
|
/**
|
|
|
|
* GTK_STOCK_ABOUT:
|
|
|
|
*
|
2014-02-05 18:07:34 +00:00
|
|
|
* The “About” item.
|
2014-02-03 22:19:27 +00:00
|
|
|
* ![](help-about.png)
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "help-about" or the label "_About".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_ABOUT ((GtkStock)"gtk-about")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ADD:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Add” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "list-add" or the label "_Add".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_ADD ((GtkStock)"gtk-add")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_APPLY:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Apply” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Do not use an icon. Use label "_Apply".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_APPLY ((GtkStock)"gtk-apply")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_BOLD:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Bold” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "format-text-bold".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_BOLD ((GtkStock)"gtk-bold")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CANCEL:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Cancel” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Do not use an icon. Use label "_Cancel".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_CANCEL ((GtkStock)"gtk-cancel")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CAPS_LOCK_WARNING:
|
|
|
|
*
|
2014-02-05 18:07:34 +00:00
|
|
|
* The “Caps Lock Warning” icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.16
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "dialog-warning-symbolic".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_CAPS_LOCK_WARNING ((GtkStock)"gtk-caps-lock-warning")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CDROM:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “CD-Rom” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "media-optical".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_CDROM ((GtkStock)"gtk-cdrom")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CLEAR:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Clear” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "edit-clear".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_CLEAR ((GtkStock)"gtk-clear")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CLOSE:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Close” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "window-close" or the label "_Close".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_CLOSE ((GtkStock)"gtk-close")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_COLOR_PICKER:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Color Picker” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.2
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_COLOR_PICKER ((GtkStock)"gtk-color-picker")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CONNECT:
|
|
|
|
*
|
2014-02-05 18:07:34 +00:00
|
|
|
* The “Connect” icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_CONNECT ((GtkStock)"gtk-connect")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CONVERT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Convert” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_CONVERT ((GtkStock)"gtk-convert")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_COPY:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Copy” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2014-12-26 16:04:26 +00:00
|
|
|
* Deprecated: 3.10: Use the named icon "edit-copy" or the label "_Copy".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_COPY ((GtkStock)"gtk-copy")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CUT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Cut” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2014-12-26 16:04:26 +00:00
|
|
|
* Deprecated: 3.10: Use the named icon "edit-cut" or the label "Cu_t".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_CUT ((GtkStock)"gtk-cut")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DELETE:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Delete” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2015-03-05 21:06:22 +00:00
|
|
|
* Deprecated: 3.10: Use the named icon "edit-delete" or the label "_Delete".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_DELETE ((GtkStock)"gtk-delete")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DIALOG_AUTHENTICATION:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Authentication” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.4
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "dialog-password".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_DIALOG_AUTHENTICATION ((GtkStock)"gtk-dialog-authentication")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DIALOG_INFO:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Information” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "dialog-information".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_DIALOG_INFO ((GtkStock)"gtk-dialog-info")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DIALOG_WARNING:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Warning” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "dialog-warning".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_DIALOG_WARNING ((GtkStock)"gtk-dialog-warning")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DIALOG_ERROR:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Error” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "dialog-error".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_DIALOG_ERROR ((GtkStock)"gtk-dialog-error")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DIALOG_QUESTION:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Question” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "dialog-question".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_DIALOG_QUESTION ((GtkStock)"gtk-dialog-question")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DIRECTORY:
|
|
|
|
*
|
2014-02-05 18:07:34 +00:00
|
|
|
* The “Directory” icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "folder".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_DIRECTORY ((GtkStock)"gtk-directory")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DISCARD:
|
|
|
|
*
|
2014-02-05 18:07:34 +00:00
|
|
|
* The “Discard” item.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.12
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_DISCARD ((GtkStock)"gtk-discard")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DISCONNECT:
|
|
|
|
*
|
2014-02-05 18:07:34 +00:00
|
|
|
* The “Disconnect” icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_DISCONNECT ((GtkStock)"gtk-disconnect")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_DND ((GtkStock)"gtk-dnd")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_DND_MULTIPLE ((GtkStock)"gtk-dnd-multiple")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_EDIT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Edit” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_EDIT ((GtkStock)"gtk-edit")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_EXECUTE:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Execute” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "system-run".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_EXECUTE ((GtkStock)"gtk-execute")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_FILE:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “File” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
2010-08-25 04:46:47 +00:00
|
|
|
* Since 3.0, this item has a label, before it only had an icon.
|
|
|
|
*
|
2009-11-08 06:04:37 +00:00
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "text-x-generic".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_FILE ((GtkStock)"gtk-file")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_FIND:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Find” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "edit-find".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_FIND ((GtkStock)"gtk-find")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_FIND_AND_REPLACE:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Find and Replace” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "edit-find-replace".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_FIND_AND_REPLACE ((GtkStock)"gtk-find-and-replace")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_FLOPPY:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Floppy” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_FLOPPY ((GtkStock)"gtk-floppy")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_FULLSCREEN:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Fullscreen” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.8
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "view-fullscreen".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_FULLSCREEN ((GtkStock)"gtk-fullscreen")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GOTO_BOTTOM:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Bottom” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "go-bottom".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_GOTO_BOTTOM ((GtkStock)"gtk-goto-bottom")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GOTO_FIRST:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “First” item and icon. The icon has an RTL variant.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "go-first".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_GOTO_FIRST ((GtkStock)"gtk-goto-first")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GOTO_LAST:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Last” item and icon. The icon has an RTL variant.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "go-last".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_GOTO_LAST ((GtkStock)"gtk-goto-last")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GOTO_TOP:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Top” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "go-top".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_GOTO_TOP ((GtkStock)"gtk-goto-top")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GO_BACK:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Back” item and icon. The icon has an RTL variant.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "go-previous".
|
2013-06-25 03:47:52 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_GO_BACK ((GtkStock)"gtk-go-back")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GO_DOWN:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Down” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "go-down".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_GO_DOWN ((GtkStock)"gtk-go-down")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GO_FORWARD:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Forward” item and icon. The icon has an RTL variant.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "go-next".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_GO_FORWARD ((GtkStock)"gtk-go-forward")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GO_UP:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Up” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "go-up".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_GO_UP ((GtkStock)"gtk-go-up")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_HARDDISK:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Harddisk” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.4
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "drive-harddisk".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_HARDDISK ((GtkStock)"gtk-harddisk")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_HELP:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Help” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "help-browser".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_HELP ((GtkStock)"gtk-help")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_HOME:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Home” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "go-home".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_HOME ((GtkStock)"gtk-home")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_INDEX:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Index” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_INDEX ((GtkStock)"gtk-index")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_INDENT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Indent” item and icon. The icon has an RTL variant.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.4
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "format-indent-more".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_INDENT ((GtkStock)"gtk-indent")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_INFO:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Info” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.8
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "dialog-information".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_INFO ((GtkStock)"gtk-info")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ITALIC:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Italic” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "format-text-italic".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_ITALIC ((GtkStock)"gtk-italic")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_JUMP_TO:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Jump to” item and icon. The icon has an RTL variant.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "go-jump".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_JUMP_TO ((GtkStock)"gtk-jump-to")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_JUSTIFY_CENTER:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Center” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "format-justify-center".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_JUSTIFY_CENTER ((GtkStock)"gtk-justify-center")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_JUSTIFY_FILL:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Fill” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "format-justify-fill".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_JUSTIFY_FILL ((GtkStock)"gtk-justify-fill")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_JUSTIFY_LEFT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Left” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "format-justify-left".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_JUSTIFY_LEFT ((GtkStock)"gtk-justify-left")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_JUSTIFY_RIGHT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Right” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "format-justify-right".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_JUSTIFY_RIGHT ((GtkStock)"gtk-justify-right")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_LEAVE_FULLSCREEN:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Leave Fullscreen” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.8
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "view-restore".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_LEAVE_FULLSCREEN ((GtkStock)"gtk-leave-fullscreen")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MISSING_IMAGE:
|
|
|
|
*
|
2014-02-05 18:07:34 +00:00
|
|
|
* The “Missing image” icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "image-missing".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_MISSING_IMAGE ((GtkStock)"gtk-missing-image")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_FORWARD:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Media Forward” item and icon. The icon has an RTL variant.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "media-seek-forward" or the label "_Forward".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_MEDIA_FORWARD ((GtkStock)"gtk-media-forward")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_NEXT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Media Next” item and icon. The icon has an RTL variant.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "media-skip-forward" or the label "_Next".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_MEDIA_NEXT ((GtkStock)"gtk-media-next")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_PAUSE:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Media Pause” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "media-playback-pause" or the label "P_ause".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_MEDIA_PAUSE ((GtkStock)"gtk-media-pause")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_PLAY:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Media Play” item and icon. The icon has an RTL variant.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "media-playback-start" or the label "_Play".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_MEDIA_PLAY ((GtkStock)"gtk-media-play")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_PREVIOUS:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Media Previous” item and icon. The icon has an RTL variant.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "media-skip-backward" or the label "Pre_vious".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_MEDIA_PREVIOUS ((GtkStock)"gtk-media-previous")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_RECORD:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Media Record” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "media-record" or the label "_Record".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_MEDIA_RECORD ((GtkStock)"gtk-media-record")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_REWIND:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Media Rewind” item and icon. The icon has an RTL variant.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "media-seek-backward" or the label "R_ewind".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_MEDIA_REWIND ((GtkStock)"gtk-media-rewind")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_STOP:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Media Stop” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "media-playback-stop" or the label "_Stop".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_MEDIA_STOP ((GtkStock)"gtk-media-stop")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_NETWORK:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Network” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.4
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "network-workgroup".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_NETWORK ((GtkStock)"gtk-network")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_NEW:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “New” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "document-new" or the label "_New".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_NEW ((GtkStock)"gtk-new")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_NO:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “No” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_NO ((GtkStock)"gtk-no")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_OK:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “OK” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Do not use an icon. Use label "_OK".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_OK ((GtkStock)"gtk-ok")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_OPEN:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Open” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "document-open" or the label "_Open".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_OPEN ((GtkStock)"gtk-open")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ORIENTATION_PORTRAIT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Portrait Orientation” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.10
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_ORIENTATION_PORTRAIT ((GtkStock)"gtk-orientation-portrait")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ORIENTATION_LANDSCAPE:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Landscape Orientation” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.10
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_ORIENTATION_LANDSCAPE ((GtkStock)"gtk-orientation-landscape")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Reverse Landscape Orientation” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.10
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE ((GtkStock)"gtk-orientation-reverse-landscape")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Reverse Portrait Orientation” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.10
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT ((GtkStock)"gtk-orientation-reverse-portrait")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PAGE_SETUP:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Page Setup” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.14
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "document-page-setup" or the label "Page Set_up".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_PAGE_SETUP ((GtkStock)"gtk-page-setup")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PASTE:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Paste” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2015-03-05 21:06:22 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "edit-paste" or the label "_Paste".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_PASTE ((GtkStock)"gtk-paste")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PREFERENCES:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Preferences” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "preferences-system" or the label "_Preferences".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_PREFERENCES ((GtkStock)"gtk-preferences")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PRINT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Print” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "document-print" or the label "_Print".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_PRINT ((GtkStock)"gtk-print")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PRINT_ERROR:
|
|
|
|
*
|
2014-02-05 18:07:34 +00:00
|
|
|
* The “Print Error” icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.14
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "printer-error".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_PRINT_ERROR ((GtkStock)"gtk-print-error")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PRINT_PAUSED:
|
|
|
|
*
|
2014-02-05 18:07:34 +00:00
|
|
|
* The “Print Paused” icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.14
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_PRINT_PAUSED ((GtkStock)"gtk-print-paused")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PRINT_PREVIEW:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Print Preview” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use label "Pre_view".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_PRINT_PREVIEW ((GtkStock)"gtk-print-preview")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PRINT_REPORT:
|
|
|
|
*
|
2014-02-05 18:07:34 +00:00
|
|
|
* The “Print Report” icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.14
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_PRINT_REPORT ((GtkStock)"gtk-print-report")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PRINT_WARNING:
|
|
|
|
*
|
2014-02-05 18:07:34 +00:00
|
|
|
* The “Print Warning” icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.14
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_PRINT_WARNING ((GtkStock)"gtk-print-warning")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PROPERTIES:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Properties” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "document-properties" or the label "_Properties".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_PROPERTIES ((GtkStock)"gtk-properties")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_QUIT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Quit” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "application-exit" or the label "_Quit".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_QUIT ((GtkStock)"gtk-quit")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_REDO:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Redo” item and icon. The icon has an RTL variant.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "edit-redo" or the label "_Redo".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_REDO ((GtkStock)"gtk-redo")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_REFRESH:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Refresh” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "view-refresh" or the label "_Refresh".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_REFRESH ((GtkStock)"gtk-refresh")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_REMOVE:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Remove” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "list-remove" or the label "_Remove".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_REMOVE ((GtkStock)"gtk-remove")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_REVERT_TO_SAVED:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Revert” item and icon. The icon has an RTL variant.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "document-revert" or the label "_Revert".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_REVERT_TO_SAVED ((GtkStock)"gtk-revert-to-saved")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SAVE:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Save” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "document-save" or the label "_Save".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_SAVE ((GtkStock)"gtk-save")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SAVE_AS:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Save As” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "document-save-as" or the label "Save _As".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_SAVE_AS ((GtkStock)"gtk-save-as")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SELECT_ALL:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Select All” item and icon.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.10
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "edit-select-all" or the label "Select _All".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_SELECT_ALL ((GtkStock)"gtk-select-all")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SELECT_COLOR:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Color” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_SELECT_COLOR ((GtkStock)"gtk-select-color")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SELECT_FONT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Font” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_SELECT_FONT ((GtkStock)"gtk-select-font")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SORT_ASCENDING:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Ascending” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "view-sort-ascending".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_SORT_ASCENDING ((GtkStock)"gtk-sort-ascending")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SORT_DESCENDING:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Descending” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "view-sort-descending".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_SORT_DESCENDING ((GtkStock)"gtk-sort-descending")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SPELL_CHECK:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Spell Check” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "tools-check-spelling".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_SPELL_CHECK ((GtkStock)"gtk-spell-check")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_STOP:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Stop” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "process-stop" or the label "_Stop".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_STOP ((GtkStock)"gtk-stop")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_STRIKETHROUGH:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Strikethrough” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "format-text-strikethrough" or the label "_Strikethrough".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_STRIKETHROUGH ((GtkStock)"gtk-strikethrough")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_UNDELETE:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Undelete” item and icon. The icon has an RTL variant.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_UNDELETE ((GtkStock)"gtk-undelete")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_UNDERLINE:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Underline” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "format-text-underline" or the label "_Underline".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_UNDERLINE ((GtkStock)"gtk-underline")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_UNDO:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Undo” item and icon. The icon has an RTL variant.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "edit-undo" or the label "_Undo".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_UNDO ((GtkStock)"gtk-undo")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_UNINDENT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Unindent” item and icon. The icon has an RTL variant.
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.4
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "format-indent-less".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_UNINDENT ((GtkStock)"gtk-unindent")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_YES:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Yes” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
|
|
|
* Deprecated: 3.10
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_YES ((GtkStock)"gtk-yes")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ZOOM_100:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Zoom 100%” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "zoom-original" or the label "_Normal Size".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_ZOOM_100 ((GtkStock)"gtk-zoom-100")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ZOOM_FIT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Zoom to Fit” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "zoom-fit-best" or the label "Best _Fit".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_ZOOM_FIT ((GtkStock)"gtk-zoom-fit")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ZOOM_IN:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Zoom In” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "zoom-in" or the label "Zoom _In".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#define GTK_STOCK_ZOOM_IN ((GtkStock)"gtk-zoom-in")
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ZOOM_OUT:
|
|
|
|
*
|
2014-06-20 14:53:36 +00:00
|
|
|
* The “Zoom Out” item and icon.
|
2013-06-25 03:47:52 +00:00
|
|
|
*
|
2013-06-28 10:47:48 +00:00
|
|
|
* Deprecated: 3.10: Use named icon "zoom-out" or the label "Zoom _Out".
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2013-06-30 16:15:02 +00:00
|
|
|
#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
|
|
|
|
2014-01-24 02:08:34 +00:00
|
|
|
#endif
|
|
|
|
|
2005-03-20 07:01:23 +00:00
|
|
|
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__ */
|