[wxpython-users] Change button border...?

Trey K trey.wxpython at gmail.com
Tue May 27 08:44:32 PDT 2008


Hey all,
  I'm attempting to create a GUI for a rubik's cube solver, and I'm haaving
a bit of trouble.

  I need to change the border of a button once you hover over it (so that
you actually know that it's a button). I can't quite figure out the function
to set the style of the button.
  Here's my current source code:
http://www.filecrunch.com/fileDownload.php?sub=3D0fbb79811d7ba202a15bd1c77a=
00733c&fileId=3D151343

  The "self.caller.SetStyle(style=3Dwx.NO_BORDER)" is the code causing an
error, and I need to know what function to use to change the style.

Thanks for any help.

Note: I know that the border automatically pops up for the button when you
hover over it in GNOME, but it won't in windows...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200805=
27/5fd063f3/attachment.htm


More information about the wxpython-users mailing list