> I would suggest you to take a look to the wxPython "custom" buttons; you can
> find them in the demo, under "Custom Controls" ==> "GenericButtons". There
> you will find "old style" buttons, that can be simple buttons or toggle
> buttons (with "up" and "down" states). I have XP, and they look li
Hello Kees,
> Thanks :), I'll give both of your hints a try. What I basically want to
> do is have something like an "old style" button in win xp that's either
> "up" or "down", since I couldn't find a more straightforward method I
> thought taking a text widget and adjusting the border at mouse c
Thanks :), I'll give both of your hints a try. What I basically want to
do is have something like an "old style" button in win xp that's either
"up" or "down", since I couldn't find a more straightforward method I
thought taking a text widget and adjusting the border at mouse click
would be the bes
Hello Kees,
> and via the even handler I try to give StaticText a different style:
In general you *can not* change in runtime the style of a widget. Only a
very limited subset of the wxPython widgets supports style changes in
runtime. I would suggest you 2 alternatives:
1) Use wx.lib.stattext ==
Hi all,
I'm pretty new to (wx)Python so plz. don't shoot me if I've missed
something obvious ;). I have a panel inside a frame, on which a Button
and a StaticText is placed:
self.panel = wx.Panel(self,-1)
self.button = wx.Button(self.panel,-1,"Klikkerdeklik")
self.button.SetPosition((200,40))
sel