On 3/2/07, Kelie <[EMAIL PROTECTED]> wrote:
> hello,
>
> where am i supposed to be looking for the syntax for __init__ function
> for various dabo ui objects? i didn't see it on this page:
> http://paul.dabodev.com/doc/api/dabodoc/ and what i'm doing now is
> searching the source codes for the class definition in the dabo
> package.

Look at the DaboDemos as those will probably be the most help.
AreaCalculator and Conversion have a lot of the syntax for calling
basic controls.

All of your basic controls should require just one argument and that
is the parent of the control.  Normally this is a Form or a Panel.
Then, everything else should be optional properties.

If you subclass dabo controls, unless it is really really necessary,
NEVER override the __init__ method.  Use the afterInit and
initProperties hooks for initialization code.

>
> thanks for your help.
>
> --
> Kelie
>
> _______________________________________________
> Post Messages to: [email protected]
> Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
>

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to