Scroll to navigation

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

NAME

Gtk2::IMContext - wrapper for GtkIMContext

HIERARCHY

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

METHODS

$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)

$context->focus_in

$context->focus_out

list = $context->get_preedit_string

$context->reset

list = $context->get_surrounding

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

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

$context->set_use_preedit ($use_preedit)

$use_preedit (boolean)

SIGNALS

SEE ALSO

Gtk2, Glib::Object

COPYRIGHT

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

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

2019-09-16 perl v5.28.1