Migrate certificates, icons, logs to XDG dirs
[pidgin-git.git] / pidgin / gtkscrollbook.h
blob1568de8813da590f3f2323250bece3289080b1c0
1 /* pidgin
3 * Pidgin is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
5 * source distribution.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
22 #ifndef __PIDGIN_SCROLL_BOOK_H__
23 #define __PIDGIN_SCROLL_BOOK_H__
24 /**
25 * SECTION:gtkscrollbook
26 * @section_id: pidgin-gtkscrollbook
27 * @short_description: <filename>gtkscrollbook.h</filename>
28 * @title: Scrolling Notebook Widget
31 #include <gtk/gtk.h>
33 G_BEGIN_DECLS
35 #define PIDGIN_TYPE_SCROLL_BOOK (pidgin_scroll_book_get_type ())
36 #define PIDGIN_SCROLL_BOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_SCROLL_BOOK, PidginScrollBook))
37 #define PIDGIN_SCROLL_BOOK_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), PIDGIN_TYPE_SCROLL_BOOK, PidginScrollBookClass))
38 #define PIDGIN_IS_SCROLL_BOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_SCROLL_BOOK))
39 #define PIDGIN_IS_SCROLL_BOOK_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), PIDGIN_TYPE_SCROLL_BOOK))
40 #define PIDGIN_SCROLL_BOOK_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), PIDGIN_TYPE_SCROLL_BOOK, PidginScrollBookClass))
42 typedef struct _PidginScrollBook PidginScrollBook;
43 typedef struct _PidginScrollBookClass PidginScrollBookClass;
45 struct _PidginScrollBook
47 GtkVBox parent_instance;
49 GtkWidget *notebook;
50 GtkWidget *hbox;
51 GtkWidget *label;
52 GtkWidget *left_arrow;
53 GtkWidget *right_arrow;
54 GList *children;
56 /*< private >*/
57 void (*_gtk_reserved1) (void);
58 void (*_gtk_reserved2) (void);
59 void (*_gtk_reserved3) (void);
64 struct _PidginScrollBookClass
66 GtkContainerClass parent_class;
68 /*< private >*/
69 void (*_gtk_reserved0) (void);
70 void (*_gtk_reserved1) (void);
71 void (*_gtk_reserved2) (void);
72 void (*_gtk_reserved3) (void);
76 GType pidgin_scroll_book_get_type (void) G_GNUC_CONST;
77 GtkWidget *pidgin_scroll_book_new (void);
79 G_END_DECLS
81 #endif /* __PIDGIN_SCROLL_BOOK_H__ */