Re: [gtk+osx] GTK and nessus?
Status: Beta
Brought to you by:
jralls
From: Dan C. <da...@da...> - 2004-07-18 14:27:07
|
David Burnett wrote: > Hermann Schaefer wrote: > >> I then see the client window (seems to be complete) but cannot select >> the window. It is either frozen or something else isn't working as it >> should.. any hints? ideas? > > > It sounds like the classic command line problem. Command line > programmes do not interact with OSX GUI workings, hopefully someone > will fill in the proper detail here. > > What you need to do is to wrap the program in an app bundle, this > will allow it to operate through OSX application launcher and > allow you to interact with its GUI. There is a private, undocumented function called CPSEnableForegroundOperation() that SDL uses to enable this functionality. The relevant file in SDL is: http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/src/main/macosx/SDLMain.m?rev=1.11&content-type=text/x-cvsweb-markup In particular, the latest changes to that file are relevant: http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/src/main/macosx/SDLMain.m.diff?r1=1.10&r2=1.11 I have myself adapted these changes for MPlayer; it works quite well. - Dan Christiansen |