1Gtk2::IMContext(3) User Contributed Perl Documentation Gtk2::IMContext(3)
2
3
4
6 Gtk2::IMContext - wrapper for GtkIMContext
7
9 Glib::Object
10 +----Gtk2::IMContext
11
13 $context->set_client_window ($window)
14 · $window (Gtk2::Gdk::Window or undef)
15
16 $context->set_cursor_location ($area)
17 · $area (Gtk2::Gdk::Rectangle)
18
19 boolean = $context->delete_surrounding ($offset, $n_chars)
20 · $offset (integer)
21
22 · $n_chars (integer)
23
24 boolean = $context->filter_keypress ($key_event)
25 · $key_event (Gtk2::Gdk::Event)
26
27 $context->focus_in
28 $context->focus_out
29 list = $context->get_preedit_string
30 $context->reset
31 list = $context->get_surrounding
32 $context->set_surrounding ($text, $cursor_index)
33 · $text (string)
34
35 · $cursor_index (integer)
36
37 $context->set_use_preedit ($use_preedit)
38 · $use_preedit (boolean)
39
41 commit (Gtk2::IMContext, string)
42 boolean = delete-surrounding (Gtk2::IMContext, integer, integer)
43 preedit-changed (Gtk2::IMContext)
44 preedit-end (Gtk2::IMContext)
45 preedit-start (Gtk2::IMContext)
46 boolean = retrieve-surrounding (Gtk2::IMContext)
47
49 Gtk2, Glib::Object
50
52 Copyright (C) 2003-2011 by the gtk2-perl team.
53
54 This software is licensed under the LGPL. See Gtk2 for a full notice.
55
56
57
58perl v5.28.1 2019-02-02 Gtk2::IMContext(3)