gtk2/modules/input
Carlos Garnacho 965a85a0d3 imwayland: Fix typo in code
To find the middle of the string, we should check both cursor/anchor.
This is actually a backport of commit 8fc360dac5 in master.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/2522
2020-03-18 16:59:58 +01:00
..
gtk-text-input.xml modules: Add wayland IM implementation 2018-02-14 14:58:06 +01:00
gtkimcontextime.c Win32 IME fixes 2019-09-06 20:45:45 +02:00
gtkimcontextime.h input/IME: Defer the emit of the "commit" signal 2017-10-30 14:33:23 +08:00
gtkimcontextmultipress.c
gtkimcontextmultipress.h
gtkimcontextthai.c modules/input/gtkimcontextthai: Remove deprecated gdk_beep 2018-07-20 15:39:49 +09:00
gtkimcontextthai.h
gtkimcontextxim.c Ensure we have a client window before using it 2019-11-16 20:57:43 +00:00
gtkimcontextxim.h
im-multipress.conf
imam-et.c
imbroadway.c
imcedilla.c
imcyrillic-translit.c
imime.c
iminuktitut.c
imipa.c
imm-extra.h
immultipress.c
imquartz.c Hide Objective-C from outside GdkQuartz. 2019-06-22 13:37:46 -07:00
imthai.c
imti-er.c
imti-et.c
imviqr.c Do not use VIQR input method for vi locale by default 2019-11-16 20:16:55 +00:00
imwayland.c imwayland: Fix typo in code 2020-03-18 16:59:58 +01:00
imwaylandgtk.c imwayland: Honour len argument in gtk_im_context_wayland_set_surrounding 2020-03-16 16:36:30 +01:00
imxim.c
Makefile.am Use wayland-scanner private-code in autotools build 2020-01-09 19:15:46 -08:00
meson.build meson: ensure plugins have so extension on macOS 2019-10-11 08:55:12 +01:00
README.multipress
text-input-unstable-v3.xml imwayland: Add text-input-unstable-v3 support 2018-07-30 20:27:22 +02:00
thai-charprop.c
thai-charprop.h

*** Introduction

This is a GTK+ input method which allows text entry via the multi-press method, 
as on a mobile phone. When this has been installed, you can choose the "Multipress" 
menu item from the "Input Methods" submenu when right-clicking in a GTK+ text entry 
area. 

For instance:
- press a to get a, then wait 1 second for the character to be accepted.
or
- press dd to get e, then wait 1 second for the character to be accepted.
or
- press ad to get ad, then wait 1 second for the d character to be accepted.


*** Configuration

Edit the im-multipress.conf to define the keypresses needed to input particular characters.
This file is in GKeyFile-format, and contains explanatory comments.


*** Per-widget deactivation

When the input method is active (either by choosing it from the context menu, or 
by defining the default language as "*" in immultipress.c), the multipress 
behaviour can be turned off for individual widgets, like so:

  g_object_set_data(G_OBJECT(yourwidget), "multipress-passthrough-flag", GINT_TO_POINTER(1));


For a C++ gtkmm project, you could make a convenience function to do this. For instance:

  void multipress_deactivate(Gtk::Widget& widget)
  {
    static const Glib::Quark quark ("multipress-passthrough-flag");
    widget.set_data(quark, GINT_TO_POINTER(1));
  }

*** Contact

Please contact Openismus for assistance with this input method. You can email murrayc@openismus.com

Copyright 2006-2007, Openismus GmbH