Looking to start learning Python?

Begin Here

Tag: wxPython

wxPython: Extracting XML from the RichTextCtrl

July 10, 2015 by Mike
I recently came across a StackOverflow question where the fellow was asking how to get wxPython's RichTextCtrl's XML data so he could save it to a database. I don't know much about this control, but after a quick Google search, I found an article from 2008 that gave me the information I needed. I took […]

wxPython 101: Simple Frames

April 14, 2015 by Mike
In this tutorial, we'll look at three simple ways to create a wxPython frame. If you're a visual learner, I also created a screencast version of this article that you can view below:

wxPython 101: How to Center a Widget

February 19, 2015 by Mike
I see this come up from time to time where people will ask how to center a widget in a window. The solution is actually quite easy. In most cases, you just need to nest a Horizontal BoxSizer inside of a Verticel BoxSizer with some spacers. In this article, I'll show you two three different […]

wxPython: Freeze and Thaw

November 11, 2014 by Mike
The wxPython library comes with a pair of handy methods called Freeze() and Thaw(). The call to Freeze() prevents the window from updating while it is frozen. This can be useful when you are adding or removing widgets and you want to reduce your UI from appearing to flicker. After you finish updating the UI, […]

wxPython: Converting wx.DateTime to Python datetime

August 27, 2014 by Mike
The wxPython GUI toolkit includes its own date / time capabilities. Most of the time, you can just use Python's datetime and time modules and you'll be fine. But occasionally you'll find yourself needing to convert from wxPython's wx.DateTime objects to Python's datetime objects. You may encounter this when you use the wx.DatePickerCtrl widget. Fortunately, […]

wxPython: How to Create a Login Dialog

July 11, 2014 by Mike
I've been using wxPython for quite a while now and I see certain questions come up on a fairly frequent basis. One of the popular ones is how to ask the user for their credentials before loading up the rest of the application. There are several approaches to this, but I am going to focus […]
1 8 9 10 11 12 28
View More

End of content

No more pages to load

Copyright © 2024 Mouse Vs Python | Powered by Pythonlibrary