wxPython and Metro Style

Hi,

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

Regards

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, timr@probo.com
Providenza & Boekelheide, Inc.

@Tim

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

Thanks

···

Am Donnerstag, 28. Mai 2015 19:50:29 UTC+2 schrieb Tim Roberts:

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.

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 (5.87 KB)

···

On Thursday, May 28, 2015 at 1:58:05 PM UTC-4, zizou2981 wrote:

@Tim

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

Thanks

Am Donnerstag, 28. Mai 2015 19:50:29 UTC+2 schrieb Tim Roberts:

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 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.

···

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