27 #ifndef __GTK_ICON_FACTORY_H__
28 #define __GTK_ICON_FACTORY_H__
30 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
31 #error "Only <gtk/gtk.h> can be included directly."
41 #define GTK_TYPE_ICON_FACTORY (gtk_icon_factory_get_type ())
42 #define GTK_ICON_FACTORY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ICON_FACTORY, GtkIconFactory))
43 #define GTK_ICON_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ICON_FACTORY, GtkIconFactoryClass))
44 #define GTK_IS_ICON_FACTORY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ICON_FACTORY))
45 #define GTK_IS_ICON_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ICON_FACTORY))
46 #define GTK_ICON_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ICON_FACTORY, GtkIconFactoryClass))
47 #define GTK_TYPE_ICON_SET (gtk_icon_set_get_type ())
48 #define GTK_TYPE_ICON_SOURCE (gtk_icon_source_get_type ())
70 #define gtk_icon_source_set_filename gtk_icon_source_set_filename_utf8
71 #define gtk_icon_source_get_filename gtk_icon_source_get_filename_utf8
77 const gchar *stock_id,
80 const gchar *stock_id);
99 #ifndef GDK_MULTIHEAD_SAFE
152 const gchar *filename);
154 const gchar *icon_name);
void _gtk_icon_factory_ensure_default_icons(void)
GtkIconSet * gtk_icon_factory_lookup(GtkIconFactory *factory, const gchar *stock_id)
void gtk_icon_source_set_filename(GtkIconSource *source, const gchar *filename)
gboolean gtk_icon_source_get_size_wildcarded(const GtkIconSource *source)
GtkIconSource * gtk_icon_source_new(void)
GType gtk_icon_set_get_type(void) G_GNUC_CONST
GtkIconSet * gtk_icon_factory_lookup_default(const gchar *stock_id)
void gtk_icon_source_set_state_wildcarded(GtkIconSource *source, gboolean setting)
void gtk_icon_source_set_pixbuf(GtkIconSource *source, GdkPixbuf *pixbuf)
typedefG_BEGIN_DECLS struct _GtkIconFactoryClass GtkIconFactoryClass
GdkPixbuf * gtk_icon_set_render_icon(GtkIconSet *icon_set, GtkStyle *style, GtkTextDirection direction, GtkStateType state, GtkIconSize size, GtkWidget *widget, const char *detail)
void gtk_icon_set_unref(GtkIconSet *icon_set)
GtkIconFactory * gtk_icon_factory_new(void)
void gtk_icon_source_set_size_wildcarded(GtkIconSource *source, gboolean setting)
void gtk_icon_source_set_size(GtkIconSource *source, GtkIconSize size)
void gtk_icon_source_set_icon_name(GtkIconSource *source, const gchar *icon_name)
const gchar * gtk_icon_source_get_icon_name(const GtkIconSource *source)
void gtk_icon_factory_add(GtkIconFactory *factory, const gchar *stock_id, GtkIconSet *icon_set)
GtkTextDirection gtk_icon_source_get_direction(const GtkIconSource *source)
GtkIconSet * gtk_icon_set_new_from_pixbuf(GdkPixbuf *pixbuf)
void gtk_icon_source_set_direction(GtkIconSource *source, GtkTextDirection direction)
GType gtk_icon_factory_get_type(void) G_GNUC_CONST
GtkIconSource * gtk_icon_source_copy(const GtkIconSource *source)
GtkIconSet * gtk_icon_set_new(void)
void gtk_icon_factory_remove_default(GtkIconFactory *factory)
gboolean gtk_icon_source_get_state_wildcarded(const GtkIconSource *source)
void gtk_icon_size_register_alias(const gchar *alias, GtkIconSize target)
gboolean gtk_icon_size_lookup(GtkIconSize size, gint *width, gint *height)
void _gtk_icon_set_invalidate_caches(void)
GtkIconSize gtk_icon_size_from_name(const gchar *name)
const gchar * gtk_icon_source_get_filename(const GtkIconSource *source)
GtkStateType gtk_icon_source_get_state(const GtkIconSource *source)
GtkIconSize gtk_icon_size_register(const gchar *name, gint width, gint height)
void gtk_icon_factory_add_default(GtkIconFactory *factory)
gboolean gtk_icon_size_lookup_for_settings(GtkSettings *settings, GtkIconSize size, gint *width, gint *height)
void gtk_icon_source_set_direction_wildcarded(GtkIconSource *source, gboolean setting)
void gtk_icon_source_set_state(GtkIconSource *source, GtkStateType state)
GList * _gtk_icon_factory_list_ids(void)
void gtk_icon_set_add_source(GtkIconSet *icon_set, const GtkIconSource *source)
const gchar * gtk_icon_size_get_name(GtkIconSize size)
GtkIconSet * gtk_icon_set_ref(GtkIconSet *icon_set)
void gtk_icon_source_free(GtkIconSource *source)
GdkPixbuf * gtk_icon_source_get_pixbuf(const GtkIconSource *source)
GtkIconSize gtk_icon_source_get_size(const GtkIconSource *source)
gboolean gtk_icon_source_get_direction_wildcarded(const GtkIconSource *source)
GtkIconSet * gtk_icon_set_copy(GtkIconSet *icon_set)
GType gtk_icon_source_get_type(void) G_GNUC_CONST
void gtk_icon_set_get_sizes(GtkIconSet *icon_set, GtkIconSize **sizes, gint *n_sizes)
GtkImageIconNameData name
GtkImageIconSetData icon_set
GtkImagePixbufData pixbuf
typedefG_BEGIN_DECLS struct _GtkIconFactory GtkIconFactory
struct _GtkIconSet GtkIconSet
struct _GtkIconSource GtkIconSource
void(* _gtk_reserved3)(void)
void(* _gtk_reserved1)(void)
void(* _gtk_reserved2)(void)
void(* _gtk_reserved4)(void)
GObjectClass parent_class
GHashTable * GSEAL(icons)