home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / include / pidgin / gtkcellrendererexpander.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-05-04  |  2.4 KB  |  60 lines

  1. /* gtkxcellrendererexpander.h
  2.  * Pidgin is the legal property of its developers, whose names are too numerous
  3.  * to list here.  Please refer to the COPYRIGHT file distributed with this
  4.  * source distribution.
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * (at your option) any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  * 
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  19.  *
  20.  */
  21. #ifndef _PIDGINCELLRENDEREREXPANDER_H_
  22. #define _PIDGINCELLRENDEREREXPANDER_H_
  23.  
  24. #include <gtk/gtkcellrenderer.h>
  25.  
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif /* __cplusplus */
  29.  
  30.  
  31. #define PIDGIN_TYPE_GTK_CELL_RENDERER_EXPANDER         (pidgin_cell_renderer_expander_get_type())
  32. #define PIDGIN_CELL_RENDERER_EXPANDER(obj)         (G_TYPE_CHECK_INSTANCE_CAST((obj), PIDGIN_TYPE_GTK_CELL_RENDERER_EXPANDER, PidginCellRendererExpander))
  33. #define PIDGIN_CELL_RENDERER_EXPANDER_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), PURPLE_TYPE_GTK_CELL_RENDERER_EXPANDER, PidginCellRendererExpanderClass))
  34. #define PIDGIN_IS_GTK_CELL_RENDERER_EXPANDER(obj)        (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_GTK_CELL_RENDERER_EXPANDER))
  35. #define PIDGIN_IS_GTK_CELL_RENDERER_EXPANDER_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_GTK_CELL_RENDERER_EXPANDER))
  36. #define PIDGIN_CELL_RENDERER_EXPANDER_GET_CLASS(obj)         (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_GTK_CELL_RENDERER_EXPANDER, PidginCellRendererExpanderClass))
  37.  
  38. typedef struct _PidginCellRendererExpander PidginCellRendererExpander;
  39. typedef struct _PidginCellRendererExpanderClass PidginCellRendererExpanderClass;
  40.  
  41. struct _PidginCellRendererExpander {
  42.     GtkCellRenderer parent;
  43.  
  44.     gboolean is_expander;
  45. };
  46.  
  47. struct _PidginCellRendererExpanderClass {
  48.     GtkCellRendererClass parent_class;
  49. };
  50.  
  51. GType            pidgin_cell_renderer_expander_get_type     (void);
  52. GtkCellRenderer  *pidgin_cell_renderer_expander_new          (void);
  53.  
  54.  
  55. #ifdef __cplusplus
  56. }
  57. #endif /* __cplusplus */
  58.  
  59. #endif /* _PIDGINCELLRENDEREREXPANDER_H_ */
  60.