… | |
… | |
29 | # XXX: How to give pick window the pickname ? |
29 | # XXX: How to give pick window the pickname ? |
30 | my $p = GCE::PickWindow->new; |
30 | my $p = GCE::PickWindow->new; |
31 | $p->show_all; |
31 | $p->show_all; |
32 | }); |
32 | }); |
33 | |
33 | |
|
|
34 | # XXX: signals don't feel right => move this stuff to MainWindow, it should |
|
|
35 | # deal with all the stuff it does |
|
|
36 | $w->signal_connect (update_stack_view => sub { |
|
|
37 | my ($t, $x, $y, $a) = @_; |
|
|
38 | print "$x $y: " . join (',', map { $_->{_name} } @$a) . "\n"; |
|
|
39 | }); |
|
|
40 | |
34 | $w->show_all; |
41 | $w->show_all; |
35 | |
42 | |
36 | Gtk2->main; |
43 | Gtk2->main; |
37 | |
44 | |
38 | =head1 AUTHOR |
45 | =head1 AUTHOR |