Gtk2::IMContext(3) User Contributed Perl Documentation Gtk2::IMContext(3)

Gtk2::IMContext - wrapper for GtkIMContext

Glib::Object
+----Gtk2::IMContext

$context->set_client_window ($window)

$window (Gtk2::Gdk::Window or undef)

$context->set_cursor_location ($area)

$area (Gtk2::Gdk::Rectangle)

boolean = $context->delete_surrounding ($offset, $n_chars)

  • $offset (integer)
  • $n_chars (integer)

boolean = $context->filter_keypress ($key_event)

$key_event (Gtk2::Gdk::Event)

list = $context->get_preedit_string

list = $context->get_surrounding

$context->set_surrounding ($text, $cursor_index)

  • $text (string)
  • $cursor_index (integer)

$context->set_use_preedit ($use_preedit)

$use_preedit (boolean)

Gtk2, Glib::Object

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2023-07-25 perl v5.38.0