summaryrefslogtreecommitdiff
path: root/FL/Fl.H
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-09-15 09:44:35 +0000
committerPierre Ossman <ossman@cendio.se>2014-09-15 09:44:35 +0000
commit1c7409e0a12765282a121779ac59168c94de6ef5 (patch)
tree7d3a5327dfef685e61f720c63ae2612ed5ab0b29 /FL/Fl.H
parent5101a8ea1c74729d6416278f043ec0de877706fe (diff)
Add methods to enable and disable the system's input methods.
This needs to be done from FLTK as it affects the window interaction, which FLTK is largely responsible for. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10314 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl.H')
-rw-r--r--FL/Fl.H11
1 files changed, 11 insertions, 0 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index 67de3a9bf..b469018aa 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -757,6 +757,17 @@ public:
static int event_inside(const Fl_Widget*);
static int test_shortcut(Fl_Shortcut);
+ /**
+ Enables the system input methods facilities. This is the default.
+ \see disable_im()
+ */
+ static void enable_im();
+ /**
+ Disables the system input methods facilities.
+ \see enable_im()
+ */
+ static void disable_im();
+
// event destinations:
static int handle(int, Fl_Window*);
static int handle_(int, Fl_Window*);