gtkicon-theme.h
Go to the documentation of this file.00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef PIDGIN_ICON_THEME_H
00027 #define PIDGIN_ICON_THEME_H
00028
00029 #include <glib.h>
00030 #include <glib-object.h>
00031 #include "theme.h"
00032
00040 typedef struct _PidginIconTheme PidginIconTheme;
00041 typedef struct _PidginIconThemeClass PidginIconThemeClass;
00042
00043 #define PIDGIN_TYPE_ICON_THEME (pidgin_icon_theme_get_type ())
00044 #define PIDGIN_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_ICON_THEME, PidginIconTheme))
00045 #define PIDGIN_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PIDGIN_TYPE_ICON_THEME, PidginIconThemeClass))
00046 #define PIDGIN_IS_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_ICON_THEME))
00047 #define PIDGIN_IS_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_ICON_THEME))
00048 #define PIDGIN_ICON_THEME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_ICON_THEME, PidginIconThemeClass))
00049
00050 struct _PidginIconTheme
00051 {
00052 PurpleTheme parent;
00053 gpointer priv;
00054 };
00055
00056 struct _PidginIconThemeClass
00057 {
00058 PurpleThemeClass parent_class;
00059 };
00060
00061
00063
00064 G_BEGIN_DECLS
00065
00070 GType pidgin_icon_theme_get_type(void);
00071
00080 const gchar *pidgin_icon_theme_get_icon(PidginIconTheme *theme,
00081 const gchar *event);
00082
00090 void pidgin_icon_theme_set_icon(PidginIconTheme *theme,
00091 const gchar *icon_id,
00092 const gchar *filename);
00093
00094 G_END_DECLS
00095 #endif