[Tutor] help with GUI

Kent Johnson kent37 at tds.net
Thu Jun 22 12:28:05 CEST 2006


Christopher Spears wrote:
> My first problem is that the knob on the scrollbar
> doesn't move when I drag it.  I would like my GUI to
> by wider as well.  Finally, I need to figure out how
> to get the number selected from the scrollbar to the
> function that does the conversion.

Just guessing from a quick look at the pygtk docs...
Maybe you need to set_sensitive(True) on the VScale.
Call VScale.get_value() to get the value.

I'm not sure if there are any pyGTK experts on this list, if you don't 
get help here you might try the pyGTK list at
http://www.daa.com.au/mailman/listinfo/pygtk

Kent



More information about the Tutor mailing list