Some suggestion for a GUI kit evolved on Perl
Makhno
mak at imakhno.freeserve.co.uk
Thu Apr 6 12:09:34 EDT 2000
>label = OrcLabel
>NewOrcWindow(
> title = "Test"
>).Add(
> OrcVGroup(
> OrcButton,
> label
> )
>).Show()
Yes, this appears to be the best way. I thought that Python statements could
only be continued onto a new line if a '\' was supplied, but perhaps I was
wrong.
I don't like the way the Label has to be pre-made (not created in the
constructor) in order to keep a reference. There's doesn't seem to be much I
can do about this though, unless I make it take a ref to the ref in it's
constructor perhaps?
More information about the Python-list
mailing list