Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkimcontext.h File Reference
#include <gtk/gtkwidget.h>

Go to the source code of this file.

Data Structures

struct  _GtkIMContext
 
struct  _GtkIMContextClass
 

Macros

#define GTK_TYPE_IM_CONTEXT   (gtk_im_context_get_type ())
 
#define GTK_IM_CONTEXT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT, GtkIMContext))
 
#define GTK_IM_CONTEXT_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT, GtkIMContextClass))
 
#define GTK_IS_IM_CONTEXT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT))
 
#define GTK_IS_IM_CONTEXT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT))
 
#define GTK_IM_CONTEXT_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT, GtkIMContextClass))
 

Typedefs

typedef struct _GtkIMContext GtkIMContext
 
typedef struct _GtkIMContextClass GtkIMContextClass
 

Functions

GDK_AVAILABLE_IN_ALL GType gtk_im_context_get_type (void) G_GNUC_CONST
 
GDK_AVAILABLE_IN_ALL void gtk_im_context_set_client_widget (GtkIMContext *context, GtkWidget *widget)
 
GDK_AVAILABLE_IN_ALL void gtk_im_context_get_preedit_string (GtkIMContext *context, char **str, PangoAttrList **attrs, int *cursor_pos)
 
GDK_AVAILABLE_IN_ALL gboolean gtk_im_context_filter_keypress (GtkIMContext *context, GdkEvent *event)
 
GDK_AVAILABLE_IN_ALL gboolean gtk_im_context_filter_key (GtkIMContext *context, gboolean press, GdkSurface *surface, GdkDevice *device, guint32 time, guint keycode, GdkModifierType state, int group)
 
GDK_AVAILABLE_IN_ALL void gtk_im_context_focus_in (GtkIMContext *context)
 
GDK_AVAILABLE_IN_ALL void gtk_im_context_focus_out (GtkIMContext *context)
 
GDK_AVAILABLE_IN_ALL void gtk_im_context_reset (GtkIMContext *context)
 
GDK_AVAILABLE_IN_ALL void gtk_im_context_set_cursor_location (GtkIMContext *context, const GdkRectangle *area)
 
GDK_AVAILABLE_IN_ALL void gtk_im_context_set_use_preedit (GtkIMContext *context, gboolean use_preedit)
 
void gtk_im_context_set_surrounding (GtkIMContext *context, const char *text, int len, int cursor_index)
 
gboolean gtk_im_context_get_surrounding (GtkIMContext *context, char **text, int *cursor_index)
 
GDK_AVAILABLE_IN_4_2 void gtk_im_context_set_surrounding_with_selection (GtkIMContext *context, const char *text, int len, int cursor_index, int anchor_index)
 
GDK_AVAILABLE_IN_4_2 gboolean gtk_im_context_get_surrounding_with_selection (GtkIMContext *context, char **text, int *cursor_index, int *anchor_index)
 
GDK_AVAILABLE_IN_ALL gboolean gtk_im_context_delete_surrounding (GtkIMContext *context, int offset, int n_chars)
 
GDK_AVAILABLE_IN_4_14 gboolean gtk_im_context_activate_osk (GtkIMContext *context, GdkEvent *event)
 

Macro Definition Documentation

◆ GTK_IM_CONTEXT

#define GTK_IM_CONTEXT ( obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT, GtkIMContext))

Definition at line 31 of file gtkimcontext.h.

◆ GTK_IM_CONTEXT_CLASS

#define GTK_IM_CONTEXT_CLASS ( klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT, GtkIMContextClass))

Definition at line 32 of file gtkimcontext.h.

◆ GTK_IM_CONTEXT_GET_CLASS

#define GTK_IM_CONTEXT_GET_CLASS ( obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT, GtkIMContextClass))

Definition at line 35 of file gtkimcontext.h.

◆ GTK_IS_IM_CONTEXT

#define GTK_IS_IM_CONTEXT ( obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT))

