Talk:WxPython
![]() | Computing Stub‑class ![]() | ||||||||||||
|
"Python is a C++-based language" -- is this really accurate??
- No
deleted
- ==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.
Benwing 03:14, 28 November 2006 (UTC)
Simplified Example
I 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)