• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shell tool with GUI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Shell tool with GUI (From: Chris Hiszpanski <email@hidden>)

  • Prev by Date: NSArray represented in 2 different views at same time
  • Next by Date: Re: NSArray represented in 2 different views at same time
  • Previous by thread: Re: Shell tool with GUI
  • Next by thread: Re: Shell tool with GUI
  • Index(es):
    • Date
    • Thread