| 1 | /* | 
| 2 |  * Copyright (c) 2013 - 2014 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_ACTION_BAR_H__ | 
| 21 | #define __GTK_ACTION_BAR_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/gtkbin.h> | 
| 28 |  | 
| 29 | G_BEGIN_DECLS | 
| 30 |  | 
| 31 | #define GTK_TYPE_ACTION_BAR            (gtk_action_bar_get_type ()) | 
| 32 | #define GTK_ACTION_BAR(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACTION_BAR, GtkActionBar)) | 
| 33 | #define GTK_ACTION_BAR_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACTION_BAR, GtkActionBarClass)) | 
| 34 | #define GTK_IS_ACTION_BAR(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACTION_BAR)) | 
| 35 | #define GTK_IS_ACTION_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACTION_BAR)) | 
| 36 | #define GTK_ACTION_BAR_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACTION_BAR, GtkActionBarClass)) | 
| 37 |  | 
| 38 | typedef struct _GtkActionBar              GtkActionBar; | 
| 39 | typedef struct _GtkActionBarPrivate       GtkActionBarPrivate; | 
| 40 | typedef struct _GtkActionBarClass         GtkActionBarClass; | 
| 41 |  | 
| 42 | struct _GtkActionBar | 
| 43 | { | 
| 44 |   /*< private >*/ | 
| 45 |   GtkBin bin; | 
| 46 | }; | 
| 47 |  | 
| 48 | struct _GtkActionBarClass | 
| 49 | { | 
| 50 |   /*< private >*/ | 
| 51 |   GtkBinClass parent_class; | 
| 52 |  | 
| 53 |   /* Padding for future expansion */ | 
| 54 |   void (*_gtk_reserved1) (void); | 
| 55 |   void (*_gtk_reserved2) (void); | 
| 56 |   void (*_gtk_reserved3) (void); | 
| 57 |   void (*_gtk_reserved4) (void); | 
| 58 | }; | 
| 59 |  | 
| 60 | GDK_AVAILABLE_IN_3_12 | 
| 61 | GType        gtk_action_bar_get_type          (void) G_GNUC_CONST; | 
| 62 | GDK_AVAILABLE_IN_3_12 | 
| 63 | GtkWidget   *gtk_action_bar_new               (void); | 
| 64 | GDK_AVAILABLE_IN_3_12 | 
| 65 | GtkWidget   *gtk_action_bar_get_center_widget (GtkActionBar *action_bar); | 
| 66 | GDK_AVAILABLE_IN_3_12 | 
| 67 | void         gtk_action_bar_set_center_widget (GtkActionBar *action_bar, | 
| 68 |                                                GtkWidget    *center_widget); | 
| 69 |  | 
| 70 | GDK_AVAILABLE_IN_3_12 | 
| 71 | void         gtk_action_bar_pack_start        (GtkActionBar *action_bar, | 
| 72 |                                                GtkWidget    *child); | 
| 73 | GDK_AVAILABLE_IN_3_12 | 
| 74 | void         gtk_action_bar_pack_end          (GtkActionBar *action_bar, | 
| 75 |                                                GtkWidget    *child); | 
| 76 | G_END_DECLS | 
| 77 |  | 
| 78 | #endif /* __GTK_ACTION_BAR_H__ */ | 
| 79 |  |