Definition at line 33 of file gtkimcontext.h.

◆ GTK_IS_IM_CONTEXT_CLASS

#define GTK_IS_IM_CONTEXT_CLASS ( klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT))

Definition at line 34 of file gtkimcontext.h.

◆ GTK_TYPE_IM_CONTEXT

#define GTK_TYPE_IM_CONTEXT   (gtk_im_context_get_type ())

Definition at line 30 of file gtkimcontext.h.

Typedef Documentation

◆ GtkIMContext

typedef struct _GtkIMContext GtkIMContext

Definition at line 38 of file gtkimcontext.h.

◆ GtkIMContextClass

Definition at line 39 of file gtkimcontext.h.

Function Documentation

◆ gtk_im_context_activate_osk()

GDK_AVAILABLE_IN_4_14 gboolean gtk_im_context_activate_osk ( GtkIMContext * context,
GdkEvent * event )

◆ gtk_im_context_delete_surrounding()

GDK_AVAILABLE_IN_ALL gboolean gtk_im_context_delete_surrounding ( GtkIMContext * context,
int offset,
int n_chars )

◆ gtk_im_context_filter_key()

GDK_AVAILABLE_IN_ALL gboolean gtk_im_context_filter_key ( GtkIMContext * context,
gboolean press,
GdkSurface * surface,
GdkDevice * device,
guint32 time,
guint keycode,
GdkModifierType state,
int group )

◆ gtk_im_context_filter_keypress()

GDK_AVAILABLE_IN_ALL gboolean gtk_im_context_filter_keypress ( GtkIMContext * context,
GdkEvent * event )

◆ gtk_im_context_focus_in()

GDK_AVAILABLE_IN_ALL void gtk_im_context_focus_in ( GtkIMContext * context)

◆ gtk_im_context_focus_out()

GDK_AVAILABLE_IN_ALL void gtk_im_context_focus_out ( GtkIMContext * context)

◆ gtk_im_context_get_preedit_string()

GDK_AVAILABLE_IN_ALL void gtk_im_context_get_preedit_string ( GtkIMContext * context,
char ** str,
PangoAttrList ** attrs,
int * cursor_pos )

◆ gtk_im_context_get_surrounding()

gboolean gtk_im_context_get_surrounding ( GtkIMContext * context,
char ** text,
int * cursor_index )

◆ gtk_im_context_get_surrounding_with_selection()

GDK_AVAILABLE_IN_4_2 gboolean gtk_im_context_get_surrounding_with_selection ( GtkIMContext * context,
char ** text,
int * cursor_index,
int * anchor_index )

◆ gtk_im_context_get_type()

GDK_AVAILABLE_IN_ALL GType gtk_im_context_get_type ( void )

◆ gtk_im_context_reset()

GDK_AVAILABLE_IN_ALL void gtk_im_context_reset ( GtkIMContext * context)

◆ gtk_im_context_set_client_widget()

GDK_AVAILABLE_IN_ALL void gtk_im_context_set_client_widget ( GtkIMContext * context,
GtkWidget * widget )

◆ gtk_im_context_set_cursor_location()

GDK_AVAILABLE_IN_ALL void gtk_im_context_set_cursor_location ( GtkIMContext * context,
const GdkRectangle * area )

◆ gtk_im_context_set_surrounding()

void gtk_im_context_set_surrounding ( GtkIMContext * context,
const char * text,
int len,
int cursor_index )

◆ gtk_im_context_set_surrounding_with_selection()

GDK_AVAILABLE_IN_4_2 void gtk_im_context_set_surrounding_with_selection ( GtkIMContext * context,
const char * text,
int len,
int cursor_index,
int anchor_index )

◆ gtk_im_context_set_use_preedit()

GDK_AVAILABLE_IN_ALL void gtk_im_context_set_use_preedit ( GtkIMContext * context,
gboolean use_preedit )