/* * * postfish * * Copyright (C) 2002-2005 Monty * * Postfish is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * Postfish 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Postfish; see the file COPYING. If not, write to the * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. * * */ #ifndef __WINDOWBUTTON_H__ #define __WINDOWBUTTON_H__ #include #include #include #include #include G_BEGIN_DECLS #define WINDOWBUTTON_TYPE (windowbutton_get_type ()) #define WINDOWBUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WINDOWBUTTON_TYPE, Windowbutton)) #define WINDOWBUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WINDOWBUTTON_TYPE, WindowbuttonClass)) #define IS_WINDOWBUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WINDOWBUTTON_TYPE)) #define IS_WINDOWBUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WINDOWBUTTON_TYPE)) typedef struct _Windowbutton Windowbutton; typedef struct _WindowbuttonClass WindowbuttonClass; struct _Windowbutton{ GtkCheckButton frame; }; struct _WindowbuttonClass{ GtkCheckButtonClass parent_class; void (* windowbutton) (Windowbutton *m); }; GType windowbutton_get_type (void); GtkWidget* windowbutton_new (char *markup); G_END_DECLS #endif