1/* GTK - The GIMP Toolkit
2 * Copyright (C) 2010 Red Hat, Inc.
3 * Author: Matthias Clasen
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef __GTK_LOCK_BUTTON_H__
20#define __GTK_LOCK_BUTTON_H__
21
22#include <gtk/gtkbutton.h>
23#include <gio/gio.h>
24
25G_BEGIN_DECLS
26
27#define GTK_TYPE_LOCK_BUTTON (gtk_lock_button_get_type ())
28#define GTK_LOCK_BUTTON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_LOCK_BUTTON, GtkLockButton))
29#define GTK_IS_LOCK_BUTTON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_LOCK_BUTTON))
30
31typedef struct _GtkLockButton GtkLockButton;
32
33GDK_AVAILABLE_IN_ALL
34GType gtk_lock_button_get_type (void) G_GNUC_CONST;
35GDK_AVAILABLE_IN_ALL
36GtkWidget *gtk_lock_button_new (GPermission *permission);
37GDK_AVAILABLE_IN_ALL
38GPermission *gtk_lock_button_get_permission (GtkLockButton *button);
39GDK_AVAILABLE_IN_ALL
40void gtk_lock_button_set_permission (GtkLockButton *button,
41 GPermission *permission);
42
43
44G_END_DECLS
45
46#endif /* __GTK_LOCK_BUTTON_H__ */
47

source code of gtk/gtk/gtklockbutton.h