Re: focus and select
- From: Tian <tian-ml c-sait net>
- To: gtk-perl-list gnome org
- Subject: Re: focus and select
- Date: Thu, 8 May 2008 23:20:45 +0200
On Thu, 8 May 2008 20:20:43 +0200
nadim khemir <nadim khemir net> wrote:
Hi, thank you for your answer. I get this problem: Can't locate object
method "select_region" via package "Gtk2::TextView"
Oops. I thought your text boxes were some Gtk2::Entry widgets. For TextView,
use this instead:
my $buffer = $tb->get_buffer;
$buffer->select_range($buffer->get_start_iter, $buffer->get_end_iter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]