Hello, On Thu, 8 May 2008 09:07:43 +0200 nadim khemir <[EMAIL PROTECTED]> wrote: > How can I focuse "Text box 2" and select its text so the user can start > modifying it directly?
This should do what you want (if $tb2 is a reference to your text box): # Select the whole text $tb2->select_region(0, length($tb2->get_text)); # Focus $tb2->grab_focus; Tian. _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list