Re: Gtk(mm) without X server
- From: tc6 free fr
- To: ERDI Gergo <cactus cactus rulez org>
- Cc: gtkmm-list gnome org
- Subject: Re: Gtk(mm) without X server
- Date: Mon, 4 Apr 2005 15:04:59 +0200
I try this but I still get the 'Gtk-warning: Cannot open display' error. and my
application doesn't launch.
Quoting ERDI Gergo <cactus cactus rulez org>:
> On Mon, 4 Apr 2005 tc6 free fr wrote:
>
> > I guess the problem comes from the gtk.main.run() that requires an access
> to X
> > events. Is there a way to avoid this problem?
>
> Use Glib::Main::run() in the server code, this just makes the GLib event
> system work (with the IO stuff as well), but doesn't try to initialize an
> X connection.
>
> --
> .--= ULLA! =---------------------. `We are not here to give users what
> \ http://cactus.rulez.org \ they want' -- RMS, at GUADEC 2001
> `---= cactus cactus rulez org =---'
> "Olyan nincs, hogy egy zene nem drum&bass"
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]