The GdkICAttributesType contains a set of bit-flags which are used to specify which of the attributes in a GdkICAttr are being set or returned.
It also contains several combinations of the flags which specify required attributes for the various styles:
GDK_IC_ALL_REQ:
the set of attributes required for all styles.
GDK_IC_PREEDIT_AREA_REQ:
the set of additional attributes required for the GDK_IM_PREEDIT_AREA pre-edit style.
GDK_IC_PREEDIT_POSITION_REQ:
the set of additional attributes required for the GDK_IM_PREEDIT_POSITION pre-edit style.
GDK_IC_STATUS_AREA_REQ:
the set of additional attributes required for the GDK_IM_STATUS_AREA status style.
|
Creates a new GdkICAttr struct, with all fields set to 0. The GdkICAttr struct should be freed with gdk_ic_attr_destroy() when no longer needed.
Returns : a new GdkICAttr struct.
|
Destroys the given GdkICAttr struct, freeing the allocated memory.
attr : a GdkICAttr struct.