Do other Python GUI toolkits require this?
Kevin Walzer
kw at codebykevin.com
Sat Apr 21 11:27:20 EDT 2007
Kevin Walzer wrote:
> From the introduction to PyObjC, the Python-Objective-C bridge on Mac
> OS X:
>
> "As described in Objective-C for PyObjC users the creation of
> Objective-C objects is a two-stage process. To initialize objects, first
> call a class method to allocate the memory (typically alloc), and then
> call an initializer (typically starts with init). Some classes have
> class methods which perform this behind the scenes, especially classes
> that create cached, immutable, or singleton instances."
>
> An example:
>
> myObject = NSObject.alloc().init()
>
> I know Tkinter doesn't require any manual memory allocation of this
> sort. Does wxPython, PyQt, PyGtk require anything like this when
> creating objects?
>
Thanks to all for an illuminating thread on the mathematical
implications of "learning curve" and other aspects. This thread has
wandered pretty far from my original question (above) but I got at least
one useful answer, so I am grateful.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
More information about the Python-list
mailing list