15033
|
1 /*
|
|
2 * @file gtkscrollbook GTK+ Scrolling notebook Widget
|
|
3 * @ingroup gtkui
|
|
4 *
|
|
5 * gaim
|
|
6 *
|
|
7 * Gaim is the legal property of its developers, whose names are too numerous
|
|
8 * to list here. Please refer to the COPYRIGHT file distributed with this
|
|
9 * source distribution.
|
|
10 *
|
|
11 * This program is free software; you can redistribute it and/or modify
|
|
12 * it under the terms of the GNU General Public License as published by
|
|
13 * the Free Software Foundation; either version 2 of the License, or
|
|
14 * (at your option) any later version.
|
|
15 *
|
|
16 * This program is distributed in the hope that it will be useful,
|
|
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19 * GNU General Public License for more details.
|
|
20 *
|
|
21 * You should have received a copy of the GNU General Public License
|
|
22 * along with this program; if not, write to the Free Software
|
|
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
24 */
|
|
25
|
|
26 #ifndef __GTK_GAIM_SCROLL_BOOK_H__
|
|
27 #define __GTK_GAIM_SCROLL_BOOK_H__
|
|
28
|
|
29 #include <gtk/gtk.h>
|
|
30
|
|
31
|
|
32 G_BEGIN_DECLS
|
|
33
|
|
34 #define GTK_GAIM_TYPE_SCROLL_BOOK (gtk_gaim_scroll_book_get_type ())
|
|
35 #define GTK_GAIM_SCROLL_BOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_GAIM_TYPE_SCROLL_BOOK, GtkGaimScrollBook))
|
|
36 #define GTK_GAIM_SCROLL_BOOK_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), GTK_GAIM_TYPE_SCROLL_BOOK, GtkGaimScrollBookClass))
|
|
37 #define GTK_GAIM_IS_SCROLL_BOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_GAIM_TYPE_SCROLL_BOOK))
|
|
38 #define GTK_GAIM_IS_SCROLL_BOOK_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), GTK_GAIM_TYPE_SCROLL_BOOK))
|
|
39 #define GTK_GAIM_SCROLL_BOOK_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), GTK_GAIM_TYPE_SCROLL_BOOK, GtkGaimScrollBookClass))
|
|
40
|
|
41 typedef struct _GtkGaimScrollBook GtkGaimScrollBook;
|
|
42 typedef struct _GtkGaimScrollBookClass GtkGaimScrollBookClass;
|
|
43
|
|
44 struct _GtkGaimScrollBook
|
|
45 {
|
|
46 GtkVBox parent_instance;
|
|
47
|
|
48 GtkWidget *notebook;
|
|
49 GtkWidget *hbox;
|
|
50 GtkWidget *label;
|
|
51 GtkWidget *left_arrow;
|
|
52 GtkWidget *right_arrow;
|
|
53
|
|
54 /* Padding for future expansion */
|
|
55 void (*_gtk_reserved0) (void);
|
|
56 void (*_gtk_reserved1) (void);
|
|
57 void (*_gtk_reserved2) (void);
|
|
58 void (*_gtk_reserved3) (void);
|
|
59
|
|
60 };
|
|
61
|
|
62
|
|
63 struct _GtkGaimScrollBookClass
|
|
64 {
|
|
65 GtkComboBoxClass parent_class;
|
|
66
|
|
67 /* Padding for future expansion */
|
|
68 void (*_gtk_reserved0) (void);
|
|
69 void (*_gtk_reserved1) (void);
|
|
70 void (*_gtk_reserved2) (void);
|
|
71 void (*_gtk_reserved3) (void);
|
|
72 };
|
|
73
|
|
74
|
|
75 GType gtk_gaim_scroll_book_get_type (void) G_GNUC_CONST;
|
|
76 GtkWidget *gtk_gaim_scroll_book_new (void);
|
|
77
|
|
78 G_END_DECLS
|
|
79
|
|
80 #endif /* __GTK_GAIM_SCROLL_BOOK_H__ */
|