[Uim] Using Subwindow & IM Specific widget.
Kazuki Ohta
mover at hct.zaq.ne.jp
Mon Dec 13 06:49:56 EET 2004
Hi, Hiroyuki.
Thank you for your reply:-)
> > 2. Add variable to candidate data struct
> > struct uim_candidate_ {
> > char *str; /* candidate */
> > char *heading_label;
> > char *annotation;
> >
> > char *subwindow_data;
> > };
>
> I prefer this. But use annotation member instead of adding new member.
OK. I've added "char *annotation" member to this struct, and also added the
new public function called "uim_candidate_get_annotation_str".
But please notice. The way I proposed first seems to be smart in implementing
the feature of looking up the word dictionary. Looking up is done by pressing
a key (for example, <end> key), so if we implement this feature in uim-core
level, we need the way to activate subwindow by IM Engine)
> > And the Komatsu-san, the author of PRIME also requested to use the
> > widget for registering the words to the dictionary. This is
> > IM-specific widget, so creating public API for this purpose is a bit
> > odd. So I suppose excuting other APP like this seems good for me.
> >
> > (im-activate-widget "prime-dictregister-dialog" "args")
> > (im-deactivate-widget "prime-dictregister-dialog")
>
> Basically OK, but
>
> - the word 'widget' is confusing
> - deacticate wouldn't need.
> I think simple scheme interface for execl is enough.
I agree with you.
But there may be other solution...I'm thinking now...
--
---------------------------------
Move the worl:D!
Kazuki Ohta : mover at hct.zaq.ne.jp
More information about the uim
mailing list