Revision 15328,
943 bytes
checked in by ghudson, 24 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r15327,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | #ifndef TEAROFF_ITEM_H |
---|
2 | #define TEAROFF_ITEM_H |
---|
3 | |
---|
4 | #include <gtk/gtk.h> |
---|
5 | |
---|
6 | #ifdef __cplusplus |
---|
7 | extern "C" { |
---|
8 | #endif /* __cplusplus */ |
---|
9 | |
---|
10 | |
---|
11 | #define TYPE_TEAROFF_ITEM (tearoff_item_get_type()) |
---|
12 | #define TEAROFF_ITEM(obj) (GTK_CHECK_CAST ((obj), tearoff_item_get_type(), TearoffItem)) |
---|
13 | #define TEAROFF_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), tearoff_item_get_type(), TearoffItemClass)) |
---|
14 | #define IS_TEAROFF_ITEM(obj) (GTK_CHECK_TYPE ((obj), tearoff_item_get_type())) |
---|
15 | #define IS_TEAROFF_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), tearoff_item_get_type())) |
---|
16 | |
---|
17 | |
---|
18 | typedef struct _TearoffItem TearoffItem; |
---|
19 | typedef struct _TearoffItemClass TearoffItemClass; |
---|
20 | |
---|
21 | struct _TearoffItem |
---|
22 | { |
---|
23 | GtkTearoffMenuItem tearoff_menu_item; |
---|
24 | }; |
---|
25 | |
---|
26 | struct _TearoffItemClass |
---|
27 | { |
---|
28 | GtkTearoffMenuItemClass parent_class; |
---|
29 | }; |
---|
30 | |
---|
31 | |
---|
32 | GtkType tearoff_item_get_type (void); |
---|
33 | GtkWidget* tearoff_item_new (void); |
---|
34 | |
---|
35 | #ifdef __cplusplus |
---|
36 | } |
---|
37 | #endif /* __cplusplus */ |
---|
38 | |
---|
39 | |
---|
40 | #endif /* TEAROFF_ITEM_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.