Talk:wxPython
This article is rated Start-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
|
"Python is a C++-based language" -- is this really accurate??
- No
deleted
edit- ==Feature==
wxPython uses widgets provided by the underlying operating system, and therefore provides a native look similar to other programs running on that particular platform. Tkinter, on the other hand, provides a uniform look on all platforms, because it draws its widgets from scratch using the graphics facilities
afaik this is no longer true. tkinter now uses native look and feel.
Simplified Example
editI think that the current example is too complicated for an new wxPython programmer. I have made a simplified example that I think illustrates the simplicity and ease of use of the library much better:
import wx
class TestFrame(wx.Frame):
def __init__(self, parent, ID, title):
wx.Frame.__init__(self, parent, -1, title)
panel = wx.Panel(self, -1)
text = wx.StaticText(panel, -1, "Hello, World!")
self.Show(True)
app = wx.App()
frame = TestFrame(None, -1, "Hello, world!")
app.MainLoop()
Does anyone have a problem with replacing the current example with this one? --24.252.131.59 (talk) 17:37, 10 May 2009 (UTC)
- I went ahead and changed it. If you don't like it, then I guess you can change it back to the old one.--24.252.131.59 (talk) 21:04, 19 May 2009 (UTC)
A misleading sentence
editAccording to the article wxPython "is one of the alternatives to Tkinter" Oh my God... It is like saying that the Lamborghini is one of the alternatives to the Fiat Panda. For anyone who knows both programs it is obvious that wxPython is light years away from Tkinter! The only problem with wxPython was the lack of a good free builder. Several years ago, the best builder I could find - wxGlade - was too buggy. But the version 0.8.3 changed everything, and all of a sudden wxPython with wxGlade became a powerful tool, comparable to (or - from my experience - even better than) QT. So after using QT for years, I switched to wxPython. Ironically, the Wikipedia article about wxGlade was deleted. Luckily, in spite of this, wxGlade is still developed. 85.193.216.87 (talk) 00:17, 24 August 2019 (UTC)