Mercurial > pidgin.yaz
comparison console/libgnt/gntlabel.h @ 13850:0e1e59770cb0
[gaim-migrate @ 16308]
This is my first commit here. So don't yell at me if things get borked.
Also, I haven't looked at the auto-thingies yet. So don't puke at the
Makefiles.
Files in console/libgnt/ are for the 'Gaim/GObjectified Ncurses Toolkit'
library. Files in console/ uses libgaim and libgnt. Currently, only the
buddylist-ui is 'functional', ie. the buddy-list updates when someone
logs on or logs off. It still needs a lot of work.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 22 Jun 2006 08:33:54 +0000 |
parents | |
children | 841a5ffbfee4 |
comparison
equal
deleted
inserted
replaced
13849:8d1c55309e3c | 13850:0e1e59770cb0 |
---|---|
1 #ifndef GNT_LABEL_H | |
2 #define GNT_LABEL_H | |
3 | |
4 #include "gnt.h" | |
5 #include "gntwidget.h" | |
6 | |
7 #define GNT_TYPE_LABEL (gnt_label_get_gtype()) | |
8 #define GNT_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_LABEL, GntLabel)) | |
9 #define GNT_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_LABEL, GntLabelClass)) | |
10 #define GNT_IS_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_LABEL)) | |
11 #define GNT_IS_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_LABEL)) | |
12 #define GNT_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_LABEL, GntLabelClass)) | |
13 | |
14 typedef struct _GnLabel GntLabel; | |
15 typedef struct _GnLabelClass GntLabelClass; | |
16 | |
17 struct _GnLabel | |
18 { | |
19 GntWidget parent; | |
20 | |
21 char *text; | |
22 | |
23 void (*gnt_reserved1)(void); | |
24 void (*gnt_reserved2)(void); | |
25 void (*gnt_reserved3)(void); | |
26 void (*gnt_reserved4)(void); | |
27 }; | |
28 | |
29 struct _GnLabelClass | |
30 { | |
31 GntWidgetClass parent; | |
32 | |
33 void (*gnt_reserved1)(void); | |
34 void (*gnt_reserved2)(void); | |
35 void (*gnt_reserved3)(void); | |
36 void (*gnt_reserved4)(void); | |
37 }; | |
38 | |
39 G_BEGIN_DECLS | |
40 | |
41 GType gnt_label_get_gtype(void); | |
42 | |
43 GntWidget *gnt_label_new(const char *text); | |
44 | |
45 G_END_DECLS | |
46 | |
47 #endif /* GNT_LABEL_H */ | |
48 |