1 /* 2 * anjuta-close-button.h 3 * 4 * Copyright (C) 2010 - Paolo Borelli 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library 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 GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20 21 #ifndef __ANJUTA_CLOSE_BUTTON_H__ 22 #define __ANJUTA_CLOSE_BUTTON_H__ 23 24 #include <gtk/gtk.h> 25 26 G_BEGIN_DECLS 27 28 #define ANJUTA_TYPE_CLOSE_BUTTON (anjuta_close_button_get_type ()) 29 #define ANJUTA_CLOSE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ANJUTA_TYPE_CLOSE_BUTTON, AnjutaCloseButton)) 30 #define ANJUTA_CLOSE_BUTTON_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ANJUTA_TYPE_CLOSE_BUTTON, AnjutaCloseButton const)) 31 #define ANJUTA_CLOSE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ANJUTA_TYPE_CLOSE_BUTTON, AnjutaCloseButtonClass)) 32 #define ANJUTA_IS_CLOSE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ANJUTA_TYPE_CLOSE_BUTTON)) 33 #define ANJUTA_IS_CLOSE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ANJUTA_TYPE_CLOSE_BUTTON)) 34 #define ANJUTA_CLOSE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ANJUTA_TYPE_CLOSE_BUTTON, AnjutaCloseButtonClass)) 35 36 typedef struct _AnjutaCloseButton AnjutaCloseButton; 37 typedef struct _AnjutaCloseButtonClass AnjutaCloseButtonClass; 38 typedef struct _AnjutaCloseButtonClassPrivate AnjutaCloseButtonClassPrivate; 39 40 struct _AnjutaCloseButton 41 { 42 GtkButton parent; 43 }; 44 45 struct _AnjutaCloseButtonClass 46 { 47 GtkButtonClass parent_class; 48 49 AnjutaCloseButtonClassPrivate *priv; 50 }; 51 52 GType anjuta_close_button_get_type (void) G_GNUC_CONST; 53 54 GtkWidget *anjuta_close_button_new (void); 55 56 G_END_DECLS 57 58 #endif /* __ANJUTA_CLOSE_BUTTON_H__ */ 59 /* ex:set ts=8 noet: */ 60