Something Special wrote:
If you put red/yellow/green buttons at the upper right instead of the
normal _ O X set, a fair fraction of your users won't know how to kill
the app.I dont care:)
actually Ive met such app which is just 250 kb in one .exe and keep
asking, is it possible with python, wxpython? (here is screenshot
http://www.softella.com/gamux/index.en.htm )
Yes, it's possible. Presumably the same way that app does it: create a frame with no border, caption, etc., use the shaped flag to give it the rounded corners, draw the metal border, caption and neon balls with a paint program and then Blit the image to your window, add mouse event handlers to react to activity over the neon balls or to implement dragging of the window around the screen, and finally, add an extra panel in the middle that implements the functionality of the program.
See the ShapedWindow sample in the demo for an example of some of the above.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!