Re: gtk_init problem
- From: Owen Taylor <otaylor redhat com>
- To: Roland Bock <rbock eudoxos de>
- Cc: gtk-list redhat com
- Subject: Re: gtk_init problem
- Date: 06 Jan 1999 10:32:39 -0500
Roland Bock <rbock@eudoxos.de> writes:
> Hi!
> I have a curious problem using gtk_init.
>
> I want to use a gtk-object in a webserver application, which has no
> display (why should it, it is a webserver). When I start the program, I
> call gtk_init in order to use the gtk-object, but gtk_init ends the
> program telling me, that it cannot find a display (of course not).
>
> I must initialize gtk, or I cannot use any gtk_***_new() function as far
> as I know.
>
> So my question is: Is there a way to initialize all of gtk that does not
> depend on a display?
gtk_type_init ();
gtk_signal_init ();
Should do it.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]