help on gtk_init (&argc, &argv) with xvfb on cgi app
- From: "Xu, Ming (NIH/NLM/NCBI) [F]" <mxu ncbi nlm nih gov>
- To: <gtk-list gnome org>
- Subject: help on gtk_init (&argc, &argv) with xvfb on cgi app
- Date: Thu, 5 Jan 2006 23:26:53 -0500
Hello.
I am using wxWidget (wrapper for gtk2+ ) for drawing a bitmap
on cgi application, the bitmap is created and drawn on memory
buffer by wxMemomryDC and the drawing doesn't need display or input
device, but unfortunately, wxMemomryDC's supper class, wxDC, is
tied to display device and I have to call gtk_init (&argc, &argv)
for wxWidget to work.
Since the cgi host does not have X-Win, I will use xvfb for
gtk_init (&argc, &argv), would you please give me hints/reference
on how to initializie gtk with xvfb ? or any alternative without using
xvfb in gtk initialization without display/input device.
thanks in advance
ming
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]