Looking to start learning Python?

Begin Here

Sizer Tutorials Get the Wiki

May 29, 2008 by Mike
As planned, I copied some of my tutorials to the official wxPython wiki. Currently I only have the sizer tutorials over there. I am working on a series that will show how to build a simple application from the ground up. Hopefully I can take the bits and pieces of it and make it easy […]

wxPython: Embedding an image in your title bar

May 23, 2008 by Mike
I received a question about how to put an image in my frame's toolbar on Windows. As it is, the toolbar just uses a generic icon. There are three ways that I am aware of. The first is to get an embedded image out of an executable. The second is to take some image you […]

wxPython Sizers Tutorial: Using a GridBagSizer

May 22, 2008 by Mike
In this tutorial, I will take my code from the GridSizer tutorial I wrote the other day and heavily modify it to display oddly shaped widgets in a GridBagSizer. The GridBagSizer is the most complex of the sizers. It subclasses the FlexGridSizer, so you can use all of it's parent's methods as well as those […]

wxPython: GridSizers and Fat TextCtrls

May 21, 2008 by Mike
In my last post, I wrote how to use a GridSizer to create a generic form. Unfortunately, the wx.TextCtrls all ended up looking fat. It seems that passing a wx.EXPAND flag to the GridSizer when adding the TextCtrl causes it to expand to fill the cell as well as resize when the window itself is […]

wxPython Sizers Tutorial: Using a GridSizer

May 19, 2008 by Mike
In my last post, I created a generic form in wxPython using only wx.BoxSizers for automatic sizing of my widgets. This time, I am adding on to my previous example using a wx.GridSizer to show the following: How to right-align the icon and the label How to vertically align the label with the text control […]

A wxPython Sizers Tutorial

May 18, 2008 by Mike
I volunteered to write some tutorials on common GUI layouts in wxPython. The following example came from Malcolm, one of the members of the wxPython user's group.
View More

End of content

No more pages to load

Copyright © 2022 Mouse Vs Python | Powered by Pythonlibrary