gtkcellrendererexpander.h

00001 /* gtkxcellrendererexpander.h
00002  * Pidgin is the legal property of its developers, whose names are too numerous
00003  * to list here.  Please refer to the COPYRIGHT file distributed with this
00004  * source distribution.
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  * 
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
00019  *
00020  */
00021 #ifndef _PIDGINCELLRENDEREREXPANDER_H_
00022 #define _PIDGINCELLRENDEREREXPANDER_H_
00023 
00024 #include <gtk/gtkcellrenderer.h>
00025 
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif /* __cplusplus */
00029 
00030 
00031 #define PIDGIN_TYPE_GTK_CELL_RENDERER_EXPANDER         (pidgin_cell_renderer_expander_get_type())
00032 #define PIDGIN_CELL_RENDERER_EXPANDER(obj)         (G_TYPE_CHECK_INSTANCE_CAST((obj), PIDGIN_TYPE_GTK_CELL_RENDERER_EXPANDER, PidginCellRendererExpander))
00033 #define PIDGIN_CELL_RENDERER_EXPANDER_CLASS(klass)  (G_TYPE_CHECK_CLASS_CAST ((klass), PURPLE_TYPE_GTK_CELL_RENDERER_EXPANDER, PidginCellRendererExpanderClass))
00034 #define PIDGIN_IS_GTK_CELL_RENDERER_EXPANDER(obj)       (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_GTK_CELL_RENDERER_EXPANDER))
00035 #define PIDGIN_IS_GTK_CELL_RENDERER_EXPANDER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_GTK_CELL_RENDERER_EXPANDER))
00036 #define PIDGIN_CELL_RENDERER_EXPANDER_GET_CLASS(obj)         (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_GTK_CELL_RENDERER_EXPANDER, PidginCellRendererExpanderClass))
00037 
00038 typedef struct _PidginCellRendererExpander PidginCellRendererExpander;
00039 typedef struct _PidginCellRendererExpanderClass PidginCellRendererExpanderClass;
00040 
00041 struct _PidginCellRendererExpander {
00042     GtkCellRenderer parent;
00043 
00044     gboolean is_expander;
00045 };
00046 
00047 struct _PidginCellRendererExpanderClass {
00048     GtkCellRendererClass parent_class;
00049 };
00050 
00051 GType            pidgin_cell_renderer_expander_get_type     (void);
00052 GtkCellRenderer  *pidgin_cell_renderer_expander_new          (void);
00053 
00054 
00055 #ifdef __cplusplus
00056 }
00057 #endif /* __cplusplus */
00058 
00059 #endif /* _PIDGINCELLRENDEREREXPANDER_H_ */