Re: row selected
- From: Beast <beast i6x org>
- To: "A. Pagaltzis" <pagaltzis gmx de>
- Cc: gtk-perl list <gtk-perl-list gnome org>
- Subject: Re: row selected
- Date: Mon, 18 Jul 2005 15:35:37 +0700
A. Pagaltzis wrote:
* Beast <beast i6x org> [2005-07-18 08:20]:
A. Pagaltzis wrote:
Uhm, the docs for TreeView list a “row-activated.” Didn’t you
find that? Doesn’t that do what you want?
It only works when row is _double clicked_, what I want is when
user just clicked the row.
Ah. “cursor-changed” would be my next best guess.
If I double click the row, it will triger both event. Its ok if its do
nothing, but what happen if do some heavy task on cursor_changed?
===
$self->{slist}->signal_connect( cursor_changed => sub {
print "row selected...\n"; } );
$self->{slist}->signal_connect( row_activated => sub {
print "row activated...\n"; } );
--
--beast
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]