wxPython and Metro Style

63 views
Skip to first unread message

zizou2981

unread,
May 28, 2015, 9:32:28 AM5/28/15
to wxpytho...@googlegroups.com
Hi,

I want to know if it is possible to use the Metro style in wxPython?

Regards

Tim Roberts

unread,
May 28, 2015, 1:50:29 PM5/28/15
to wxpytho...@googlegroups.com
zizou2981 wrote:
>
> I want to know if it is possible to use the Metro style in wxPython?

Well, you can simulate it, but you'd be doing it all by hand. A real
Metro application is way more than just a skin.

--
Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.

zizou2981

unread,
May 28, 2015, 1:58:05 PM5/28/15
to wxpytho...@googlegroups.com
@Tim

what do you mean by simulating and how can i do that for the Frame border?

Thanks

Mike Stover

unread,
May 28, 2015, 2:43:07 PM5/28/15
to wxpytho...@googlegroups.com
I have attached a stripped down version of a program I worked on a while back. It may not be exactly what you are looking for, but may help get you started. As Tim mentioned, there is more to the Metro style than the skin. Be prepared to do a lot of coding to get everything to look and function as you want... but that should be expected for any program.

I should also note:
 - There is a bit of subclassing being done
 - The code probably could be simpler
 - I am horrible with in code commenting / documentation
 - Without the OS frame you need to specify a "start position"
   > You also need to provide a method of moving the program around the desktop.


If there are any questions about the sample I provided please ask here and I will respond as soon as I can.

- Mike S.
Basic Flat App.py

Tim Roberts

unread,
May 28, 2015, 3:14:03 PM5/28/15
to wxpytho...@googlegroups.com
zizou2981 wrote:
>
> what do you mean by simulating and how can i do that for the Frame border?

What I mean is that the Metro look-and-feel means full screen, no
borders, bright colors, big fat tiles, Segoe font, and touch interface.
All of those things can be done in a wxPython application.
Reply all
Reply to author
Forward
0 new messages