[Laszlo-user] Creating new base classes with the new keyword?

Henry Minsky hminsky at laszlosystems.com
Fri Jul 18 05:54:41 PDT 2008


Yes, just do

new lz.window()

The "lz" object is like a namespace where user classes get defined.

There is tab completion in the debugger, of global names. I don't
think it will complete on "lz.xxx" though.


On Thu, Jul 17, 2008 at 11:18 PM, Kenneth Miller <xkenneth at gmail.com> wrote:
> Is it possible to programmatically create new user interface methods through
> scripting?
>
> var new_window = new window()?
>
> Also,
>  Is there a way to see the names defined in the current namespace, sort of
> like python's dir() function in the debug interpreter?
>
> Regards,
> Ken
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com


More information about the Laszlo-user mailing list