'''tk useinputmethods''' ?'''-displayof''' ''window''? ?''boolean''? Sets and queries the state of whether Tk should use XIM (X Input Methods) for filtering events. The resulting state is returned. XIM is used in some locales (ie: Japanese, Korean), to handle special input devices. This feature is only significant on X. If XIM support is not available, this will always return 0. If the ''window'' argument is omitted, it defaults to the main window. If the ''boolean'' argument is omitted, the current state is returned. This is turned on by default for the main display. ---- [Category Command]