GXimTransport

GXimTransport

Synopsis

enum                GXimDirection;
struct              GXimTransportIface;
#define             G_XIM_TRANSPORT_MAX
#define             G_XIM_TRANSPORT_SIZE
void                g_xim_transport_destroy             (GXimTransport *trans);
void                g_xim_transport_dump                (GXimTransport *trans,
                                                         const gchar *data,
                                                         gsize length,
                                                         gboolean is_sent);
void                g_xim_transport_finalize            (GXimTransport *trans);
GdkAtom             g_xim_transport_get_atom            (GXimTransport *trans);
GdkWindow *         g_xim_transport_get_channel         (GXimTransport *trans,
                                                         GdkWindow *parent_window);
GdkNativeWindow     g_xim_transport_get_client_window   (GXimTransport *trans);
GXimDirection       g_xim_transport_get_direction       (GXimTransport *trans);
GdkDisplay *        g_xim_transport_get_display         (GXimTransport *trans);
GdkNativeWindow     g_xim_transport_get_native_channel  (GXimTransport *trans);
GdkNativeWindow     g_xim_transport_get_native_channel_from
                                                        (GXimTransport *trans,
                                                         gpointer drawable);
GXimTransportPrivate * g_xim_transport_get_private      (GXimTransport *trans);
gboolean            g_xim_transport_get_property        (GXimTransport *trans,
                                                         GdkWindow *window,
                                                         GdkAtom property,
                                                         GdkAtom type,
                                                         gulong length,
                                                         GdkAtom *actual_property_type,
                                                         gint *actual_format,
                                                         gint *actual_length,
                                                         guchar **data);
gsize               g_xim_transport_get_transport_max   (GXimTransport *trans);
gsize               g_xim_transport_get_transport_size  (GXimTransport *trans);
gboolean            g_xim_transport_get_version         (GXimTransport *trans,
                                                         guint8 *major_version,
                                                         guint8 *minor_version);
void                g_xim_transport_init                (GXimTransport *trans);
gboolean            g_xim_transport_send_via_cm         (GXimTransport *trans,
                                                         const gchar *data,
                                                         gsize length,
                                                         gsize threshold);
gboolean            g_xim_transport_send_via_property   (GXimTransport *trans,
                                                         const gchar *data,
                                                         gsize length);
gboolean            g_xim_transport_send_via_property_notify
                                                        (GXimTransport *trans,
                                                         const gchar *data,
                                                         gsize length);
void                g_xim_transport_set_client_window   (GXimTransport *trans,
                                                         GdkNativeWindow client_window);
void                g_xim_transport_set_direction       (GXimTransport *trans,
                                                         GXimDirection direction);
void                g_xim_transport_set_display         (GXimTransport *trans,
                                                         GdkDisplay *dpy);
void                g_xim_transport_set_transport_max   (GXimTransport *trans,
                                                         gsize size);
void                g_xim_transport_set_transport_size  (GXimTransport *trans,
                                                         gsize size);
void                g_xim_transport_set_version         (GXimTransport *trans,
                                                         guint8 major_version,
                                                         guint8 minor_version);

Description

Details

enum GXimDirection

typedef enum {
	G_XIM_DIR_RIGHT = 0,
	G_XIM_DIR_LEFT
} GXimDirection;


struct GXimTransportIface

struct GXimTransportIface {
	GTypeInterface  parent_iface;

	GXimMessages   *message;
	GdkAtom         atom_xim_protocol;
	GdkAtom         atom_xim_moredata;
};


G_XIM_TRANSPORT_MAX

#define G_XIM_TRANSPORT_MAX		20


G_XIM_TRANSPORT_SIZE

#define G_XIM_TRANSPORT_SIZE		20


g_xim_transport_destroy ()

void                g_xim_transport_destroy             (GXimTransport *trans);


g_xim_transport_dump ()

void                g_xim_transport_dump                (GXimTransport *trans,
                                                         const gchar *data,
                                                         gsize length,
                                                         gboolean is_sent);


g_xim_transport_finalize ()

void                g_xim_transport_finalize            (GXimTransport *trans);


g_xim_transport_get_atom ()

GdkAtom             g_xim_transport_get_atom            (GXimTransport *trans);


g_xim_transport_get_channel ()

GdkWindow *         g_xim_transport_get_channel         (GXimTransport *trans,
                                                         GdkWindow *parent_window);


g_xim_transport_get_client_window ()

GdkNativeWindow     g_xim_transport_get_client_window   (GXimTransport *trans);


g_xim_transport_get_direction ()

GXimDirection       g_xim_transport_get_direction       (GXimTransport *trans);


g_xim_transport_get_display ()

GdkDisplay *        g_xim_transport_get_display         (GXimTransport *trans);


g_xim_transport_get_native_channel ()

GdkNativeWindow     g_xim_transport_get_native_channel  (GXimTransport *trans);


g_xim_transport_get_native_channel_from ()

GdkNativeWindow     g_xim_transport_get_native_channel_from
                                                        (GXimTransport *trans,
                                                         gpointer drawable);


g_xim_transport_get_private ()

GXimTransportPrivate * g_xim_transport_get_private      (GXimTransport *trans);


g_xim_transport_get_property ()

gboolean            g_xim_transport_get_property        (GXimTransport *trans,
                                                         GdkWindow *window,
                                                         GdkAtom property,
                                                         GdkAtom type,
                                                         gulong length,
                                                         GdkAtom *actual_property_type,
                                                         gint *actual_format,
                                                         gint *actual_length,
                                                         guchar **data);


g_xim_transport_get_transport_max ()

gsize               g_xim_transport_get_transport_max   (GXimTransport *trans);


g_xim_transport_get_transport_size ()

gsize               g_xim_transport_get_transport_size  (GXimTransport *trans);


g_xim_transport_get_version ()

gboolean            g_xim_transport_get_version         (GXimTransport *trans,
                                                         guint8 *major_version,
                                                         guint8 *minor_version);


g_xim_transport_init ()

void                g_xim_transport_init                (GXimTransport *trans);


g_xim_transport_send_via_cm ()

gboolean            g_xim_transport_send_via_cm         (GXimTransport *trans,
                                                         const gchar *data,
                                                         gsize length,
                                                         gsize threshold);


g_xim_transport_send_via_property ()

gboolean            g_xim_transport_send_via_property   (GXimTransport *trans,
                                                         const gchar *data,
                                                         gsize length);


g_xim_transport_send_via_property_notify ()

gboolean            g_xim_transport_send_via_property_notify
                                                        (GXimTransport *trans,
                                                         const gchar *data,
                                                         gsize length);


g_xim_transport_set_client_window ()

void                g_xim_transport_set_client_window   (GXimTransport *trans,
                                                         GdkNativeWindow client_window);


g_xim_transport_set_direction ()

void                g_xim_transport_set_direction       (GXimTransport *trans,
                                                         GXimDirection direction);


g_xim_transport_set_display ()

void                g_xim_transport_set_display         (GXimTransport *trans,
                                                         GdkDisplay *dpy);


g_xim_transport_set_transport_max ()

void                g_xim_transport_set_transport_max   (GXimTransport *trans,
                                                         gsize size);


g_xim_transport_set_transport_size ()

void                g_xim_transport_set_transport_size  (GXimTransport *trans,
                                                         gsize size);


g_xim_transport_set_version ()

void                g_xim_transport_set_version         (GXimTransport *trans,
                                                         guint8 major_version,
                                                         guint8 minor_version);