forked from ePirat/Postfish
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwindowbutton.h
More file actions
63 lines (48 loc) · 1.79 KB
/
windowbutton.h
File metadata and controls
63 lines (48 loc) · 1.79 KB
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
/*
*
* postfish
*
* Copyright (C) 2002-2005 Monty
*
* Postfish is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* Postfish 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Postfish; see the file COPYING. If not, write to the
* Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
*
*/
#ifndef __WINDOWBUTTON_H__
#define __WINDOWBUTTON_H__
#include <sys/time.h>
#include <time.h>
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define WINDOWBUTTON_TYPE (windowbutton_get_type ())
#define WINDOWBUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WINDOWBUTTON_TYPE, Windowbutton))
#define WINDOWBUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WINDOWBUTTON_TYPE, WindowbuttonClass))
#define IS_WINDOWBUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WINDOWBUTTON_TYPE))
#define IS_WINDOWBUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WINDOWBUTTON_TYPE))
typedef struct _Windowbutton Windowbutton;
typedef struct _WindowbuttonClass WindowbuttonClass;
struct _Windowbutton{
GtkCheckButton frame;
};
struct _WindowbuttonClass{
GtkCheckButtonClass parent_class;
void (* windowbutton) (Windowbutton *m);
};
GType windowbutton_get_type (void);
GtkWidget* windowbutton_new (char *markup);
G_END_DECLS
#endif