To separate GUI toolkit dependent part and independent part,
uim-xim uses external helper program to show candidate selection window.
This file describes the communication protocol between uim-xim and helper.

uim-helper-candwin-[xaw|gtk|qt] is called from uim-xim and recieves message from uim via pipe.

Message format:
  "$command\n$messages\n\n"
   $command: [ activate | select | move | show | hide | deactivate ]
   $messages: show below.
 
  1. activate
    usage: activating the candidate window and add candidates to it. The order of candidates must be as is.
    example: activate\ncharset=EUC-JP\ncand1\ncand2\ncand3\n
 
  2. select
    usage: selecting the specified candidate
    example: select\n$num\n

  3. move
    usage: moving to the Point (XPos, YPos)
    example: move\n$XPos\n$YPos
 
  4. show
    usage: showing the candidate window
    example: show\n
 
  5. hide
    usage: hiding the candidate window
    example: hide\n

  6. deactivate
    usage: deactivating the candidate window
    example: deactivate\n

