1Gtk2::Editable(3)     User Contributed Perl Documentation    Gtk2::Editable(3)
2
3
4

NAME

6       Gtk2::Editable
7

HIERARCHY

9         Glib::Interface
10         +----Gtk2::Editable
11

METHODS

13   string = $editable->get_chars ($start_pos, $end_pos)
14           ·   $start_pos (integer)
15
16           ·   $end_pos (integer)
17
18   $editable->copy_clipboard
19   $editable->cut_clipboard
20   $editable->delete_selection
21   $editable->delete_text ($start_pos, $end_pos)
22           ·   $start_pos (integer)
23
24           ·   $end_pos (integer)
25
26   boolean = $editable->get_editable
27   $editable->set_editable ($is_editable)
28           ·   $is_editable (boolean)
29
30   new_position = $editable->insert_text (new_text, position)
31           ·   $new_text (string)
32
33           ·   ... (list)
34
35   $editable->paste_clipboard
36   integer = $editable->get_position
37   $editable->set_position ($position)
38           ·   $position (integer)
39
40   $editable->select_region ($start, $end)
41           ·   $start (integer)
42
43           ·   $end (integer)
44
45   (start, end) = $editable->get_selection_bounds
46           Returns integers, start and end.
47

SIGNALS

49       changed (Gtk2::Editable)
50       insert-text (Gtk2::Editable, string, integer, gpointer)
51       delete-text (Gtk2::Editable, integer, integer)
52

SEE ALSO

54       Gtk2, Glib::Interface
55
57       Copyright (C) 2003-2008 by the gtk2-perl team.
58
59       This software is licensed under the LGPL.  See Gtk2 for a full notice.
60
61
62
63perl v5.12.0                      2010-05-02                 Gtk2::Editable(3)
Impressum