Shell tool with GUI

2008-12-08 Thread Chris Hiszpanski
receives the interrupt signal. - How can I create a window without creating a full fledge application (i.e. without creating an instance of NSApplication)? - What is the difference between a Cocoa Shell Tool and a Cocoa Application? Can a Cocoa Shell Tool draw GUI objects, or is it restricted

Re: Shell tool with GUI

2008-12-08 Thread I. Savant
. - What is the difference between a Cocoa Shell Tool and a Cocoa Application? Can a Cocoa Shell Tool draw GUI objects, or is it restricted to text in the shell? A Cocoa Shell Tool is usually linked only against the Foundation framework (sans all the GUI goodness of AppKit, which means it's also

Re: Shell tool with GUI

2008-12-08 Thread Nick Zitzmann
. - What is the difference between a Cocoa Shell Tool and a Cocoa Application? Can a Cocoa Shell Tool draw GUI objects, or is it restricted to text in the shell? The latter are bundles; the former are not (and are linked only to the Foundation framework by default). - How can I read standard

Re: Shell tool with GUI

2008-12-08 Thread I. Savant
On Mon, Dec 8, 2008 at 11:13 AM, Nick Zitzmann [EMAIL PROTECTED] wrote: On Dec 7, 2008, at 10:57 PM, Chris Hiszpanski wrote: - How can I create a window without creating a full fledge application (i.e. without creating an instance of NSApplication)? While not technically supported, you can

Re: Shell tool with GUI

2008-12-08 Thread jmunson
Not to mention that the menu occupies an extremely small amount of screen real estate... Quoting I. Savant [EMAIL PROTECTED]: On Mon, Dec 8, 2008 at 11:13 AM, Nick Zitzmann [EMAIL PROTECTED] wrote: On Dec 7, 2008, at 10:57 PM, Chris Hiszpanski wrote: - How can I create a window without

Re: Shell tool with GUI

2008-12-08 Thread I. Savant
On Mon, Dec 8, 2008 at 11:35 AM, [EMAIL PROTECTED] wrote: Not to mention that the menu occupies an extremely small amount of screen real estate... An interesting thought - maybe the OP is interested in a full-screen display? The path of least resistance here is still to create a Cocoa

Re: Shell tool with GUI

2008-12-08 Thread douglas welton
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

Re: Shell tool with GUI

2008-12-08 Thread Philip Ershler
a Cocoa Shell Tool draw GUI objects, or is it restricted to text in the shell? - How can I read standard input? With the NSFileHandle class? I see fileHandleWithStandardInput is a class method there, but not an instance method... - How can I draw an oscilloscope type animation? With the drawRect

Re: Shell tool with GUI

2008-12-08 Thread Rob Keniger
On 09/12/2008, at 3:06 AM, Michael Ash wrote: Can't be done. NSApplication is a prerequisite to creating windows with Cocoa. NSApplication is not incompatible with a shell tool as others have mentioned so you can simply do this *with* an instance of NSApplication, however I would like to point