1/*
2 * Copyright (c) 2013 Red Hat, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
12 * License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program; if not, write to the Free Software Foundation,
16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 *
18 */
19
20#ifndef __GTK_STACK_SWITCHER_H__
21#define __GTK_STACK_SWITCHER_H__
22
23#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
24#error "Only <gtk/gtk.h> can be included directly."
25#endif
26
27#include <gtk/gtkstack.h>
28
29G_BEGIN_DECLS
30
31#define GTK_TYPE_STACK_SWITCHER (gtk_stack_switcher_get_type ())
32#define GTK_STACK_SWITCHER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STACK_SWITCHER, GtkStackSwitcher))
33#define GTK_IS_STACK_SWITCHER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STACK_SWITCHER))
34
35typedef struct _GtkStackSwitcher GtkStackSwitcher;
36
37
38GDK_AVAILABLE_IN_ALL
39GType gtk_stack_switcher_get_type (void) G_GNUC_CONST;
40GDK_AVAILABLE_IN_ALL
41GtkWidget * gtk_stack_switcher_new (void);
42GDK_AVAILABLE_IN_ALL
43void gtk_stack_switcher_set_stack (GtkStackSwitcher *switcher,
44 GtkStack *stack);
45GDK_AVAILABLE_IN_ALL
46GtkStack * gtk_stack_switcher_get_stack (GtkStackSwitcher *switcher);
47
48G_END_DECLS
49
50#endif /* __GTK_STACK_SWITCHER_H__ */
51

source code of gtk/gtk/gtkstackswitcher.h