Yesterday was Towel Day.
Guess at which value the screenshot showed them?
SpinButton... |
...and Scales! (Both examples also use a Statusbar.) |
scale = Gtk.Scale()
scale.new_with_range(Gtk.Orientation.HORIZONTAL, 0, 100, 5)
and variations on the theme, only to get a scale - without a handle! I had to do a
scale = Gtk.Scale(orientation=Gtk.Orientation.HORIZONTAL, adjustment=some_adjustment)
to get the desired result...)Update: Now the examples use a label. Simpler, more elegant.
Ha, I didn't know about towel day, but I knew what the number 42 was referring to when I reviewed the patch :-)
ReplyDelete