Alec Bennett wrote:
>
> In wx I could set something like
> self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM), but not in PythonCard as
> far as I can tell?
>
Hi Alec:
You should still be able to do all the regular 'raw' wxPython stuff in
your PythonCard application, since most of the PythonCard objects are
subclassed from their wxPython equivalents.
As an example, I have the following code in a little applet I wrote to
simplify the management of profiles for the various wireless networks I
use regularly:
def on_scanBtn_mouseClick(self, event):
win = MyMiniFrame(self, "Wireless Network Scan",
style=wx.DEFAULT_FRAME_STYLE |
wx.TINY_CAPTION_HORIZ)
win.SetSize((200, 60))
win.CenterOnParent(wx.BOTH)
win.Show(True)
win.Update()
win.Refresh()
wx.Yield()
This is just some raw wxPython code called from in the middle of the
PythonCard app that surrouonds it.
--
Regards
Phil Edwards | PGP/GnuPG Key Id
Brighton, UK | 0x68393AEE
|