Gtk2::Editable

Section: User Contributed Perl Documentation (3)
Updated: 2008-05-05
Index Return to Main Contents
 

NAME

Gtk2::Editable  

HIERARCHY

  Glib::Interface
  +----Gtk2::Editable

 

METHODS

 

string = $editable->get_chars ($start_pos, $end_pos)

* $start_pos (integer)
* $end_pos (integer)
 

$editable->copy_clipboard

 

$editable->cut_clipboard

 

$editable->delete_selection

 

$editable->delete_text ($start_pos, $end_pos)

* $start_pos (integer)
* $end_pos (integer)
 

boolean = $editable->get_editable

 

$editable->set_editable ($is_editable)

* $is_editable (boolean)
 

new_position = $editable->insert_text (new_text, position)

* $new_text (string)
* ... (list)
 

$editable->paste_clipboard

 

integer = $editable->get_position

 

$editable->set_position ($position)

* $position (integer)
 

$editable->select_region ($start, $end)

* $start (integer)
* $end (integer)
 

(start, end) = $editable->get_selection_bounds

Returns integers, start and end.
 

SIGNALS

insert-text (Gtk2::Editable, string, integer, gpointer)
changed (Gtk2::Editable)
delete-text (Gtk2::Editable, integer, integer)
 

SEE ALSO

Gtk2, Glib::Interface  

COPYRIGHT

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

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


 

Index

NAME
HIERARCHY
METHODS
string = $editable->get_chars ($start_pos, $end_pos)
$editable->copy_clipboard
$editable->cut_clipboard
$editable->delete_selection
$editable->delete_text ($start_pos, $end_pos)
boolean = $editable->get_editable
$editable->set_editable ($is_editable)
new_position = $editable->insert_text (new_text, position)
$editable->paste_clipboard
integer = $editable->get_position
$editable->set_position ($position)
$editable->select_region ($start, $end)
(start, end) = $editable->get_selection_bounds
SIGNALS
SEE ALSO
COPYRIGHT

linux.jgfs.net manual pages