GDK Reference Manualmask : a GdkICAttributesType mask specifying which of the attributes in attr are set. Returns : a GdkICAttributesType mask indicating which of the attributes were not set successfully. struct GdkICAttr
The GdkICAttr struct is used when getting and setting attributes of the input context. It is used together with a GdkICAttributesType mask which specifies which of the fields are being set or returned. GdkIMStyle style the pre-edit and status style. This attribute is required when creating the GdkIC, and cannot be changed. GdkWindow *client_window the GdkWindow in which the input method will display its pre-edit and status areas or create subwindows. The preedit_area and status_area attributes are specified relative to this window. This attribute is required when creating the GdkIC, and cannot be changed. GdkWindow *focus_window the GdkWindow which is to be used when editing text. gdk_im_begin() sets this attribute before starting the text input process, so it is normally not necessary to set it elsewhere. GdkEventMask filter_events the mask of events that the input method requires. See the gdk_ic_get_events() function. This attribute is read-only and is never changed. GdkPoint spot_location the position of the insertion cursor, for use with the GDK_IM_PREEDIT_POSITION style. The y coordinate specifies the baseline of the text. gint line_spacing the line spacing to be used in the pre-edit and status areas when displaying multi-line text. GdkCursor *cursor the cursor to use in the input method's windows. If this attribute isn't set it is determined by the input method. GdkFont *preedit_fontset the font to use for the pre-edit area. If this attribute isn't set it is determined by the input method. GdkRectangle preedit_area the area in which the input method will display pre-editing data, used for the GDK_IM_PREEDIT_POSITION and GDK_IM_PREEDIT_AREA styles. GdkRectangle preedit_area_needed the area that the input method requests for displaying pre-editing data, used for the GDK_IM_PREEDIT_POSITION and GDK_IM_PREEDIT_AREA styles. GdkColor preedit_foreground the foreground color to use for the pre-edit area. This color must already be allocated in the preedit_colormap. If this attribute isn't set it is determined by the input method. GdkColor preedit_background the background color to use for the pre-edit area. This color must already be allocated in the preedit_colormap. If this attribute isn't set it is determined by the input method. GdkPixmap *preedit_pixmap the background pixmap to use for the pre-edit area. If this attribute isn't set it is determined by the input method. GdkColormap *preedit_colormap the colormap the input method should use to allocate colors. The default value is the colormap of client_window. GdkFont *status_fontset the font to use for the status area. If this attribute isn't set it is determined by the input method. GdkRectangle status_area the are that the input method will display status information in. This is used for the GDK_IM_STATUS_AREA style. GdkRectangle status_area_needed the size that the input method requests for displaying status information, for the GDK_IM_STATUS_AREA style. GdkColor status_foreground the foreground color to use for the status area. This color must already be allocated in the status_colormap. If this attribute isn't set it is determined by the input method. GdkColor status_background the background color to use for the status area. This color must already be allocated in the status_colormap. If this attribute isn't set it is determined by the input method. GdkPixmap *status_pixmap the background pixmap to use for the status area. If this attribute isn't set it is determined by the input method. GdkColormap *status_colormap the colormap the input method should use to allocate colors. The default value is the colormap of client_window. enum GdkICAttributesType
|