3
* This file is part of gedit
5
* Copyright (C) 2006 - Steve Frécinaux
7
* gedit is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* gedit is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with gedit; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor,
20
* Boston, MA 02110-1301 USA
23
#ifndef __GEDIT_CHARMAP_PANEL_H__
24
#define __GEDIT_CHARMAP_PANEL_H__
27
#include <glib-object.h>
29
#include <gucharmap/gucharmap-table.h>
34
* Type checking and casting macros
36
#define GEDIT_TYPE_CHARMAP_PANEL (gedit_charmap_panel_get_type ())
37
#define GEDIT_CHARMAP_PANEL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_CHARMAP_PANEL, GeditCharmapPanel))
38
#define GEDIT_CHARMAP_PANEL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_CHARMAP_PANEL, GeditCharmapPanelClass))
39
#define GEDIT_IS_CHARMAP_PANEL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_CHARMAP_PANEL))
40
#define GEDIT_IS_CHARMAP_PANEL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_CHARMAP_PANEL))
41
#define GEDIT_CHARMAP_PANEL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_CHARMAP_PANEL, GeditCharmapPanelClass))
43
/* Private structure type */
44
typedef struct _GeditCharmapPanelPrivate GeditCharmapPanelPrivate;
47
* Main object structure
49
typedef struct _GeditCharmapPanel GeditCharmapPanel;
51
struct _GeditCharmapPanel
53
GtkVBox parent_instance;
56
GeditCharmapPanelPrivate *priv;
62
typedef struct _GeditCharmapPanelClass GeditCharmapPanelClass;
64
struct _GeditCharmapPanelClass
66
GtkVBoxClass parent_class;
72
GType gedit_charmap_panel_get_type (void) G_GNUC_CONST;
73
GtkWidget *gedit_charmap_panel_new (void);
74
GucharmapTable *gedit_charmap_panel_get_table (GeditCharmapPanel *panel);
78
#endif /* __CHARMAP_PANEL_H__ */