aboutsummaryrefslogtreecommitdiffstats
path: root/notes/e-bevel-button.h
blob: e9197c3b63a6d3ab2f4873ffa9bf7ecad4e16000 (plain) (blame)
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
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
#ifndef __E_BEVEL_BUTTON_H__
#define __E_BEVEL_BUTTON_H__

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <gtk/gtkbutton.h>

#define E_TYPE_BEVEL_BUTTON            (e_bevel_button_get_type ())
#define E_BEVEL_BUTTON(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_BEVEL_BUTTON, EBevelButton))
#define E_BEVEL_BUTTON_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_BEVEL_BUTTON, EBevelButtonClass))
#define E_IS_BEVEL_BUTTON(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_BEVEL_BUTTON))
#define E_IS_BEVEL_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TYPE_BEVEL_BUTTON))

typedef struct _EBevelButton        EBevelButton;
typedef struct _EBevelButtonPrivate EBevelButtonPrivate;
typedef struct _EBevelButtonClass   EBevelButtonClass;

struct _EBevelButton {
    GtkButton parent;

    EBevelButtonPrivate *priv;
};

struct _EBevelButtonClass {
    GtkButtonClass parent_class;
};

GtkType e_bevel_button_get_type (void);

GtkWidget *e_bevel_button_new (void);
void e_bevel_button_set_base_color (EBevelButton *button, GdkColor *color);

#endif /* __E_BEVEL_BUTTON_H__ */