From 1c7409e0a12765282a121779ac59168c94de6ef5 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 15 Sep 2014 09:44:35 +0000 Subject: 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 --- FL/Fl.H | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'FL/Fl.H') 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*); -- cgit v1.2.3