libgxim Reference Manual | ||||
---|---|---|---|---|
#define G_XIM_TRANSPORT_SIZE #define G_XIM_TRANSPORT_MAX GXimTransportIface; GXimTransportPrivate; enum GXimDirection; void g_xim_transport_init (GXimTransport *trans); void g_xim_transport_finalize (GXimTransport *trans); GXimTransportPrivate* g_xim_transport_get_private (GXimTransport *trans); void g_xim_transport_destroy (GXimTransport *trans); void g_xim_transport_set_version (GXimTransport *trans, guint8 major_version, guint8 minor_version); gboolean g_xim_transport_get_version (GXimTransport *trans, guint8 *major_version, guint8 *minor_version); void g_xim_transport_set_transport_size (GXimTransport *trans, gsize size); gsize g_xim_transport_get_transport_size (GXimTransport *trans); void g_xim_transport_set_transport_max (GXimTransport *trans, gsize size); gsize g_xim_transport_get_transport_max (GXimTransport *trans); void g_xim_transport_set_display (GXimTransport *trans, GdkDisplay *dpy); GdkDisplay* g_xim_transport_get_display (GXimTransport *trans); GdkAtom g_xim_transport_get_atom (GXimTransport *trans); void g_xim_transport_set_client_window (GXimTransport *trans, GdkNativeWindow client_window); GdkNativeWindow g_xim_transport_get_client_window (GXimTransport *trans); GdkNativeWindow g_xim_transport_get_native_channel (GXimTransport *trans); GdkNativeWindow g_xim_transport_get_native_channel_from (GXimTransport *trans, gpointer drawable); GdkWindow* g_xim_transport_get_channel (GXimTransport *trans, GdkWindow *parent_window); gboolean g_xim_transport_send_via_property (GXimTransport *trans, const gchar *data, gsize length); gboolean g_xim_transport_send_via_cm (GXimTransport *trans, const gchar *data, gsize length, gsize threshold); gboolean g_xim_transport_send_via_property_notify (GXimTransport *trans, const gchar *data, gsize length); void g_xim_transport_set_direction (GXimTransport *trans, GXimDirection direction); GXimDirection g_xim_transport_get_direction (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); void g_xim_transport_dump (GXimTransport *trans, const gchar *data, gsize length, gboolean is_sent);
typedef struct { GTypeInterface parent_iface; GXimMessage *message; GdkAtom atom_xim_protocol; GdkAtom atom_xim_moredata; } GXimTransportIface;
typedef struct { GdkDisplay *display; GdkWindow *comm_window; GHashTable *prop_offset; GdkAtom atom_comm; GdkNativeWindow client_window; gsize transport_size; gsize transport_max; GXimDirection direction; guint8 major_version; guint8 minor_version; } GXimTransportPrivate;
GXimTransportPrivate* g_xim_transport_get_private (GXimTransport *trans);
|
|
Returns : |
void g_xim_transport_set_version (GXimTransport *trans, guint8 major_version, guint8 minor_version);
|
|
|
|
|
gboolean g_xim_transport_get_version (GXimTransport *trans, guint8 *major_version, guint8 *minor_version);
|
|
|
|
|
|
Returns : |
void g_xim_transport_set_transport_size (GXimTransport *trans, gsize size);
|
|
|
gsize g_xim_transport_get_transport_size (GXimTransport *trans);
|
|
Returns : |
void g_xim_transport_set_transport_max (GXimTransport *trans, gsize size);
|
|
|
gsize g_xim_transport_get_transport_max (GXimTransport *trans);
|
|
Returns : |
void g_xim_transport_set_display (GXimTransport *trans, GdkDisplay *dpy);
|
|
|
GdkDisplay* g_xim_transport_get_display (GXimTransport *trans);
|
|
Returns : |
GdkAtom g_xim_transport_get_atom (GXimTransport *trans);
|
|
Returns : |
void g_xim_transport_set_client_window (GXimTransport *trans, GdkNativeWindow client_window);
|
|
|
GdkNativeWindow g_xim_transport_get_client_window (GXimTransport *trans);
|
|
Returns : |
GdkNativeWindow g_xim_transport_get_native_channel (GXimTransport *trans);
|
|
Returns : |
GdkNativeWindow g_xim_transport_get_native_channel_from (GXimTransport *trans, gpointer drawable);
|
|
|
|
Returns : |
GdkWindow* g_xim_transport_get_channel (GXimTransport *trans, GdkWindow *parent_window);
|
|
|
|
Returns : |
gboolean g_xim_transport_send_via_property (GXimTransport *trans, const gchar *data, gsize length);
|
|
|
|
|
|
Returns : |
gboolean g_xim_transport_send_via_cm (GXimTransport *trans, const gchar *data, gsize length, gsize threshold);
|
|
|
|
|
|
|
|
Returns : |
gboolean g_xim_transport_send_via_property_notify (GXimTransport *trans, const gchar *data, gsize length);
|
|
|
|
|
|
Returns : |
void g_xim_transport_set_direction (GXimTransport *trans, GXimDirection direction);
|
|
|
GXimDirection g_xim_transport_get_direction (GXimTransport *trans);
|
|
Returns : |
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);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |