add on for the Spinbuttonrenderer...
- From: bboett bboett dyndns org (Bruno Boettcher)
- To: gtk-perl-list gnome org
- Subject: add on for the Spinbuttonrenderer...
- Date: Wed, 21 Jan 2004 16:25:36 +0100
Hello
don't know where to post this....
the spinbutton renderer in the examples section won't work correctly unless you add the following lines
somewhere in on_start_editing:
my $adjustment = $spin_button->get_adjustment();
$adjustment->signal_connect(value_changed => sub {
my ($event_box, $event) = @_;
$spin_button -> update();
$cell -> signal_emit(edited => $path, $spin_button -> get_value());
return 1;
});
hope its useful for somebody... :D
--
ciao bboett
==============================================================
bboett adlp org
http://inforezo.u-strasbg.fr/~bboett
===============================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]