Re: Shell tool with GUI
Re: Shell tool with GUI
- Subject: Re: Shell tool with GUI
- From: douglas welton <email@hidden>
- Date: Mon, 8 Dec 2008 11:58:29 -0500
Hi Chris,
Not having a menu and not being an "application" are not the same
thing. If you don't want to have a menu around, simply hide it using
the available mechanisms (e.g., [NSMenu setMenuBarVisible: NO] or
kiosk mode) and create a window to cover the entire screen. IMHO,
you'll be f"ighting the framework" if you try to force a window onto
the screen without using the window server (which is there to help you
- not be an insurmountable obstacle)
If you choose this route, make sure you give your user a way to return
to a non-fullscreen mode of operations (typically, pressing the escape
key will work for this task).
regards,
douglas
On Dec 8, 2008, at 12:57 AM, Chris Hiszpanski wrote:
I'm trying to write a very simple oscilloscope in Cocoa as a shell
tool that continuously reads samples via standard input and draws
them as a waveform in a window. I do _not_ want a menu bar (i.e. an
application), just one window that disappears when the parent shell
tool receives the interrupt signal.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden