annotate gtk/gtkscrollbook.h @ 15346:b4594eab8eeb

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