I'm trying to reach this event object.
Navigating the documentation is beeing a little bit difficult.
Somebody can give me a hint about how can I refer to a not explicitly instantiated event ?
my $imp_entry = Gtk2::Entry->new_with_max_length( 6 ) ;
...
$imp_entry->signal_connect( 'scroll-event' => sub {
# if($imp_entry->scroll-event->direction() eq 'up'){} !?!?
$imp_entry->set_text( $imp_entry->get_text() + 0.05 ) ;
} ) ;
i.e.: as in the Gtk2::Gdk::Event::Scroll doc :
METHODS
...
scrolldirection = $eventscroll->direction ($newvalue=0)
What
$eventscroll ?
Thanks for your attention.