GXimIMAttr

GXimIMAttr

Synopsis

                    GXimAttr;
struct              GXimAttrClass;
enum                GXimAttrError;
                    GXimICAttr;
struct              GXimICAttrClass;
                    GXimIMAttr;
struct              GXimIMAttrClass;
#define             G_XIM_ATTR_ERROR
#define             XNArea
#define             XNAreaNeeded
#define             XNBackground
#define             XNBackgroundPixmap
#define             XNClientWindow
#define             XNColormap
#define             XNCursor
#define             XNFilterEvents
#define             XNFocusWindow
#define             XNFontSet
#define             XNForeground
#define             XNInputStyle
#define             XNLineSpace
#define             XNPreeditAttributes
#define             XNPreeditState
#define             XNQueryInputStyle
#define             XNResetState
#define             XNSeparatorofNestedList
#define             XNSpotLocation
#define             XNStatusAttributes
#define             XNStdColormap
gboolean            g_xim_attr_attribute_is_enabled     (GXimAttr *attr,
                                                         const gchar *attribute_name);
gint                g_xim_attr_get_attribute_id         (GXimAttr *attr,
                                                         const gchar *attribute_name);
gchar *             g_xim_attr_get_attribute_name       (GXimAttr *attr,
                                                         gint attribute_id);
GQuark              g_xim_attr_get_error_quark          (void);
GType               g_xim_attr_get_gtype_by_id          (GXimAttr *attr,
                                                         gint attribute_id);
GType               g_xim_attr_get_gtype_by_name        (GXimAttr *attr,
                                                         const gchar *attribute_name);
guint               g_xim_attr_get_n_supported_attributes
                                                        (GXimAttr *attr);
GSList *            g_xim_attr_get_supported_attributes (GXimAttr *attr);
gpointer            g_xim_attr_get_value_by_id          (GXimAttr *attr,
                                                         gint attribute_id);
gpointer            g_xim_attr_get_value_by_name        (GXimAttr *attr,
                                                         const gchar *attribute_name);
void                g_xim_attr_set_raw_attr             (GXimAttr *attr,
                                                         GXimRawAttr *raw);
GXimICAttr *        g_xim_ic_attr_new                   (const gchar *attrs);
const GXimStyles *  g_xim_im_attr_get_input_styles      (GXimIMAttr *attr);
GXimIMAttr *        g_xim_im_attr_new                   (const gchar *attrs);
void                g_xim_im_attr_set_input_styles      (GXimIMAttr *attr,
                                                         GXimStyles *style);

Object Hierarchy

  GObject
   +----GXimAttr
         +----GXimICAttr
         +----GXimIMAttr
  GObject
   +----GXimAttr
         +----GXimICAttr
  GObject
   +----GXimAttr
         +----GXimIMAttr

Properties

  "attrs-enabled"            GStrv                 : Read / Write
  "area"                     GXimRectangle*        : Read / Write
  "areaNeeded"               GXimRectangle*        : Read / Write
  "background"               gulong                : Read / Write
  "backgroundPixmap"         gulong                : Read / Write
  "clientWindow"             GdkWindow*            : Read / Write
  "colorMap"                 gulong                : Read / Write
  "cursor"                   gulong                : Read / Write
  "filterEvents"             gulong                : Read / Write
  "focusWindow"              GdkWindow*            : Read / Write
  "fontSet"                  GXimFontSet*          : Read / Write
  "foreground"               gulong                : Read / Write
  "inputStyle"               gulong                : Read / Write
  "lineSpace"                gulong                : Read / Write
  "preeditAttributes"        NESTEDLIST*           : Read / Write
  "preeditState"             gulong                : Read / Write
  "resetState"               gulong                : Read / Write
  "separatorofNestedList"    SeparatorofNestedList*  : Read / Write
  "spotLocation"             GXimPoint*            : Read / Write
  "statusAttributes"         NESTEDLIST*           : Read / Write
  "stdColorMap"              gulong                : Read / Write
  "queryInputStyle"          GXimStyles*           : Read / Write

Description

Details

GXimAttr

typedef struct _GXimAttr GXimAttr;

An abstract implementation of XIM Attributes class


struct GXimAttrClass

struct GXimAttrClass {
	GObjectClass  parent_class;

	GSList   * (* get_supported_attributes) (GXimAttr           *attr);
};


enum GXimAttrError

enum GXimAttrError {
	G_XIM_ATTR_ERROR_BEGIN = 128,
	G_XIM_ATTR_ERROR_NO_SUCH_PROPERTY,
	G_XIM_ATTR_ERROR_UNABLE_TO_CONVERT_TYPE,
};


GXimICAttr

typedef struct _GXimICAttr GXimICAttr;

An implementation of XIM IC Attributes class


struct GXimICAttrClass

struct GXimICAttrClass {
	GXimAttrClass  parent_class;
};


GXimIMAttr

typedef struct _GXimIMAttr GXimIMAttr;

An implementation of XIM IM Attributes class


struct GXimIMAttrClass

struct GXimIMAttrClass {
	GXimAttrClass  parent_class;
};


G_XIM_ATTR_ERROR

#define G_XIM_ATTR_ERROR		(g_xim_attr_get_error_quark())


XNArea

#define XNArea				"area"


XNAreaNeeded

#define XNAreaNeeded			"areaNeeded"


XNBackground

#define XNBackground			"background"


XNBackgroundPixmap

#define XNBackgroundPixmap		"backgroundPixmap"


XNClientWindow

#define XNClientWindow			"clientWindow"


XNColormap

