Updated Esperanto translation
[gtkhtml.git] / components / editor / gtkhtml-face-chooser.h
blob9276f4f157053686d564b445e29ef9c9589be78a
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* gtkhtml-face-chooser.h
4 * Copyright (C) 2008 Novell, Inc.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU Lesser General Public
8 * License as published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef GTKHTML_FACE_CHOOSER_H
22 #define GTKHTML_FACE_CHOOSER_H
24 #include "gtkhtml-editor-common.h"
25 #include "gtkhtml-face.h"
27 /* Standard GObject macros */
28 #define GTKHTML_TYPE_FACE_CHOOSER \
29 (gtkhtml_face_chooser_get_type ())
30 #define GTKHTML_FACE_CHOOSER(obj) \
31 (G_TYPE_CHECK_INSTANCE_CAST \
32 ((obj), GTKHTML_TYPE_FACE_CHOOSER, GtkhtmlFaceChooser))
33 #define GTKHTML_IS_FACE_CHOOSER(obj) \
34 (G_TYPE_CHECK_INSTANCE_TYPE \
35 ((obj), GTKHTML_TYPE_FACE_CHOOSER))
36 #define GTKHTML_FACE_CHOOSER_GET_IFACE(obj) \
37 (G_TYPE_INSTANCE_GET_INTERFACE \
38 ((obj), GTKHTML_TYPE_FACE_CHOOSER, GtkhtmlFaceChooserIface))
40 G_BEGIN_DECLS
42 typedef struct _GtkhtmlFaceChooser GtkhtmlFaceChooser;
43 typedef struct _GtkhtmlFaceChooserIface GtkhtmlFaceChooserIface;
45 struct _GtkhtmlFaceChooserIface {
46 GTypeInterface parent_iface;
48 /* Methods */
49 GtkhtmlFace * (*get_current_face) (GtkhtmlFaceChooser *chooser);
50 void (*set_current_face) (GtkhtmlFaceChooser *chooser,
51 GtkhtmlFace *face);
53 /* Signals */
54 void (*item_activated) (GtkhtmlFaceChooser *chooser);
57 GType gtkhtml_face_chooser_get_type (void);
58 GtkhtmlFace * gtkhtml_face_chooser_get_current_face
59 (GtkhtmlFaceChooser *chooser);
60 void gtkhtml_face_chooser_set_current_face
61 (GtkhtmlFaceChooser *chooser,
62 GtkhtmlFace *face);
63 void gtkhtml_face_chooser_item_activated
64 (GtkhtmlFaceChooser *chooser);
65 GList * gtkhtml_face_chooser_get_items (GtkhtmlFaceChooser *chooser);
67 G_END_DECLS
69 #endif /* GTKHTML_FACE_CHOOSER_H */