summaryrefslogtreecommitdiff
path: root/endless/eosmainarea-private.h
blob: c0c6582e2dcb75dd1cb6cdd8811a596bd0bffc50 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/* Copyright 2013 Endless Mobile, Inc. */

#ifndef EOS_MAIN_AREA_H
#define EOS_MAIN_AREA_H

#include "eostypes.h"

#include <gtk/gtk.h>

G_BEGIN_DECLS

#define EOS_TYPE_MAIN_AREA eos_main_area_get_type()

#define EOS_MAIN_AREA(obj) \
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
  EOS_TYPE_MAIN_AREA, EosMainArea))

#define EOS_MAIN_AREA_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
  EOS_TYPE_MAIN_AREA, EosMainAreaClass))

#define EOS_IS_MAIN_AREA(obj) \
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
  EOS_TYPE_MAIN_AREA))

#define EOS_IS_MAIN_AREA_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
  EOS_TYPE_MAIN_AREA))

#define EOS_MAIN_AREA_GET_CLASS(obj) \
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
  EOS_TYPE_MAIN_AREA, EosMainAreaClass))

typedef struct _EosMainArea EosMainArea;
typedef struct _EosMainAreaClass EosMainAreaClass;
typedef struct _EosMainAreaPrivate EosMainAreaPrivate;

struct _EosMainArea
{
  GtkContainer parent;

  EosMainAreaPrivate *priv;
};

struct _EosMainAreaClass
{
  GtkContainerClass parent_class;
};

GType      eos_main_area_get_type    (void) G_GNUC_CONST;

GtkWidget *eos_main_area_new         (void);

void       eos_main_area_set_toolbox (EosMainArea *self,
                                      GtkWidget   *toolbox);
GtkWidget *eos_main_area_get_toolbox (EosMainArea *self);
void       eos_main_area_set_content (EosMainArea *self,
                                      GtkWidget   *content);
GtkWidget *eos_main_area_get_content (EosMainArea *self);
void       eos_main_area_set_actions (EosMainArea *self,
                                      gboolean     actions_visible);
gboolean   eos_main_area_get_actions (EosMainArea *self);

G_END_DECLS

#endif /* EOS_MAIN_AREA_H */