Ok, so here is my declaration for a dSlider widget

myWidget = dabo.ui.dSlider(self, Max=255,
DataSource=self.PreferenceManager.General, DataField="Transparency")

General is my base key grouping and Transparency is the key with a
value between 0 and 255.  Now, this control is in a dialog.  When I
play with the control, I can clearly see the value of
self.PreferenceManager.General.Transparency fluctuate up and down
correctly.  However, when the dialog and control are first created, it
defaults to 0 instead of the value of key.  I was under the impression
that setting DataSource/DataField would set the value of the control.
Am I wrong?  I also found that if I set the key to a different value
from another source that it wouldn't update the display value on the
slider.

Ed, Paul, can you shed some light on this?  If I have to do it
manually, no big deal, it's just that things didn't work the way the I
expected them too...

Platform: GTK
Python Version: 2.5.1 on linux2
Dabo Version: Version 0.8.2; Revision 3777
UI Version: 2.8.4.0 on wxGTK (gtk2)

Cheers,

Nate L.


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to