Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkimcontextsimple.h
Go to the documentation of this file.
1/* GTK - The GIMP Toolkit
2 * Copyright (C) 2000 Red Hat Software
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, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
21#error "Only <gtk/gtk.h> can be included directly."
22#endif
23
24#include <gtk/gtkimcontext.h>
25
26
28
29/*
30 * No longer used by GTK, just left here on the off chance that some
31 * 3rd party code used this define.
32 */
33/**
34 * GTK_MAX_COMPOSE_LEN:
35 *
36 * Evaluates to the maximum length of a compose sequence.
37 *
38 * This macro is longer used by GTK.
39 */
40#define GTK_MAX_COMPOSE_LEN 7
41
42#define GTK_TYPE_IM_CONTEXT_SIMPLE (gtk_im_context_simple_get_type ())
43#define GTK_IM_CONTEXT_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimple))
44#define GTK_IM_CONTEXT_SIMPLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimpleClass))
45#define GTK_IS_IM_CONTEXT_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE))
46#define GTK_IS_IM_CONTEXT_SIMPLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT_SIMPLE))
47#define GTK_IM_CONTEXT_SIMPLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimpleClass))
48
49
51typedef struct _GtkIMContextSimplePrivate GtkIMContextSimplePrivate;
53
61
66
71
74 guint16 *data,
75 int max_seq_len,
76 int n_seqs);
79 const char *compose_file);
80
82
84
85
#define GDK_AVAILABLE_IN_ALL
#define GDK_DEPRECATED_IN_4_4_FOR(f)
unsigned short guint16
Definition glibconfig.h:49
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
GOBJECT_AVAILABLE_IN_ALL void g_object_unref(gpointer object)
void gtk_im_context_simple_add_table(GtkIMContextSimple *context_simple, guint16 *data, int max_seq_len, int n_seqs)
GDK_AVAILABLE_IN_ALL void gtk_im_context_simple_add_compose_file(GtkIMContextSimple *context_simple, const char *compose_file)
struct _GtkIMContextSimplePrivate GtkIMContextSimplePrivate
GDK_AVAILABLE_IN_ALL GtkIMContext * gtk_im_context_simple_new(void)
GDK_AVAILABLE_IN_ALL GType gtk_im_context_simple_get_type(void) G_GNUC_CONST
gsize GType
Definition gtype.h:427
GtkIMContextClass parent_class
GtkIMContextSimplePrivate * priv