[pygtk] Spinbutton

Sandro Dentella sandro at e-den.it
Thu Mar 30 15:13:35 WST 2006


Hi all,

  why my spinbutton doesn't show '120'?
  why, if I write in a number, it is reset to 0 when Enter is pressed?

  TYA
  sandro


   import gtk

   w = gtk.Window()
   spin = gtk.SpinButton()
   w.add(spin)
   w.show_all()
   spin.set_value(120)
   gtk.main()


-- 
Sandro Dentella  *:-)
e-mail: sandro a e-den.it 
http://www.tksql.org                    TkSQL Home page - My GPL work


More information about the pygtk mailing list