Re: Problems with Gtk::Text and set_pointer and Text widget questions

Pavel Rousnak a écrit :

Gtk expects a valid return value from an event handlers.
Try something like the following:

 sub button_press {
        my ($widget, $event) = @_;
        my $len = $widget->get_length()-1;

It works !
Just need to make 'set_point' do it's job now.

Thanks !

Michel Blanc
Centre Multimédia Erasme/Parc d'activités innovantes
69930 Saint Clément-les-places
Tel : +33-(0)4-74-70-68-40 / Fax : +33-(0)4-74-70-68-40

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]