[PyKDE] menu/actions questions
Garrett G. Hodgson
garry at kestrel.sage.att.com
Wed Feb 12 19:37:00 GMT 2003
> On Wednesday 12 February 2003 7:54 am, Garrett G. Hodgson wrote:
> > > PyQt doesn't increase the reference count of objects passed as slots, so
> > > a lambda function will get garbage collected unless you explicitly save
> > > it somewhere.
> > that did it. thanks!
> > i still wonder if there's a better/more standard way of accomplishing this.
> I use a class that allows currying aften for issues like yours. Here's a
> working example that uses this method:
very nice. currying is, indeed, the notion i was looking for
(one of the side effects of playing with ocaml/erlang is that you
increasingly find yourself asking, "why can't i...").
i'll give it a whirl.
Garry Hodgson Did you see your God
Senior Hacker rising in the smoke
Software Innovation Services to tell you
AT&T Labs that it was your time?
garry at sage.att.com - Warren Haynes
More information about the PyQt