summaryrefslogtreecommitdiffstats
path: root/ibus/inputcontext.py
diff options
context:
space:
mode:
Diffstat (limited to 'ibus/inputcontext.py')
-rw-r--r--ibus/inputcontext.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ibus/inputcontext.py b/ibus/inputcontext.py
index 10233da..c9aa634 100644
--- a/ibus/inputcontext.py
+++ b/ibus/inputcontext.py
@@ -197,6 +197,12 @@ class InputContext(object.Object):
def reset(self):
return self.__context.Reset()
+ def enable(self):
+ return self.__context.Enable()
+
+ def disable(self):
+ return self.__context.Disable()
+
def is_enabled(self):
return self.__context.IsEnabled()