#define XNColormap			"colorMap"


XNCursor

#define XNCursor			"cursor"


XNFilterEvents

#define XNFilterEvents			"filterEvents"


XNFocusWindow

#define XNFocusWindow			"focusWindow"


XNFontSet

#define XNFontSet			"fontSet"


XNForeground

#define XNForeground			"foreground"


XNInputStyle

#define XNInputStyle			"inputStyle"


XNLineSpace

#define XNLineSpace			"lineSpace"


XNPreeditAttributes

#define XNPreeditAttributes		"preeditAttributes"


XNPreeditState

#define XNPreeditState			"preeditState"


XNQueryInputStyle

#define XNQueryInputStyle		"queryInputStyle"


XNResetState

#define XNResetState			"resetState"


XNSeparatorofNestedList

#define XNSeparatorofNestedList		"separatorofNestedList"


XNSpotLocation

#define XNSpotLocation			"spotLocation"


XNStatusAttributes

#define XNStatusAttributes		"statusAttributes"


XNStdColormap

#define XNStdColormap			"stdColorMap"


g_xim_attr_attribute_is_enabled ()

gboolean            g_xim_attr_attribute_is_enabled     (GXimAttr *attr,
                                                         const gchar *attribute_name);


g_xim_attr_get_attribute_id ()

gint                g_xim_attr_get_attribute_id         (GXimAttr *attr,
                                                         const gchar *attribute_name);


g_xim_attr_get_attribute_name ()

gchar *             g_xim_attr_get_attribute_name       (GXimAttr *attr,
                                                         gint attribute_id);


g_xim_attr_get_error_quark ()

GQuark              g_xim_attr_get_error_quark          (void);


g_xim_attr_get_gtype_by_id ()

GType               g_xim_attr_get_gtype_by_id          (GXimAttr *attr,
                                                         gint attribute_id);


g_xim_attr_get_gtype_by_name ()

GType               g_xim_attr_get_gtype_by_name        (GXimAttr *attr,
                                                         const gchar *attribute_name);


g_xim_attr_get_n_supported_attributes ()

guint               g_xim_attr_get_n_supported_attributes
                                                        (GXimAttr *attr);


g_xim_attr_get_supported_attributes ()

GSList *            g_xim_attr_get_supported_attributes (GXimAttr *attr);


g_xim_attr_get_value_by_id ()

gpointer            g_xim_attr_get_value_by_id          (GXimAttr *attr,
                                                         gint attribute_id);


g_xim_attr_get_value_by_name ()

gpointer            g_xim_attr_get_value_by_name        (GXimAttr *attr,
                                                         const gchar *attribute_name);


g_xim_attr_set_raw_attr ()

void                g_xim_attr_set_raw_attr             (GXimAttr *attr,
                                                         GXimRawAttr *raw);


g_xim_ic_attr_new ()

GXimICAttr *        g_xim_ic_attr_new                   (const gchar *attrs);


g_xim_im_attr_get_input_styles ()

const GXimStyles *  g_xim_im_attr_get_input_styles      (GXimIMAttr *attr);


g_xim_im_attr_new ()

GXimIMAttr *        g_xim_im_attr_new                   (const gchar *attrs);


g_xim_im_attr_set_input_styles ()

void                g_xim_im_attr_set_input_styles      (GXimIMAttr *attr,
                                                         GXimStyles *style);

Property Details

The "attrs-enabled" property

  "attrs-enabled"            GStrv                 : Read / Write

XIM Attributes allowed to use.


The "area" property

  "area"                     GXimRectangle*        : Read / Write

area.


The "areaNeeded" property

  "areaNeeded"               GXimRectangle*        : Read / Write

areaNeeded.


The "background" property

  "background"               gulong                : Read / Write

background.


The "backgroundPixmap" property

  "backgroundPixmap"         gulong                : Read / Write

backgroundPixmap.


The "clientWindow" property

  "clientWindow"             GdkWindow*            : Read / Write

clientWindow.


The "colorMap" property

  "colorMap"                 gulong                : Read / Write

colorMap.


The "cursor" property

  "cursor"                   gulong                : Read / Write

cursor.


The "filterEvents" property

  "filterEvents"             gulong                : Read / Write

filterEvents.


The "focusWindow" property

  "focusWindow"              GdkWindow*            : Read / Write

focusWindow.


The "fontSet" property

  "fontSet"                  GXimFontSet*          : Read / Write

fontSet.


The "foreground" property

  "foreground"               gulong                : Read / Write

foreground.


The "inputStyle" property

  "inputStyle"               gulong                : Read / Write

inputStyle.


The "lineSpace" property

  "lineSpace"                gulong                : Read / Write

lineSpace.


The "preeditAttributes" property

  "preeditAttributes"        NESTEDLIST*           : Read / Write

preeditAttributes.


The "preeditState" property

  "preeditState"             gulong                : Read / Write

preeditState.


The "resetState" property

  "resetState"               gulong                : Read / Write

resetState.


The "separatorofNestedList" property

  "separatorofNestedList"    SeparatorofNestedList*  : Read / Write

separatorofNestedList.


The "spotLocation" property

  "spotLocation"             GXimPoint*            : Read / Write

spotLocation.


The "statusAttributes" property

  "statusAttributes"         NESTEDLIST*           : Read / Write

statusAttributes.


The "stdColorMap" property

  "stdColorMap"              gulong                : Read / Write

stdColorMap.


The "queryInputStyle" property

  "queryInputStyle"          GXimStyles*           : Read / Write

queryInputStyle.