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