[Uim] How to turn on the input method as soon as the uc is created?
TOKUNAGA Hiroyuki
tkng at xem.jp
Sun Jul 11 10:06:58 EEST 2004
Hi,
On Sun, 11 Jul 2004 15:42:47 +1000
Paul.Hampson at anu.edu.au (Paul Hampson) wrote:
> > Maybe I understand what you are saying. You saw the problem as "SCIM
> > (or something other softwares) shouldn't know uim's private data
> > structure, and so on." Is my guess right?
>
> > The problem here is not data structure (I think). Yusuke's belief is
> > "We shouldn't assume each IM has on/off state. Maybe such state
> > exist, but it should be treated as private data and be changed from
Sorry, it's wrong. I wanted to write "but it should be treated as private
data and *should not* be changed from"
> > outside." His main opinion is about treatment of private data, not
> > how to export private data to outside.
>
> > Personally, I'm thinking that maybe we should treat this state as
> > public. (Now I cannot draw a conclusion.)
>
> Do all UIM input methods have an on/off state? I noticed that in
> SCIM, _English_ had an on-off state, with no appreciable change.
No, several IMs of uim don't have on-off state. E.G. uim-anthy has mode
state and preedit state, but has no on-off state.
> I guess I think helpers are not be more priveliged than anything
> else, so if they know the state of the IM, surely any other can?
Yes, you are right.
> Maybe we do need to define a public state interface to go with a
> public control interface?
Maybe. And, maybe we shold distinct on-off state and other states.
> I must say what I'm missing from the API (I haven't read the new
> API changes yet...) is a way of querying the current mode... The
> GTK helper has a '?' until you change modes, and for today's new
That's a bug. Current mode should be shown immediately if you exec
helper-toolbar.
> window manager (WMI :-) I don't have a systray of icons, instead
> I have an area I can put text into... So I want to display UIM's
> current mode there... (Once I also fix the multinationalisation!)
I think that's interesting but unconcerned here. If you create new
thread about that, I'll join the discussion.
Regards,
--
TOKUNAGA Hiroyuki
http://kodou.net/
More information about the uim
mailing list