1 /* gtkam-status.h
2  *
3  * Copyright 2002 Lutz Mueller <lutz@users.sf.net>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef __GTKAM_STATUS_H__
20 #define __GTKAM_STATUS_H__
21 
22 #include <gtkam-context.h>
23 #include <gtk/gtkhbox.h>
24 
25 #define GTKAM_TYPE_STATUS  (gtkam_status_get_type ())
26 #define GTKAM_STATUS(o)    (GTK_CHECK_CAST((o),GTKAM_TYPE_STATUS,GtkamStatus))
27 #define GTKAM_IS_STATUS(o) (GTK_CHECK_TYPE((o),GTKAM_TYPE_STATUS))
28 
29 typedef struct _GtkamStatus        GtkamStatus;
30 typedef struct _GtkamStatusPrivate GtkamStatusPrivate;
31 typedef struct _GtkamStatusClass   GtkamStatusClass;
32 
33 struct _GtkamStatus
34 {
35 	GtkHBox parent;
36 
37 	GtkamContext *context;
38 
39 	GtkamStatusPrivate *priv;
40 };
41 
42 struct _GtkamStatusClass
43 {
44 	GtkHBoxClass parent_class;
45 };
46 
47 GtkType    gtkam_status_get_type (void);
48 GtkWidget *gtkam_status_new      (const gchar *format, ...);
49 
50 #endif /* __GTKAM_STATUS_H__ */
51