Re: GTK+ Modules and GDK



Hi,

Joel Becker <jlbec evilplan org> writes:

> I was specifically discussing GTK+ as a widget set, and I still can't
> see how you use widgets without a display (I don't mean "X display", I
> mean "display of some kind."  Braille, Win32, Quartz, doesn't matter.
> Something to target drawing to, because GTK+ draws.  In the 1.2 days,
> GTK+ did fun stuff like the object system and signals etc.  Now that is
> in GLib.

you want to be able to initialize GTK+ w/o a display to be able to do
introspection on the library w/o the need of a display. Some classes
might need global stuff in their class initializers that is setup in
gtk_init() (or a similar function, see below). This should work w/o a
display to allow tools such as gtk-doc to be run on headless boxes.
With GTK+-2.0 this is finally possible by means of gtk_type_init(). We
should try not to loose this functionality.


Salut, Sven



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