Thanks, but i am developing on Windows using Komodo Personal Edition.
That shouldn't be a problem.
I am currently rather seeking a good UI tool. I heard wxGlade should be ok, but this has the same problem that wxPython: i don't seem to get it. I can't let it make what i want. I just want to design a simple dialog box, yet can't drop a slider in it there before i used a "stepper", whatever that is...
Here's what a simple dialog box with a slider looks like in Dabo:
class MyDialog(dabo.ui.dDialog):
def addControls(self):
self.slider = dabo.ui.dSlider(self, Min=0, Max=100, Value=42)
self.Sizer.append(self.slider, 1, "x")
That's it. The code, I believe, is much easier to read than standard wxPython code. Possibly the only cryptic thing is the shorthand in the sizer's append() call: the 'x' is a shorthand for "expand", which is the equivalent of passing wx.EXPAND to the wx.BoxSizer's flags parameter. The result of the code above would be a dialog with a slider that ranges from 0 to 100, with a default value of 42. The slider will fill the dialog.
If you wanted a version of the above, but with the standard 'OK' and 'Cancel' buttons at the bottom, just inherit from dabo.ui.dOkCancelDialog instead.
Since it is common to want to add controls to a dialog, we've built in an 'addControls()' method that is called at the appropriate point in the dialog's creation. Just put your code in that method, and you'll get the dialog you want.
___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://dabodev.com/
···
On Jul 4, 2005, at 11:00 AM, Christophe Leske wrote: