Blame modules/input/gtkimcontextime.h

Packit Service fb6fa5
/*
Packit Service fb6fa5
 * gtkimmoduleime
Packit Service fb6fa5
 * Copyright (C) 2003 Takuro Ashie
Packit Service fb6fa5
 * Copyright (C) 2003 Kazuki IWAMOTO
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * This library is free software; you can redistribute it and/or
Packit Service fb6fa5
 * modify it under the terms of the GNU Lesser General Public
Packit Service fb6fa5
 * License as published by the Free Software Foundation; either
Packit Service fb6fa5
 * version 2 of the License, or (at your option) any later version.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * This library is distributed in the hope that it will be useful,
Packit Service fb6fa5
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service fb6fa5
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service fb6fa5
 * Lesser General Public License for more details.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * You should have received a copy of the GNU Lesser General Public
Packit Service fb6fa5
 * License along with this library; if not, write to the
Packit Service fb6fa5
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Packit Service fb6fa5
 * Boston, MA 02111-1307, USA.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * $Id$
Packit Service fb6fa5
 */
Packit Service fb6fa5
Packit Service fb6fa5
#include <gtk/gtk.h>
Packit Service fb6fa5
Packit Service fb6fa5
extern GType gtk_type_im_context_ime;
Packit Service fb6fa5
Packit Service fb6fa5
#define GTK_TYPE_IM_CONTEXT_IME            gtk_type_im_context_ime
Packit Service fb6fa5
#define GTK_IM_CONTEXT_IME(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIME))
Packit Service fb6fa5
#define GTK_IM_CONTEXT_IME_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIMEClass))
Packit Service fb6fa5
#define GTK_IS_IM_CONTEXT_IME(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT_IME))
Packit Service fb6fa5
#define GTK_IS_IM_CONTEXT_IME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT_IME))
Packit Service fb6fa5
#define GTK_IM_CONTEXT_IME_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIMEClass))
Packit Service fb6fa5
Packit Service fb6fa5
typedef struct _GtkIMContextIME GtkIMContextIME;
Packit Service fb6fa5
typedef struct _GtkIMContextIMEPrivate GtkIMContextIMEPrivate;
Packit Service fb6fa5
typedef struct _GtkIMContextIMEClass GtkIMContextIMEClass;
Packit Service fb6fa5
Packit Service fb6fa5
struct _GtkIMContextIME
Packit Service fb6fa5
{
Packit Service fb6fa5
  GtkIMContext object;
Packit Service fb6fa5
Packit Service fb6fa5
  GdkWindow *client_window;
Packit Service fb6fa5
  GdkWindow *toplevel;
Packit Service fb6fa5
  guint use_preedit : 1;
Packit Service fb6fa5
  guint preediting : 1;
Packit Service fb6fa5
  guint opened : 1;
Packit Service fb6fa5
  guint focus : 1;
Packit Service fb6fa5
  GdkRectangle cursor_location;
Packit Service fb6fa5
Packit Service fb6fa5
  GtkIMContextIMEPrivate *priv;
Packit Service fb6fa5
};
Packit Service fb6fa5
Packit Service fb6fa5
struct _GtkIMContextIMEClass
Packit Service fb6fa5
{
Packit Service fb6fa5
  GtkIMContextClass parent_class;
Packit Service fb6fa5
};
Packit Service fb6fa5
Packit Service fb6fa5
Packit Service fb6fa5
void          gtk_im_context_ime_register_type (GTypeModule * type_module);
Packit Service fb6fa5
GtkIMContext *gtk_im_context_ime_new           (void);