gtkactionbar.h 2.52 KB
Newer Older
William Jon McCann's avatar
William Jon McCann committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (c) 2013 - 2014 Red Hat, Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
 * License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 */

#ifndef __GTK_ACTION_BAR_H__
#define __GTK_ACTION_BAR_H__

#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gtk/gtk.h> can be included directly."
#endif

27
#include <gtk/gtkwidget.h>
William Jon McCann's avatar
William Jon McCann committed
28
29
30
31
32
33
34
35
36

G_BEGIN_DECLS

#define GTK_TYPE_ACTION_BAR            (gtk_action_bar_get_type ())
#define GTK_ACTION_BAR(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACTION_BAR, GtkActionBar))
#define GTK_IS_ACTION_BAR(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACTION_BAR))

typedef struct _GtkActionBar              GtkActionBar;

Matthias Clasen's avatar
Matthias Clasen committed
37
GDK_AVAILABLE_IN_ALL
William Jon McCann's avatar
William Jon McCann committed
38
GType        gtk_action_bar_get_type          (void) G_GNUC_CONST;
Matthias Clasen's avatar
Matthias Clasen committed
39
GDK_AVAILABLE_IN_ALL
William Jon McCann's avatar
William Jon McCann committed
40
GtkWidget   *gtk_action_bar_new               (void);
Matthias Clasen's avatar
Matthias Clasen committed
41
GDK_AVAILABLE_IN_ALL
William Jon McCann's avatar
William Jon McCann committed
42
GtkWidget   *gtk_action_bar_get_center_widget (GtkActionBar *action_bar);
Matthias Clasen's avatar
Matthias Clasen committed
43
GDK_AVAILABLE_IN_ALL
William Jon McCann's avatar
William Jon McCann committed
44
45
46
void         gtk_action_bar_set_center_widget (GtkActionBar *action_bar,
                                               GtkWidget    *center_widget);

Matthias Clasen's avatar
Matthias Clasen committed
47
GDK_AVAILABLE_IN_ALL
William Jon McCann's avatar
William Jon McCann committed
48
49
void         gtk_action_bar_pack_start        (GtkActionBar *action_bar,
                                               GtkWidget    *child);
Matthias Clasen's avatar
Matthias Clasen committed
50
GDK_AVAILABLE_IN_ALL
William Jon McCann's avatar
William Jon McCann committed
51
52
void         gtk_action_bar_pack_end          (GtkActionBar *action_bar,
                                               GtkWidget    *child);
Timm Bäder's avatar
Timm Bäder committed
53

54
55
56
57
GDK_AVAILABLE_IN_ALL
void         gtk_action_bar_remove            (GtkActionBar *action_bar,
                                               GtkWidget    *child);

Matthias Clasen's avatar
Matthias Clasen committed
58
GDK_AVAILABLE_IN_ALL
Timm Bäder's avatar
Timm Bäder committed
59
60
void        gtk_action_bar_set_revealed       (GtkActionBar *action_bar,
                                               gboolean      revealed);
Matthias Clasen's avatar
Matthias Clasen committed
61
GDK_AVAILABLE_IN_ALL
Timm Bäder's avatar
Timm Bäder committed
62
63
64
gboolean    gtk_action_bar_get_revealed       (GtkActionBar *action_bar);


William Jon McCann's avatar
William Jon McCann committed
65
66
67
G_END_DECLS

#endif /* __GTK_ACTION_BAR_H__ */