Anyone available for a quick test?

From: Date: Mon, 21 Jan 2002 11:31:43 +0000
Subject: Anyone available for a quick test?
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1016@lists.php.net to get a copy of this message
I spent ages thinking the page increment on a spinbutton does very little, then finally read the GTK source and found it runs off the centre mouse button. Which I have not got. So I need someone to click their middle button over one of the many arrows here and confirm that that works. Please :) I also am getting no response from 'climb rate' configuration at all, see lines 17 & 19, dunno if anyone can shed any light? <? dl('php_gtk.' . (strstr(PHP_OS, 'WIN') ? 'dll' : 'so')); $window = &new GtkWindow(); $window->set_position(GTK_WIN_POS_CENTER); $window->connect_object('destroy', array('gtk', 'main_quit')); $hbox = &new GtkHBox(false, 5); $hbox->set_border_width(5); $window->add($hbox); $daylabel = &new GtkLabel("Day:"); $hbox->pack_start($daylabel, false); $dayadj = &new GtkAdjustment(1.0, 1.0, 31.0, 1.0, 7.0, 0.0); /*comment line 17 out if uncommenting line 19 please*/ $dayspin = &new GtkSpinButton($dayadj); /*the second parameter in line 19 is the mysterious 'climb rate'*/ //$dayspin = &new GtkSpinButton($dayadj, 2.0, 0.0); $dayspin->set_wrap(true); $hbox->pack_start($dayspin, false); $monthlabel = &new GtkLabel("Month:"); $hbox->pack_start($monthlabel, false); $monthadj = &new GtkAdjustment(1.0, 1.0, 12.0, 1.0, 3.0, 0.0); $monthspin = &new GtkSpinButton($monthadj); $monthspin->set_wrap(true); $hbox->pack_start($monthspin, false); $yearlabel = &new GtkLabel("Year:"); $hbox->pack_start($yearlabel, false); $yearadj = &new GtkAdjustment(2002.0, 1910.0, 2010.0, 1.0, 5.0, 0.0); $yearspin = &new GtkSpinButton($yearadj); $yearspin->set_usize(55, 0); $hbox->pack_start($yearspin, false); $hbox->show_all(); $window->show_all(); gtk::main(); ?>

« previous php.gtk.general (#1016) next »