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
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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
|
|
|
*/
|
|
|
|
|
2009-10-21 18:30:04 +00:00
|
|
|
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
2008-05-28 15:07:04 +00:00
|
|
|
#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
|
|
|
#ifndef __GTK_STOCK_H__
|
|
|
|
#define __GTK_STOCK_H__
|
|
|
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
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.
|
|
|
|
* @func_data: user data passed in when registering the function
|
|
|
|
*
|
|
|
|
* The function used to translate messages in e.g. #GtkIconFactory
|
|
|
|
* and #GtkActionGroup.
|
|
|
|
*
|
|
|
|
* Returns: the translated message
|
|
|
|
*/
|
|
|
|
typedef gchar * (*GtkTranslateFunc) (const gchar *path,
|
|
|
|
gpointer func_data);
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
struct _GtkStockItem
|
|
|
|
{
|
|
|
|
gchar *stock_id;
|
|
|
|
gchar *label;
|
|
|
|
GdkModifierType modifier;
|
|
|
|
guint keyval;
|
|
|
|
gchar *translation_domain;
|
|
|
|
};
|
|
|
|
|
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);
|
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);
|
|
|
|
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.
|
|
|
|
*/
|
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
|
|
|
|
|
|
|
GtkStockItem *gtk_stock_item_copy (const GtkStockItem *item);
|
|
|
|
void gtk_stock_item_free (GtkStockItem *item);
|
|
|
|
|
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
|
|
|
|
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:
|
|
|
|
*
|
|
|
|
* The "About" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="help-about.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
|
|
|
*/
|
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)
2004-07-12 04:56:30 +00:00
|
|
|
#define GTK_STOCK_ABOUT "gtk-about"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ADD:
|
|
|
|
*
|
|
|
|
* The "Add" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="list-add.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_ADD "gtk-add"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_APPLY:
|
|
|
|
*
|
|
|
|
* The "Apply" item.
|
|
|
|
* <inlinegraphic fileref="gtk-apply.png" format="PNG"></inlinegraphic>
|
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_APPLY "gtk-apply"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_BOLD:
|
|
|
|
*
|
|
|
|
* The "Bold" item.
|
2010-09-01 15:43:06 +00:00
|
|
|
* <inlinegraphic fileref="format-text-bold.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_BOLD "gtk-bold"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CANCEL:
|
|
|
|
*
|
|
|
|
* The "Cancel" item.
|
|
|
|
* <inlinegraphic fileref="gtk-cancel.png" format="PNG"></inlinegraphic>
|
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_CANCEL "gtk-cancel"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CAPS_LOCK_WARNING:
|
|
|
|
*
|
|
|
|
* The "Caps Lock Warning" icon.
|
|
|
|
* <inlinegraphic fileref="gtk-caps-lock-warning.png" format="PNG"></inlinegraphic>
|
|
|
|
*
|
|
|
|
* Since: 2.16
|
|
|
|
*/
|
2009-01-05 18:14:58 +00:00
|
|
|
#define GTK_STOCK_CAPS_LOCK_WARNING "gtk-caps-lock-warning"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CDROM:
|
|
|
|
*
|
|
|
|
* The "CD-Rom" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-optical.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_CDROM "gtk-cdrom"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CLEAR:
|
|
|
|
*
|
|
|
|
* The "Clear" item.
|
2010-09-01 15:43:06 +00:00
|
|
|
* <inlinegraphic fileref="edit-clear.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_CLEAR "gtk-clear"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CLOSE:
|
|
|
|
*
|
|
|
|
* The "Close" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="window-close.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
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
|
|
|
#define GTK_STOCK_CLOSE "gtk-close"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_COLOR_PICKER:
|
|
|
|
*
|
|
|
|
* The "Color Picker" item.
|
|
|
|
* <inlinegraphic fileref="gtk-color-picker.png" format="PNG"></inlinegraphic>
|
|
|
|
*
|
|
|
|
* Since: 2.2
|
|
|
|
*/
|
2002-09-16 22:52:22 +00:00
|
|
|
#define GTK_STOCK_COLOR_PICKER "gtk-color-picker"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CONNECT:
|
|
|
|
*
|
|
|
|
* The "Connect" icon.
|
|
|
|
* <inlinegraphic fileref="gtk-connect.png" format="PNG"></inlinegraphic>
|
|
|
|
*
|
|
|
|
* Since: 2.6
|
|
|
|
*/
|
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)
2004-07-12 04:56:30 +00:00
|
|
|
#define GTK_STOCK_CONNECT "gtk-connect"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CONVERT:
|
|
|
|
*
|
|
|
|
* The "Convert" item.
|
|
|
|
* <inlinegraphic fileref="gtk-convert.png" format="PNG"></inlinegraphic>
|
|
|
|
*/
|
|
|
|
#define GTK_STOCK_CONVERT "gtk-convert"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_COPY:
|
|
|
|
*
|
|
|
|
* The "Copy" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="edit-copy.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_COPY "gtk-copy"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_CUT:
|
|
|
|
*
|
|
|
|
* The "Cut" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="edit-cut.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_CUT "gtk-cut"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DELETE:
|
|
|
|
*
|
|
|
|
* The "Delete" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="edit-delete.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_DELETE "gtk-delete"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DIALOG_AUTHENTICATION:
|
|
|
|
*
|
|
|
|
* The "Authentication" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="dialog-password.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.4
|
|
|
|
*/
|
|
|
|
#define GTK_STOCK_DIALOG_AUTHENTICATION "gtk-dialog-authentication"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DIALOG_INFO:
|
|
|
|
*
|
|
|
|
* The "Information" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="dialog-information.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
|
|
|
#define GTK_STOCK_DIALOG_INFO "gtk-dialog-info"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DIALOG_WARNING:
|
|
|
|
*
|
|
|
|
* The "Warning" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="dialog-warning.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
|
|
|
#define GTK_STOCK_DIALOG_WARNING "gtk-dialog-warning"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DIALOG_ERROR:
|
|
|
|
*
|
|
|
|
* The "Error" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="dialog-error.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
|
|
|
#define GTK_STOCK_DIALOG_ERROR "gtk-dialog-error"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DIALOG_QUESTION:
|
|
|
|
*
|
|
|
|
* The "Question" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="dialog-question.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
|
|
|
#define GTK_STOCK_DIALOG_QUESTION "gtk-dialog-question"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DIRECTORY:
|
|
|
|
*
|
|
|
|
* The "Directory" icon.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="folder.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
|
|
|
*/
|
2004-07-06 20:28:48 +00:00
|
|
|
#define GTK_STOCK_DIRECTORY "gtk-directory"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DISCARD:
|
|
|
|
*
|
|
|
|
* The "Discard" item.
|
|
|
|
*
|
|
|
|
* Since: 2.12
|
|
|
|
*/
|
2007-06-07 15:07:55 +00:00
|
|
|
#define GTK_STOCK_DISCARD "gtk-discard"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DISCONNECT:
|
|
|
|
*
|
|
|
|
* The "Disconnect" icon.
|
|
|
|
* <inlinegraphic fileref="gtk-disconnect.png" format="PNG"></inlinegraphic>
|
|
|
|
*
|
|
|
|
* Since: 2.6
|
|
|
|
*/
|
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)
2004-07-12 04:56:30 +00:00
|
|
|
#define GTK_STOCK_DISCONNECT "gtk-disconnect"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DND:
|
|
|
|
*
|
|
|
|
* The "Drag-And-Drop" icon.
|
|
|
|
* <inlinegraphic fileref="gtk-dnd.png" format="PNG"></inlinegraphic>
|
|
|
|
*/
|
|
|
|
#define GTK_STOCK_DND "gtk-dnd"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_DND_MULTIPLE:
|
|
|
|
*
|
|
|
|
* The "Drag-And-Drop multiple" icon.
|
|
|
|
* <inlinegraphic fileref="gtk-dnd-multiple.png" format="PNG"></inlinegraphic>
|
|
|
|
*/
|
|
|
|
#define GTK_STOCK_DND_MULTIPLE "gtk-dnd-multiple"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_EDIT:
|
|
|
|
*
|
|
|
|
* The "Edit" item.
|
|
|
|
* <inlinegraphic fileref="gtk-edit.png" format="PNG"></inlinegraphic>
|
|
|
|
*
|
|
|
|
* Since: 2.6
|
|
|
|
*/
|
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)
2004-07-12 04:56:30 +00:00
|
|
|
#define GTK_STOCK_EDIT "gtk-edit"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_EXECUTE:
|
|
|
|
*
|
|
|
|
* The "Execute" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="system-run.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_EXECUTE "gtk-execute"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_FILE:
|
|
|
|
*
|
2010-06-24 19:51:38 +00:00
|
|
|
* The "File" item.
|
2011-03-28 21:54:00 +00:00
|
|
|
* <inlinegraphic fileref="text-x-generic.png" format="PNG"></inlinegraphic>
|
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
|
|
|
|
*/
|
2004-07-06 20:28:48 +00:00
|
|
|
#define GTK_STOCK_FILE "gtk-file"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_FIND:
|
|
|
|
*
|
|
|
|
* The "Find" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="edit-find.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_FIND "gtk-find"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_FIND_AND_REPLACE:
|
|
|
|
*
|
|
|
|
* The "Find and Replace" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="edit-find-replace.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_FIND_AND_REPLACE "gtk-find-and-replace"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_FLOPPY:
|
|
|
|
*
|
|
|
|
* The "Floppy" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-floppy.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_FLOPPY "gtk-floppy"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_FULLSCREEN:
|
|
|
|
*
|
|
|
|
* The "Fullscreen" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="view-fullscreen.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.8
|
|
|
|
*/
|
2005-06-25 05:06:47 +00:00
|
|
|
#define GTK_STOCK_FULLSCREEN "gtk-fullscreen"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GOTO_BOTTOM:
|
|
|
|
*
|
|
|
|
* The "Bottom" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-bottom.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_GOTO_BOTTOM "gtk-goto-bottom"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GOTO_FIRST:
|
|
|
|
*
|
|
|
|
* The "First" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-first-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-first-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_GOTO_FIRST "gtk-goto-first"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GOTO_LAST:
|
|
|
|
*
|
|
|
|
* The "Last" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-last-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-last-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_GOTO_LAST "gtk-goto-last"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GOTO_TOP:
|
|
|
|
*
|
|
|
|
* The "Top" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-top.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_GOTO_TOP "gtk-goto-top"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GO_BACK:
|
|
|
|
*
|
|
|
|
* The "Back" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-previous-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-previous-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_GO_BACK "gtk-go-back"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GO_DOWN:
|
|
|
|
*
|
|
|
|
* The "Down" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-down.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_GO_DOWN "gtk-go-down"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GO_FORWARD:
|
|
|
|
*
|
|
|
|
* The "Forward" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-next-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-next-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_GO_FORWARD "gtk-go-forward"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_GO_UP:
|
|
|
|
*
|
|
|
|
* The "Up" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-up.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-27 21:43:09 +00:00
|
|
|
#define GTK_STOCK_GO_UP "gtk-go-up"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_HARDDISK:
|
|
|
|
*
|
|
|
|
* The "Harddisk" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="drive-harddisk.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.4
|
|
|
|
*/
|
2004-01-04 15:45:56 +00:00
|
|
|
#define GTK_STOCK_HARDDISK "gtk-harddisk"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_HELP:
|
|
|
|
*
|
|
|
|
* The "Help" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="help-contents.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
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
|
|
|
#define GTK_STOCK_HELP "gtk-help"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_HOME:
|
|
|
|
*
|
|
|
|
* The "Home" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-home.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_HOME "gtk-home"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_INDEX:
|
|
|
|
*
|
|
|
|
* The "Index" item.
|
|
|
|
* <inlinegraphic fileref="gtk-index.png" format="PNG"></inlinegraphic>
|
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_INDEX "gtk-index"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_INDENT:
|
|
|
|
*
|
|
|
|
* The "Indent" item.
|
|
|
|
* <inlinegraphic fileref="gtk-indent-ltr.png" format="PNG"></inlinegraphic>
|
|
|
|
* RTL variant
|
|
|
|
* <inlinegraphic fileref="gtk-indent-rtl.png" format="PNG"></inlinegraphic>
|
|
|
|
*
|
|
|
|
* Since: 2.4
|
|
|
|
*/
|
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)
2004-07-12 04:56:30 +00:00
|
|
|
#define GTK_STOCK_INDENT "gtk-indent"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_INFO:
|
|
|
|
*
|
|
|
|
* The "Info" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="dialog-information.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.8
|
|
|
|
*/
|
2005-06-25 05:06:47 +00:00
|
|
|
#define GTK_STOCK_INFO "gtk-info"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ITALIC:
|
|
|
|
*
|
|
|
|
* The "Italic" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="format-text-italic.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_ITALIC "gtk-italic"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_JUMP_TO:
|
|
|
|
*
|
|
|
|
* The "Jump to" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-jump-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL-variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="go-jump-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_JUMP_TO "gtk-jump-to"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_JUSTIFY_CENTER:
|
|
|
|
*
|
|
|
|
* The "Center" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="format-justify-center.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_JUSTIFY_CENTER "gtk-justify-center"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_JUSTIFY_FILL:
|
|
|
|
*
|
|
|
|
* The "Fill" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="format-justify-fill.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_JUSTIFY_FILL "gtk-justify-fill"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_JUSTIFY_LEFT:
|
|
|
|
*
|
|
|
|
* The "Left" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="format-justify-left.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_JUSTIFY_LEFT "gtk-justify-left"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_JUSTIFY_RIGHT:
|
|
|
|
*
|
|
|
|
* The "Right" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="format-justify-right.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_JUSTIFY_RIGHT "gtk-justify-right"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_LEAVE_FULLSCREEN:
|
|
|
|
*
|
|
|
|
* The "Leave Fullscreen" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="view-restore.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.8
|
|
|
|
*/
|
2005-06-25 05:06:47 +00:00
|
|
|
#define GTK_STOCK_LEAVE_FULLSCREEN "gtk-leave-fullscreen"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MISSING_IMAGE:
|
|
|
|
*
|
|
|
|
* The "Missing image" icon.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="image-missing.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 22:08:53 +00:00
|
|
|
#define GTK_STOCK_MISSING_IMAGE "gtk-missing-image"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_FORWARD:
|
|
|
|
*
|
|
|
|
* The "Media Forward" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-seek-forward-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-seek-forward-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
|
|
|
*/
|
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)
2004-07-12 04:56:30 +00:00
|
|
|
#define GTK_STOCK_MEDIA_FORWARD "gtk-media-forward"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_NEXT:
|
|
|
|
*
|
|
|
|
* The "Media Next" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-skip-forward-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-skip-forward-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
|
|
|
*/
|
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)
2004-07-12 04:56:30 +00:00
|
|
|
#define GTK_STOCK_MEDIA_NEXT "gtk-media-next"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_PAUSE:
|
|
|
|
*
|
|
|
|
* The "Media Pause" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-playback-pause.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
|
|
|
*/
|
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)
2004-07-12 04:56:30 +00:00
|
|
|
#define GTK_STOCK_MEDIA_PAUSE "gtk-media-pause"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_PLAY:
|
|
|
|
*
|
|
|
|
* The "Media Play" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-playback-start-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-playback-start-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
|
|
|
*/
|
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)
2004-07-12 04:56:30 +00:00
|
|
|
#define GTK_STOCK_MEDIA_PLAY "gtk-media-play"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_PREVIOUS:
|
|
|
|
*
|
|
|
|
* The "Media Previous" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-skip-backward-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-skip-backward-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
|
|
|
*/
|
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)
2004-07-12 04:56:30 +00:00
|
|
|
#define GTK_STOCK_MEDIA_PREVIOUS "gtk-media-previous"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_RECORD:
|
|
|
|
*
|
|
|
|
* The "Media Record" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-record.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
|
|
|
*/
|
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)
2004-07-12 04:56:30 +00:00
|
|
|
#define GTK_STOCK_MEDIA_RECORD "gtk-media-record"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_REWIND:
|
|
|
|
*
|
|
|
|
* The "Media Rewind" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-seek-backward-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-seek-backward-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
|
|
|
*/
|
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)
2004-07-12 04:56:30 +00:00
|
|
|
#define GTK_STOCK_MEDIA_REWIND "gtk-media-rewind"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_MEDIA_STOP:
|
|
|
|
*
|
|
|
|
* The "Media Stop" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="media-playback-stop.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.6
|
|
|
|
*/
|
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items. (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)
2004-07-12 04:56:30 +00:00
|
|
|
#define GTK_STOCK_MEDIA_STOP "gtk-media-stop"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_NETWORK:
|
|
|
|
*
|
|
|
|
* The "Network" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="network-idle.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.4
|
|
|
|
*/
|
2004-01-28 21:46:02 +00:00
|
|
|
#define GTK_STOCK_NETWORK "gtk-network"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_NEW:
|
|
|
|
*
|
|
|
|
* The "New" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="document-new.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
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
|
|
|
#define GTK_STOCK_NEW "gtk-new"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_NO:
|
|
|
|
*
|
|
|
|
* The "No" item.
|
|
|
|
* <inlinegraphic fileref="gtk-no.png" format="PNG"></inlinegraphic>
|
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_NO "gtk-no"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_OK:
|
|
|
|
*
|
|
|
|
* The "OK" item.
|
|
|
|
* <inlinegraphic fileref="gtk-ok.png" format="PNG"></inlinegraphic>
|
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_OK "gtk-ok"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_OPEN:
|
|
|
|
*
|
|
|
|
* The "Open" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="document-open.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
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
|
|
|
#define GTK_STOCK_OPEN "gtk-open"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ORIENTATION_PORTRAIT:
|
|
|
|
*
|
|
|
|
* The "Portrait Orientation" item.
|
|
|
|
* <inlinegraphic fileref="gtk-orientation-portrait.png" format="PNG"></inlinegraphic>
|
|
|
|
*
|
|
|
|
* Since: 2.10
|
|
|
|
*/
|
2006-04-21 15:09:32 +00:00
|
|
|
#define GTK_STOCK_ORIENTATION_PORTRAIT "gtk-orientation-portrait"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ORIENTATION_LANDSCAPE:
|
|
|
|
*
|
|
|
|
* The "Landscape Orientation" item.
|
|
|
|
* <inlinegraphic fileref="gtk-orientation-landscape.png" format="PNG"></inlinegraphic>
|
|
|
|
*
|
|
|
|
* Since: 2.10
|
|
|
|
*/
|
2006-04-21 15:09:32 +00:00
|
|
|
#define GTK_STOCK_ORIENTATION_LANDSCAPE "gtk-orientation-landscape"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE:
|
|
|
|
*
|
|
|
|
* The "Reverse Landscape Orientation" item.
|
|
|
|
* <inlinegraphic fileref="gtk-orientation-reverse-landscape.png" format="PNG"></inlinegraphic>
|
|
|
|
*
|
|
|
|
* Since: 2.10
|
|
|
|
*/
|
2006-04-21 15:09:32 +00:00
|
|
|
#define GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE "gtk-orientation-reverse-landscape"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT:
|
|
|
|
*
|
|
|
|
* The "Reverse Portrait Orientation" item.
|
|
|
|
* <inlinegraphic fileref="gtk-orientation-reverse-portrait.png" format="PNG"></inlinegraphic>
|
|
|
|
*
|
|
|
|
* Since: 2.10
|
|
|
|
*/
|
2006-05-16 15:23:01 +00:00
|
|
|
#define GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT "gtk-orientation-reverse-portrait"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PAGE_SETUP:
|
|
|
|
*
|
|
|
|
* The "Page Setup" item.
|
|
|
|
* <inlinegraphic fileref="gtk-page-setup.png" format="PNG"></inlinegraphic>
|
|
|
|
*
|
|
|
|
* Since: 2.14
|
|
|
|
*/
|
2008-02-18 15:01:04 +00:00
|
|
|
#define GTK_STOCK_PAGE_SETUP "gtk-page-setup"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PASTE:
|
|
|
|
*
|
|
|
|
* The "Paste" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="edit-paste.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_PASTE "gtk-paste"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PREFERENCES:
|
|
|
|
*
|
|
|
|
* The "Preferences" item.
|
|
|
|
* <inlinegraphic fileref="gtk-preferences.png" format="PNG"></inlinegraphic>
|
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_PREFERENCES "gtk-preferences"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PRINT:
|
|
|
|
*
|
|
|
|
* The "Print" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="document-print.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_PRINT "gtk-print"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PRINT_ERROR:
|
|
|
|
*
|
|
|
|
* The "Print Error" icon.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="printer-error.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.14
|
|
|
|
*/
|
2008-05-05 23:38:31 +00:00
|
|
|
#define GTK_STOCK_PRINT_ERROR "gtk-print-error"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PRINT_PAUSED:
|
|
|
|
*
|
|
|
|
* The "Print Paused" icon.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="printer-paused.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.14
|
|
|
|
*/
|
2008-07-15 17:34:34 +00:00
|
|
|
#define GTK_STOCK_PRINT_PAUSED "gtk-print-paused"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PRINT_PREVIEW:
|
|
|
|
*
|
|
|
|
* The "Print Preview" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="document-print-preview.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_PRINT_PREVIEW "gtk-print-preview"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PRINT_REPORT:
|
|
|
|
*
|
|
|
|
* The "Print Report" icon.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="printer-info.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.14
|
|
|
|
*/
|
2008-05-05 23:38:31 +00:00
|
|
|
#define GTK_STOCK_PRINT_REPORT "gtk-print-report"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PRINT_WARNING:
|
|
|
|
*
|
|
|
|
* The "Print Warning" icon.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="printer-warning.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.14
|
|
|
|
*/
|
2008-05-05 23:38:31 +00:00
|
|
|
#define GTK_STOCK_PRINT_WARNING "gtk-print-warning"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_PROPERTIES:
|
|
|
|
*
|
|
|
|
* The "Properties" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="document-properties.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_PROPERTIES "gtk-properties"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_QUIT:
|
|
|
|
*
|
|
|
|
* The "Quit" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="application-exit.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_QUIT "gtk-quit"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_REDO:
|
|
|
|
*
|
|
|
|
* The "Redo" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="edit-redo-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="edit-redo-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_REDO "gtk-redo"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_REFRESH:
|
|
|
|
*
|
|
|
|
* The "Refresh" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="view-refresh.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_REFRESH "gtk-refresh"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_REMOVE:
|
|
|
|
*
|
|
|
|
* The "Remove" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="list-remove.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_REMOVE "gtk-remove"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_REVERT_TO_SAVED:
|
|
|
|
*
|
|
|
|
* The "Revert" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="document-revert-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="document-revert-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_REVERT_TO_SAVED "gtk-revert-to-saved"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SAVE:
|
|
|
|
*
|
|
|
|
* The "Save" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="document-save.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
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
|
|
|
#define GTK_STOCK_SAVE "gtk-save"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SAVE_AS:
|
|
|
|
*
|
|
|
|
* The "Save As" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="document-save-as.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_SAVE_AS "gtk-save-as"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SELECT_ALL:
|
|
|
|
*
|
|
|
|
* The "Select All" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="edit-select-all.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.10
|
|
|
|
*/
|
2005-08-29 20:01:28 +00:00
|
|
|
#define GTK_STOCK_SELECT_ALL "gtk-select-all"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SELECT_COLOR:
|
|
|
|
*
|
|
|
|
* The "Color" item.
|
|
|
|
* <inlinegraphic fileref="gtk-select-color.png" format="PNG"></inlinegraphic>
|
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_SELECT_COLOR "gtk-select-color"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SELECT_FONT:
|
|
|
|
*
|
|
|
|
* The "Font" item.
|
|
|
|
* <inlinegraphic fileref="gtk-font.png" format="PNG"></inlinegraphic>
|
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_SELECT_FONT "gtk-select-font"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SORT_ASCENDING:
|
|
|
|
*
|
|
|
|
* The "Ascending" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="view-sort-ascending.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_SORT_ASCENDING "gtk-sort-ascending"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SORT_DESCENDING:
|
|
|
|
*
|
|
|
|
* The "Descending" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="view-sort-descending.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_SORT_DESCENDING "gtk-sort-descending"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_SPELL_CHECK:
|
|
|
|
*
|
|
|
|
* The "Spell Check" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="tools-check-spelling.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_SPELL_CHECK "gtk-spell-check"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_STOP:
|
|
|
|
*
|
|
|
|
* The "Stop" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="process-stop.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_STOP "gtk-stop"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_STRIKETHROUGH:
|
|
|
|
*
|
|
|
|
* The "Strikethrough" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="format-text-strikethrough.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_STRIKETHROUGH "gtk-strikethrough"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_UNDELETE:
|
|
|
|
*
|
|
|
|
* The "Undelete" item.
|
|
|
|
* <inlinegraphic fileref="gtk-undelete-ltr.png" format="PNG"></inlinegraphic>
|
|
|
|
* RTL variant
|
|
|
|
* <inlinegraphic fileref="gtk-undelete-rtl.png" format="PNG"></inlinegraphic>
|
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_UNDELETE "gtk-undelete"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_UNDERLINE:
|
|
|
|
*
|
|
|
|
* The "Underline" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="format-text-underline.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_UNDERLINE "gtk-underline"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_UNDO:
|
|
|
|
*
|
|
|
|
* The "Undo" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="edit-undo-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="edit-undo-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_UNDO "gtk-undo"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_UNINDENT:
|
|
|
|
*
|
|
|
|
* The "Unindent" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="format-indent-less-ltr.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
* RTL variant
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="format-indent-less-rtl.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*
|
|
|
|
* Since: 2.4
|
|
|
|
*/
|
|
|
|
#define GTK_STOCK_UNINDENT "gtk-unindent"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_YES:
|
|
|
|
*
|
|
|
|
* The "Yes" item.
|
|
|
|
* <inlinegraphic fileref="gtk-yes.png" format="PNG"></inlinegraphic>
|
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_YES "gtk-yes"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ZOOM_100:
|
|
|
|
*
|
|
|
|
* The "Zoom 100%" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="zoom-original.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_ZOOM_100 "gtk-zoom-100"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ZOOM_FIT:
|
|
|
|
*
|
|
|
|
* The "Zoom to Fit" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="zoom-fit-best.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_ZOOM_FIT "gtk-zoom-fit"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ZOOM_IN:
|
|
|
|
*
|
|
|
|
* The "Zoom In" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="zoom-in.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_ZOOM_IN "gtk-zoom-in"
|
2009-11-08 06:04:37 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GTK_STOCK_ZOOM_OUT:
|
|
|
|
*
|
|
|
|
* The "Zoom Out" item.
|
2010-08-31 04:30:59 +00:00
|
|
|
* <inlinegraphic fileref="zoom-out.png" format="PNG"></inlinegraphic>
|
2009-11-08 06:04:37 +00:00
|
|
|
*/
|
2001-05-25 20:41:46 +00:00
|
|
|
#define GTK_STOCK_ZOOM_OUT "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
|
|
|
|
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__ */
|