| 1 | /* |
| 2 | * Copyright (c) 2014 Intel Corporation |
| 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 | * Author: |
| 19 | * Ikey Doherty <michael.i.doherty@intel.com> |
| 20 | */ |
| 21 | |
| 22 | #ifndef __GTK_STACK_SIDEBAR_H__ |
| 23 | #define |
| 24 | |
| 25 | #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) |
| 26 | #error "Only <gtk/gtk.h> can be included directly." |
| 27 | #endif |
| 28 | |
| 29 | #include <gtk/gtkbin.h> |
| 30 | #include <gtk/gtkstack.h> |
| 31 | |
| 32 | G_BEGIN_DECLS |
| 33 | |
| 34 | #define (gtk_stack_sidebar_get_type ()) |
| 35 | #define (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STACK_SIDEBAR, GtkStackSidebar)) |
| 36 | #define (obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STACK_SIDEBAR)) |
| 37 | #define (klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_STACK_SIDEBAR, GtkStackSidebarClass)) |
| 38 | #define (klass)(G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_STACK_SIDEBAR)) |
| 39 | #define (obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_STACK_SIDEBAR, GtkStackSidebarClass)) |
| 40 | |
| 41 | typedef struct _GtkStackSidebar ; |
| 42 | typedef struct ; |
| 43 | typedef struct _GtkStackSidebarClass ; |
| 44 | |
| 45 | struct |
| 46 | { |
| 47 | GtkBin ; |
| 48 | }; |
| 49 | |
| 50 | struct |
| 51 | { |
| 52 | GtkBinClass ; |
| 53 | |
| 54 | /* Padding for future expansion */ |
| 55 | void (*) (void); |
| 56 | void (*) (void); |
| 57 | void (*) (void); |
| 58 | void (*) (void); |
| 59 | }; |
| 60 | |
| 61 | GDK_AVAILABLE_IN_3_16 |
| 62 | GType (void) G_GNUC_CONST; |
| 63 | GDK_AVAILABLE_IN_3_16 |
| 64 | GtkWidget * (void); |
| 65 | GDK_AVAILABLE_IN_3_16 |
| 66 | void (GtkStackSidebar *, |
| 67 | GtkStack *stack); |
| 68 | GDK_AVAILABLE_IN_3_16 |
| 69 | GtkStack * (GtkStackSidebar *); |
| 70 | |
| 71 | G_END_DECLS |
| 72 | |
| 73 | #endif /* __GTK_STACK_SIDEBAR_H__ */ |
| 74 | |