/* Supported Inputstyles */
//Chinput now support all input styles. It will adjust the input style
//automatically according to the client request.

//GTK
//global command line settings for gtk base applications
//--xim-preedit=[none|nothing|area|position|callbacks]
//--xim-status=[none|nothing|area|callbacks]
//Only OverTheSpot and Root implemented

//QT-1.44-i18n
//global command line setting for qt based applications
//-inputstyle [overthespot|offthespot|root]
//OVERTHESPOT: XIMPreeditPosition | XIMStatusNothing;
//OFFTHESPOT:  XIMPreeditArea | XIMStatusArea;
//ROOT:        XIMPreeditNothing | XIMStatusNothing;


// Motif's Style Selection
//global X resource
//*preeditType: [OverTheSpot|OffTheSpot|Root|OnTheSpot]
//OVERTHESPOT: XIMPreeditPosition, XIMStatusArea|XIMStatusNothing|XIMStatusNone
//OFFTHESPOT:  XIMPreeditArea, XIMStatusArea|XIMStatusNothing|XIMStatusNone
//ROOT:        XIMPreeditNothing, XIMStatusNothing|XIMStatusNone
//ONTHESPOT:   XIMPreeditCallbacks, XIMStatusArea|XIMStatusNothing|XIMStatusNone

// LessTif-0.90.1 - i18ned
//OVERSPOT:    XIMPreeditPosition XIMStatusArea
//OFFTHESPOT:  XIMPreeditArea, XIMStatusArea
//ROOT:        XIMPreeditNothing, XIMStatusNothing


//Java, awt part based on Motif
//global X resource
//*preeditType: [OverTheSpot|OffTheSpot|Root|OnTheSpot]
//ONTHESPOT:   XIMPreeditCallbacks, XIMStatusArea|XIMStatusNothing
//ROOT:        XIMXIMPreeditNothing, XIMStatusNothing (fallback)

//tcltk-8.0-jp -ized.
//OVERTHESPOT: XIMPreeditPosition, [XIMStatusArea|XIMStatusNothing]
//OFFTHESPOT:  XIMPreeditArea, XIMStatusArea
//ROOT:        XIMPreeditNothing, XIMStatusNothing


//rxvt's Style Selection
//rxvt -im Chinput -km [gb|big5] -pt [OverTheSpot|OffTheSpot|Root]
//OverTheSpot: XIMPreeditPosition,  XIMStatusNothing
//OffTheSpot:  XIMPreeditArea,  XIMStatusArea
//Root:        XIMPreeditNothing,  XIMStatusNothing

//Netscape's style
//in Netscape.ad
//*inputMethod: Chinput
//*preeditType: OverTheSpot(default)
//Root:	       XIMPreeditPosition,  XIMStatusNothing
//OverTheSpot: XIMPreeditPosition, XIMStatusArea	(the default)


//Mozilla's styles
//OnTheSpot, OverTheSpot, Root
//Chosen from (preedit)
//	GDK_IM_PREEDIT_CALLBACKS, GDK_IM_PREEDIT_POSITION, GDK_IM_PREEDIT_NOTHING, GDK_IM_PREEDIT_NONE
//and (stauts)
//	GDK_IM_STATUS_CALLBACKS, GDK_IM_STATUS_NOTHING, GDK_IM_STATUS_NONE
//in ~/.mozilla/$profile/pref.js:
//user_pref("xim.input_policy", "per-widget");	//per-widget | per-shell
//user_pref("xim.input_style", "on-the-spot");	//on-the-spot|over-the-spot|root
//overwrite by
//user_pref("xim.preedit.input_style", "callbacks")//callbacks|position|nothing|none
//user_pref("xim.status.input_style", "callbacks")//callbacks|nothing|none
//Mozilla's status area can be specified in resource file
//	*OverTheSpotConversion.modeLocation: bottomleft
//mozilla has some bugs:
//(1). When URL input area lost focus and reget focus, input style changed
//(2). In callbacks|callbacks style, if candidate window popup, the candidate
//     window and the status window will try to map to another's top


/* Other applications */
//lyx-1.0.3
//Combination: of XIMPreeditPosition,XIMPreeditNothing
//            and XIMStatusArea,XIMStatusNothing

//xfig  i18n patched
//command line
//-inputStyle [OffTheSpot|OverTheSpot|Root]


