diff options
Diffstat (limited to 'ibus/interface')
| -rw-r--r-- | ibus/interface/iengine.py | 28 | ||||
| -rw-r--r-- | ibus/interface/ipanel.py | 15 |
2 files changed, 26 insertions, 17 deletions
diff --git a/ibus/interface/iengine.py b/ibus/interface/iengine.py index 04539be..7b7fd72 100644 --- a/ibus/interface/iengine.py +++ b/ibus/interface/iengine.py @@ -34,20 +34,20 @@ class IEngine (dbus.service.Object): @method () def Reset (self): pass - + # signals for lookup table @method () def PageUp (self): pass - + @method () def PageDown (self): pass - + @method () def CursorUp (self): pass - + @method () def CursorDown (self): pass - + @method (in_signature = "b") def SetEnable (self, enable): pass @@ -63,18 +63,24 @@ class IEngine (dbus.service.Object): @signal (signature="ubu") def ForwardKeyEvent (self, keyval, is_press, state): pass - @signal (signature="saaii") - def PreeditChanged (self, text, attrs, cursor_pos): pass + @signal (signature="saaiib") + def UpdatePreedit (self, text, attrs, cursor_pos, show): pass # below signals are optional. The engine could create and maintain panel by self. @signal (signature="v") def UpdateProperties (self, properties): pass - @signal (signature="sv") - def AuxStringChanged (self, text, attrs): pass + @signal (signature="svb") + def UpdateAuxString (self, text, attrs, show): pass - @signal (signature="v") - def UpdateLookupTable (self, lookup_table): pass + @signal () + def ShowAuxStringChanged (self): pass + + @signal () + def HideAuxStringChanged (self): pass + + @signal (signature="vb") + def UpdateLookupTable (self, lookup_table, show): pass @signal () def ShowLookupTable (self): pass diff --git a/ibus/interface/ipanel.py b/ibus/interface/ipanel.py index 618c5e3..93a8b47 100644 --- a/ibus/interface/ipanel.py +++ b/ibus/interface/ipanel.py @@ -21,8 +21,8 @@ class IPanel (dbus.service.Object): @method (in_signature="iiii") def SetCursorLocation (self, x, y, w, h): pass - @method (in_signature="svu") - def SetPreeditString (self, text, attrs, cursor_pos): pass + @method (in_signature="svub") + def UpdatePreedit (self, text, attrs, cursor_pos, show): pass @method () def ShowPreeditString (self): pass @@ -30,8 +30,8 @@ class IPanel (dbus.service.Object): @method () def HidePreeditString (self): pass - @method (in_signature="sv") - def SetAuxString (self, text, attrs): pass + @method (in_signature="svb") + def UpdateAuxString (self, text, attrs, show): pass @method () def ShowAuxString (self): pass @@ -39,8 +39,8 @@ class IPanel (dbus.service.Object): @method () def HideAuxString (self): pass - @method (in_signature="v") - def UpdateLookupTable (self, lookup_table): pass + @method (in_signature="vb") + def UpdateLookupTable (self, lookup_table, show): pass @method () def ShowCandidateWindow (self): pass @@ -55,6 +55,9 @@ class IPanel (dbus.service.Object): def HideLanguageBar (self): pass @method () + def Reste (self): pass + + @method () def Destroy (self): pass #signals |
