[Gtk-sharp-list] Automagic Console/X Display detection?

Mike Hull mike.hull at coversant.net
Wed Sep 7 20:05:40 EDT 2005


Does anyone have a good method for checking if DISPLAY is valid or not? 

Application.Init() kills my app if it can't connect to the display.

My application needs to fall back to a console interface if Gtk fails. 

-- 
Mike Hull
Coversant, Inc.
http://www.coversant.net


More information about the Gtk-sharp-list mailing list