When I create a wxPanel in a wxFrame, is there a way of telling Boa to generate
wxPanel(..., size=self.size, ...)
wxPanel(..., size=wxSize(...), ...)
ie to use an attribute as value for a widget property, instead of hardcoded values ("", wxSize, etc)?
Yes this feature is supported by Boa.
Please see the documentation for "Special Frame Attributes" in the help file Docs/boa/apphelp/MixingSource.html
PS, most properties and constructor parameters can be set like this, but not Position and Size (because the Designer overrides these when you visually place and resize controls.)
Sorry for missing that. Figures that size and position are the two that I tried 8-P
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.