GTK+2 panel 

GTK+2 panel Git Source Tree

Root/libgpwidgets/gpw-strftime.h

1/* Gtk2Panel - A bleeding edge Gtk+2 panel
2 * Copyright (C) 2009 Nicola Fontana <ntd at entidi.it>
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 */
19
20#ifndef __GPW_STRFTIME_H__
21#define __GPW_STRFTIME_H__
22
23#include <gtk/gtk.h>
24
25
26G_BEGIN_DECLS
27
28#define GPW_TYPE_STRFTIME (gpw_strftime_get_type())
29#define GPW_STRFTIME(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GPW_TYPE_STRFTIME, GpwStrftime))
30#define GPW_STRFTIME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GPW_TYPE_STRFTIME, GpwStrftimeClass))
31#define GPW_IS_STRFTIME(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GPW_TYPE_STRFTIME))
32#define GPU_IS_STRFTIME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GPW_TYPE_STRFTIME))
33#define GPW_STRFTIME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GPW_TYPE_STRFTIME, GpwStrftimeClass))
34
35
36typedef struct _GpwStrftime GpwStrftime;
37typedef struct _GpwStrftimeClass GpwStrftimeClass;
38
39
40struct _GpwStrftime {
41 /*< private >*/
42 GtkLabel parent;
43 gpointer data;
44};
45
46struct _GpwStrftimeClass {
47 /*< private >*/
48 GtkLabelClass parent_class;
49};
50
51
52GType gpw_strftime_get_type (void) G_GNUC_CONST;
53
54
55G_END_DECLS
56
57
58#endif /* __GPW_STRFTIME_H__ */

Archive Download this file

Branches

Tags