2 * (GLABELS) Label and Business Card Creation program for GNOME
4 * mdi.h: gLabels MDI module header file
6 * Copyright (C) 2001-2002 Jim Evins <evins@snaught.com>.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 * This file is based on gedit-mdi.h from gedit2:
26 * Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence
27 * Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi
28 * Copyright (C) 2002 Paolo Maggi
34 #include <bonobo-mdi.h>
36 #define GL_TYPE_MDI (gl_mdi_get_type ())
37 #define GL_MDI(obj) (GTK_CHECK_CAST ((obj), GL_TYPE_MDI, glMDI))
38 #define GL_MDI_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GL_TYPE_MDI, glMDIClass))
39 #define GL_IS_MDI(obj) (GTK_CHECK_TYPE ((obj), GL_TYPE_MDI))
40 #define GL_IS_MDI_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GL_TYPE_MDI))
41 #define GL_MDI_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GL_TYPE_MDI, glMdiClass))
44 typedef struct _glMDI glMDI;
45 typedef struct _glMDIClass glMDIClass;
47 typedef struct _glMDIPrivate glMDIPrivate;
58 BonoboMDIClass parent_class;
62 GtkType gl_mdi_get_type (void) G_GNUC_CONST;
64 glMDI* gl_mdi_new (void);
66 void gl_mdi_set_active_window_title (BonoboMDI *mdi);
68 void gl_mdi_update_ui_according_to_preferences (glMDI *mdi);
70 void gl_mdi_set_active_window_verbs_sensitivity (BonoboMDI *mdi);
72 #endif /* __MDI_H__ */