diff options
author | Huang Peng <shawn.p.huang@gmail.com> | 2008-06-25 20:24:31 +0800 |
---|---|---|
committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-06-25 20:24:31 +0800 |
commit | 5aa529e3e975f4c5f1fc2968b8aa748475d72de4 (patch) | |
tree | 5c878c21895d08ac02c776865fe41ce534805762 /ibus/interface | |
parent | ddf5afabb2489de425c9a51f08c79e4ba0f57ada (diff) | |
download | ibus-5aa529e3e975f4c5f1fc2968b8aa748475d72de4.tar.gz ibus-5aa529e3e975f4c5f1fc2968b8aa748475d72de4.tar.xz ibus-5aa529e3e975f4c5f1fc2968b8aa748475d72de4.zip |
WIP.
Diffstat (limited to 'ibus/interface')
-rw-r--r-- | ibus/interface/iibus.py | 3 | ||||
-rw-r--r-- | ibus/interface/ipanel.py | 21 |
2 files changed, 18 insertions, 6 deletions
diff --git a/ibus/interface/iibus.py b/ibus/interface/iibus.py index 476401b..df79b36 100644 --- a/ibus/interface/iibus.py +++ b/ibus/interface/iibus.py @@ -88,6 +88,9 @@ class IIBus (dbus.service.Object): @method (in_signature = "o") def SetFactory (self, factory_path, dbusconn): pass + @method (in_signature = "s", out_signature = "ob") + def GetInputContextStates (self, ic, dbusconn): pass + #sigals def CommitString (self, ic, text): pass diff --git a/ibus/interface/ipanel.py b/ibus/interface/ipanel.py index 5b830a8..1953bf0 100644 --- a/ibus/interface/ipanel.py +++ b/ibus/interface/ipanel.py @@ -41,22 +41,22 @@ class IPanel (dbus.service.Object): dbus.service.method (dbus_interface = IBUS_PANE_IFACE, \ async_callbacks = ("reply_cb", "error_cb"), \ **args) - @method (in_signature="iiii") + @method (in_signature = "iiii") def SetCursorLocation (self, x, y, w, h): pass - @method (in_signature="svub") + @method (in_signature = "svub") def UpdatePreedit (self, text, attrs, cursor_pos, visible): pass - @method (in_signature="svb") + @method (in_signature = "svb") def UpdateAuxString (self, text, attrs, visible): pass - @method (in_signature="vb") + @method (in_signature = "vb") def UpdateLookupTable (self, lookup_table, visible): pass - @method (in_signature="v") + @method (in_signature = "v") def RegisterProperties (self, props): pass - @method (in_signature="v") + @method (in_signature = "v") def UpdateProperty (self, prop): pass @method () @@ -65,6 +65,15 @@ class IPanel (dbus.service.Object): @method () def HideLanguageBar (self): pass + @method (in_signature = "s") + def FocusIn (self, ic): pass + + @method (in_signature = "s") + def FocusOut (self, ic): pass + + @method () + def StatesChanged (self): pass + @method () def Reset (self): pass |