diff options
| author | Huang Peng <shawn.p.huang@gmail.com> | 2008-06-10 13:36:56 +0800 |
|---|---|---|
| committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-06-10 13:36:56 +0800 |
| commit | 91722b9e1c4a01d4f961934e6916c5f5766b9a41 (patch) | |
| tree | 729b9d8875d2f1b12e61ab4f6028b59a4e907156 /ibus/interface | |
| parent | cd8f5c99c0fd48a5c7c498b5378c1985184dd91f (diff) | |
| download | ibus-91722b9e1c4a01d4f961934e6916c5f5766b9a41.tar.gz ibus-91722b9e1c4a01d4f961934e6916c5f5766b9a41.tar.xz ibus-91722b9e1c4a01d4f961934e6916c5f5766b9a41.zip | |
Modified engine & panel interfaces.
Diffstat (limited to 'ibus/interface')
| -rw-r--r-- | ibus/interface/iengine.py | 5 | ||||
| -rw-r--r-- | ibus/interface/ipanel.py | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/ibus/interface/iengine.py b/ibus/interface/iengine.py index 8361f32..2a8043c 100644 --- a/ibus/interface/iengine.py +++ b/ibus/interface/iengine.py @@ -73,5 +73,8 @@ class IEngine (dbus.service.Object): def UpdateLookupTable (self, lookup_table, visible): pass @signal (signature="v") - def UpdateProperties (self, props): pass + def RegisterProperties (self, props): pass + + @signal (signature="v") + def UpdateProperties (self, prop): pass diff --git a/ibus/interface/ipanel.py b/ibus/interface/ipanel.py index d95b830..9b973b2 100644 --- a/ibus/interface/ipanel.py +++ b/ibus/interface/ipanel.py @@ -31,7 +31,10 @@ class IPanel (dbus.service.Object): def UpdateLookupTable (self, lookup_table, visible): pass @method (in_signature="v") - def UpdateProperties (self, props): pass + def RegisterProperties (self, props): pass + + @method (in_signature="v") + def UpdateProperty (self, prop): pass @method () def ShowLanguageBar (self): pass @@ -58,3 +61,5 @@ class IPanel (dbus.service.Object): @signal () def CursorDown (self): pass + @signal () + def PropertyTrigger (self, name): pass |
