diff options
author | Huang Peng <shawn.p.huang@gmail.com> | 2008-09-07 22:39:50 +0800 |
---|---|---|
committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-09-07 22:39:50 +0800 |
commit | acdcbf3bcb6d4630367ee15a706effeac6d1e397 (patch) | |
tree | 06d64b11592a7920c07f830caa0dd16d536371cd | |
parent | db47f81d0a04a079047a29e4a05a118bcbd1af0f (diff) | |
download | ibus-acdcbf3bcb6d4630367ee15a706effeac6d1e397.tar.gz ibus-acdcbf3bcb6d4630367ee15a706effeac6d1e397.tar.xz ibus-acdcbf3bcb6d4630367ee15a706effeac6d1e397.zip |
Define signals for im clients.
-rw-r--r-- | ibus/bus.py | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/ibus/bus.py b/ibus/bus.py index ae838c0..c81bb69 100644 --- a/ibus/bus.py +++ b/ibus/bus.py @@ -33,6 +33,76 @@ dbus.mainloop.glib.DBusGMainLoop(set_as_default = True) class Bus(ibus.Object): __gsignals__ = { + "commit-string" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, gobject.TYPE_STRING) + ), + "update-preedit" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_PYOBJECT, gobject.TYPE_INT, gobject.TYPE_BOOLEAN) + ), + "show-preedit" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, ) + ), + "hide-preedit" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, ) + ), + "update-aux-string" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, gobject.TYPE_PYOBJECT) + ), + "show-aux-string" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, ) + ), + "hide-aux-string" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, ) + ), + "update-lookup-table" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, gobject.TYPE_PYOBJECT, gobject.TYPE_BOOLEAN) + ), + "show-lookup-table" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, ) + ), + "hide-lookup-table" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, ) + ), + "page-up-lookup-table" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, ) + ), + "page-down-lookup-table" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, ) + ), + "cursor-up-lookup-table" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, ) + ), + "cursor-down-lookup-table" : ( + gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, + (gobject.TYPE_STRING, ) + ), "config-value-changed" : ( gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, |