Re: [gtk-list] Re: C/GTK+ versus C++/GTK--/QT




   One thing I dislike about using GTK+ directly in C++ is that you need
   loads of static functions for call-backs, passing "this" around
   explicitly.

When I was doing C++ and Motif, I used one-line static functions for
callbacks, and had them call methods.  I only had one instance of most
of my gui objects, so I was able to get away with this.
-- 
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer



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