Re: more questions :)
- From: lanzz lanzz org
- To: Gavin Jefferies <gj262 yahoo com>
- Cc: gtk-perl-list gnome org
- Subject: Re: more questions :)
- Date: Fri, 10 May 2002 10:39:41 +0300 (EEST)
On 9 May 2002, Gavin Jefferies wrote:
sub displayEvent {
my $list = shift;
my $event = shift;
...
if ($event->{'type'} eq '2button_press') {
(my $row, my $col) = $list->get_selection_info($event->{'x'}, $event->{'y'});
...
}
}
$list->signal_connect('key_press_event', \&displayEvent);
This tells me where it happened and I can work from there.
hm, this might do. but shouldn't it be button_press_event in the signal_connect?
lanzz
--
$_=q<$_=q<,>;s/,/$_/;print;>;s/,/$_/;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]