10297
|
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
2 /*
|
|
3 * Gaim 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.
|
|
6 *
|
|
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.
|
|
11 *
|
|
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.
|
|
16 *
|
|
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., 59 Temple Street #330, Boston, MA 02111-1307, USA.
|
|
20 *
|
|
21 */
|
|
22 #ifndef __GAIM_GAIM_DISCLOSURE_H__
|
|
23 #define __GAIM_GAIM_DISCLOSURE_H__
|
|
24
|
|
25 #include "eventloop.h"
|
|
26
|
|
27 #include <gtk/gtkcheckbutton.h>
|
|
28
|
|
29 #ifdef __cplusplus
|
|
30 extern "C" {
|
|
31 #pragma }
|
|
32 #endif
|
|
33
|
|
34 #define GAIM_DISCLOSURE_TYPE (gaim_disclosure_get_type ())
|
|
35 #define GAIM_DISCLOSURE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIM_DISCLOSURE_TYPE, GaimDisclosure))
|
|
36 #define GAIM_DISCLOSURE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAIM_DISCLOSURE_TYPE, GaimDisclosureClass))
|
|
37 #define IS_GAIM_DISCLOSURE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAIM_DISCLOSURE_TYPE))
|
|
38 #define IS_GAIM_DISCLOSURE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAIM_DISCLOSURE_TYPE))
|
|
39
|
|
40 typedef struct _GaimDisclosure GaimDisclosure;
|
|
41 typedef struct _GaimDisclosureClass GaimDisclosureClass;
|
|
42 typedef struct _GaimDisclosurePrivate GaimDisclosurePrivate;
|
|
43
|
|
44 struct _GaimDisclosure {
|
|
45 GtkCheckButton parent;
|
|
46
|
|
47 GaimDisclosurePrivate *priv;
|
|
48 };
|
|
49
|
|
50 struct _GaimDisclosureClass {
|
|
51 GtkCheckButtonClass parent_class;
|
|
52 };
|
|
53
|
|
54 GType gaim_disclosure_get_type (void);
|
|
55 GtkWidget *gaim_disclosure_new (const char *shown, const char *hidden);
|
|
56 void gaim_disclosure_set_container (GaimDisclosure *disclosure,
|
|
57 GtkWidget *container);
|
|
58
|
|
59 #ifdef __cplusplus
|
|
60 }
|
|
61 #endif
|
|
62
|
|
63 #endif
|