2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / src / hildon-check-button.h
1 /*
2  * This file is a part of hildon
3  *
4  * Copyright (C) 2008 Nokia Corporation, all rights reserved.
5  *
6  * Contact: Karl Lattimer <karl.lattimer@nokia.com>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser Public License as published by
10  * the Free Software Foundation; version 2 of the license.
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 Lesser Public License for more details.
16  *
17  */
18
19 #ifndef                                         __HILDON_CHECK_BUTTON_H__
20 #define                                         __HILDON_CHECK_BUTTON_H__
21
22 #include                                        "hildon-gtk.h"
23
24 G_BEGIN_DECLS
25
26 GtkWidget *
27 hildon_check_button_new                         (HildonSizeType size);
28
29 void
30 hildon_check_button_set_active                  (GtkButton *button,
31                                                  gboolean   is_active);
32
33 gboolean
34 hildon_check_button_get_active                  (GtkButton *button);
35
36 G_END_DECLS
37
38 #endif /* __HILDON_CHECK_BUTTON_H__ */