On Sep 10, 2020, at 18:46, Ed Leafe <[email protected]> wrote:
> 
> On Sep 10, 2020, at 5:40 PM, john <[email protected]> wrote:
>> 
>> I am wondering what you feel is the correct way to use/call the UI classes?
>> 
>> from dabo.ui import dForm
>> 
>> class MainForm(dForm.dForm) ...
>> 
>> OR
>> 
>> from dabo.ui.dForm import dForm
>> 
>> class MainFoirm(dForm) ...
> 
> The first form is preferred, since there are classes/functions in the ui 
> namespace that aren't in a module by the same name.
> 
>> Both appear to work.  But I am concerned that I am missing something (some 
>> feature) using the second way with the new way of calling UI classes.  I 
>> guess this stems from the fact I do not understand how you got UI classes to 
>> work.
> 
> Everything in the UI should be in the dabo.ui namespace now. If you find 
> something that doesn't work, that's a bug and you should let me know about it.

I guess I didn’t read your examples clearly enough. Both are wrong.

It should be:

from dabo.ui import dForm

class MainForm(dForm):

The commits you just made are incorrect. Would you please revert them?


-- Ed Leafe







_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/[email protected]

Reply via email to