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 […]
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 […]
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.
The past couple of days, I've needed a way to create a shortcut on a user's desktop during the login process. I had a way that worked for most shortcuts, but I just could not figure out how to do this one.
One of the first scripts I had to help translate from Kixtart to Python was our map drives script. In it, we would map drives based on either which group the user was in and/or what a custom registry entry said. Here is a partial example of each of these categories in Kixtart: IF READVALUE("HKEY_LOCAL_MACHINE\SOFTWARE\MyOrg", […]
I became a computer programmer in the real world two years ago. To mark this anniversary, I thought I'd talk about some of the things I learned during my time so far. But before we get to that, I think some background is in order. My academic life included going to Iowa State University where […]