Re: focus and select



On Thursday 08 May 2008 10.59.09 Tian wrote:
$tb2->select_region(0, length($tb2->get_text));
#ÂFocus
$tb2->grab_focus;

Hi, thank you for your answer. I get this problem: Can't locate object 
method "select_region" via package "Gtk2::TextView"

grab_focus works fine.

Nadim.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]