Re: [gtk-list] Re: callbacks and classes




Is this not the central point where the moc in Qt and the adaptor classes
(anonymous interfaces etc.) of jdk-1.1 come in? 

Closures would be nice for this. A function pointer in combination with
a data pointer (environment pointer) is called a closure in functional
languages and scheme. Direct support of closures by the toolkit would be
a win?

-- 
Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de
FernUniversitaet Hagen, LG Elektronische Schaltungen, 58084 Hagen (Germany)
tel:+49 2331/987-1166 fax:987-355 http://ES-sun1.fernuni-hagen.de/~jfh
PGP fingerprint (mail for key): 160BDF84 3F2F63C0  5CA20D31 3E42D116



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]