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

Dan Winship danw at novell.com
Thu Sep 8 10:55:46 EDT 2005


Mike Hull wrote:
> 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.

Application.InitCheck()

-- Dan



More information about the Gtk-sharp-list mailing list