Scott Chapman wrote:
>In wxGlade, I can add a StatusBar at the bottom of the panel. Can I do this in
>PythonCard? I don't see it in the Components pulldown.
>
>
>
It's in the "Background Info" (you can only have one, it can't be
positioned, doesn't have all the usual characteristics, etc. so it
doesn't need to be a full-blown component).
In layoutEditor go into menu "Edit / Background info ....", and check
the box "Status bar on window". You can then refer to it in your code
simply as
self.statusBar.text = "My new status"
or
text = self.statusBar.text
This gives you a simple, single-field status bar; if you want more than
that, you should be able to use the wxPython calls directly.
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.3/362 - Release Date: 12/06/2006
|