table of contents
Prima::Widget::BidiInput(3) | User Contributed Perl Documentation | Prima::Widget::BidiInput(3) |
NAME¶
Prima::Widget::BidiInput - heuristics for i18n input
DESCRIPTION¶
Provides the common functionality for the bidirectional input to be used in editable widgets
Methods¶
- handle_bidi_input %OPTIONS
- Given "action" and
"text" in
%OPTIONS, returns new text and suggested new
cursor position.
The following options are understood:
- action
- One of: backspace, delete, cut, insert, overtype
- at INTEGER
- Current cursor position in clusters
- glyphs Prima::Drawable::Glyphs object
- Shaped text
- n_clusters INTEGER
- Amount of clusters in the text
- rtl BOOLEAN
- Is widget or currently selected method is RTL (right-to-left)
- text STRING
- A text to edit
AUTHOR¶
Dmitry Karasik, <dmitry@karasik.eu.org>.
SEE ALSO¶
Prima, Prima::Drawable::Glyphs
2023-09-05 | perl v5.26.1 |