I'm in the process of trying to write a small C/C++ program to simply read
the current im_name from uim (or listen for changes and update
automatically), but I can't for the life of me figure out what's necessary
for doing so.  I've been reading through the uim-fep source code (since it's
closest to the program I want to write).  Can anyone point me towards
documentation on how to access uim and the current input method?  Failing
that, would anyone care to list the functions required to simply watch uim
and get the current input method?

To clarify what exactly I want to do: I'm running XMonad without a system
tray, and I'd like to have an indicator of some sort as to what input method
is currently selected.  Ideally I'd like to simply print "JP" or "EN",
possibly using the symbols that uim tends to use.  I'll be running the
program in conky and piping conky into dzen.

Thanks in advance for any further information!c

-- 
Google Groups "uim-en" group
uim-en@googlegroups.com
http://groups.google.com/group/uim-en/about

Reply via email to