Re: Impelmenting NSWindows95InterfaceStyle

2009-01-22 Thread Fred Kiefer
I just added some very experimental code that allows you to experiment with in window menus. I followed the idea of Nikolaus to set the menu via [NSWindow setMenu:] this allows you to test different approaches to this new concept without bothering with the low level details. The current

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-22 Thread Germán Arias
El jue, 22-01-2009 a las 10:30 +0100, Fred Kiefer escribió: I just added some very experimental code that allows you to experiment with in window menus. I followed the idea of Nikolaus to set the menu via [NSWindow setMenu:] this allows you to test different approaches to this new concept

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-21 Thread Nicolas Roard
On Wed, Jan 21, 2009 at 5:01 AM, Robert J. Slover robert.j.slo...@verizon.net wrote: On Jan 19, 2009, at 20:08, Gregory John Casamento greg_casame...@yahoo.com wrote: Robert, I agree that this is a conundrum. :) We are facing the same decision that had to be made for OpenStep on Windows.

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-21 Thread Germán Arias
El mié, 21-01-2009 a las 10:58 +, Nicolas Roard escribió: This might have been true, but MDI is a forgotten thing (at least I hope!) in Windows. I would hate for GNUstep apps to suddenly be MDI (!). Frankly, either the application has a main window and we can shoehorn a menu, or not. I

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-20 Thread Riccardo Mottola
-Macdonald rich...@tiptree.demon.co.uk Cc: discuss-gnustep@gnu.org discuss-gnustep@gnu.org Sent: Monday, January 19, 2009 6:12:02 PM Subject: Re: Impelmenting NSWindows95InterfaceStyle I agree. However, on Windows, I'd expect the menu to be attached to an MDI window containing the other open

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-20 Thread David Chisnall
On 20 Jan 2009, at 13:28, Riccardo Mottola wrote: I discussed the problem a long time ago with Gregory and I agreed on the openstep approach, including the possibility to include a second NIB/GORM file specific for windows, which, if present, gets loaded instead of the standard one. It's

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-20 Thread Riccardo Mottola
Hey, - Original Message - From: David Chisnall Sent: Tuesday, January 20, 2009 2:50 PM Subject: Re: Impelmenting NSWindows95InterfaceStyle On 20 Jan 2009, at 13:28, Riccardo Mottola wrote: I discussed the problem a long time ago with Gregory and I agreed on the openstep approach

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-20 Thread Robert J. Slover
On Jan 19, 2009, at 20:08, Gregory John Casamento greg_casame...@yahoo.com wrote: Robert, I agree that this is a conundrum. :) We are facing the same decision that had to be made for OpenStep on Windows. I really believe that we should choose an approach similar to the one that

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread Richard Frith-Macdonald
On 19 Jan 2009, at 06:54, h...@computer.org wrote: On 19 Jan., 04:57, Germán Arias ger...@xelalug.org wrote: Hi, after inspect the source of NSMenu.m and others files. I think that I can try to implement the option NSWindows95InterfaceStyle. I have one idea to do that, and I want know

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread h...@computer.org
On 19 Jan., 09:15, Richard Frith-Macdonald rich...@tiptree.demon.co.uk wrote: On 19 Jan 2009, at 06:54, h...@computer.org wrote: On 19 Jan., 04:57, Germán Arias ger...@xelalug.org wrote: Hi, after inspect the source of NSMenu.m and others files. I think   that I can try to implement

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread Pete French
I don't use mswindows very much, but it does not appear to be the sort of behavior you would expect from a windows application. I would expect use of NSWindows95InterfaceStyle to produce a menu in each windows and remove the main menu: Does anybody here want to borrow my (ancient) copy of

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread Matt Rice
On Mon, Jan 19, 2009 at 3:14 AM, Pete French p...@twisted.org.uk wrote: I don't use mswindows very much, but it does not appear to be the sort of behavior you would expect from a windows application. I would expect use of NSWindows95InterfaceStyle to produce a menu in each windows and remove

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread Fred Kiefer
Matt Rice wrote: On Mon, Jan 19, 2009 at 3:14 AM, Pete French p...@twisted.org.uk wrote: I don't use mswindows very much, but it does not appear to be the sort of behavior you would expect from a windows application. I would expect use of NSWindows95InterfaceStyle to produce a menu in each

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread Pete French
Sounds like the right condition to decide whether to add a menu. But what should we do in the case, when there isn't a main window? Take for example the GSTest application that doesn't display a window on startup. Should we only have the context menu of the icon window? In that case the

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread Matt Rice
On Mon, Jan 19, 2009 at 4:46 AM, Fred Kiefer fredkie...@gmx.de wrote: Matt Rice wrote: On Mon, Jan 19, 2009 at 3:14 AM, Pete French p...@twisted.org.uk wrote: I don't use mswindows very much, but it does not appear to be the sort of behavior you would expect from a windows application. I

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread Germán Arias
El lun, 19-01-2009 a las 13:46 +0100, Fred Kiefer escribió: Sounds like the right condition to decide whether to add a menu. But what should we do in the case, when there isn't a main window? Take for example the GSTest application that doesn't display a window on startup. Should we only have

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread Gregory John Casamento
Subject: Re: Impelmenting NSWindows95InterfaceStyle On 19 Jan., 04:57, Germán Arias ger...@xelalug.org wrote: Hi, after inspect the source of NSMenu.m and others files. I think that I can try to implement the option NSWindows95InterfaceStyle. I have one idea to do that, and I want know what do you

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread Richard Frith-Macdonald
On 19 Jan 2009, at 19:12, Germán Arias wrote: El lun, 19-01-2009 a las 13:46 +0100, Fred Kiefer escribió: Sounds like the right condition to decide whether to add a menu. But what should we do in the case, when there isn't a main window? Take for example the GSTest application that doesn't

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread Robert J. Slover
I agree. However, on Windows, I'd expect the menu to be attached to an MDI window containing the other open windows (if any) when it has no other natural home. --Robert The main problem is that it's not much like the way mswindows behaves ... we want to implement an

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread Gregory John Casamento
discuss-gnustep@gnu.org Sent: Monday, January 19, 2009 6:12:02 PM Subject: Re: Impelmenting NSWindows95InterfaceStyle I agree. However, on Windows, I'd expect the menu to be attached to an MDI window containing the other open windows (if any) when it has no other natural home. --Robert

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread Richard Frith-Macdonald
On 19 Jan 2009, at 23:10, David Chisnall wrote: On 19 Jan 2009, at 20:52, Richard Frith-Macdonald wrote: The normal solution to that is to disallow shrinking of the windowto be smaller than the menu, but another is to allow scrolling of the menu inside the window so that you can get to

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-19 Thread Dr. H. Nikolaus Schaller
-gnustep@gnu.org Sent: Monday, January 19, 2009 1:54:51 AM Subject: Re: Impelmenting NSWindows95InterfaceStyle On 19 Jan., 04:57, Germán Arias ger...@xelalug.org wrote: Hi, after inspect the source of NSMenu.m and others files. I think that I can try to implement the option

Impelmenting NSWindows95InterfaceStyle

2009-01-18 Thread Germán Arias
Hi, after inspect the source of NSMenu.m and others files. I think that I can try to implement the option NSWindows95InterfaceStyle. I have one idea to do that, and I want know what do you think about this. Well, I think that the most easy and elegant way to implement this is make a new window

Re: Impelmenting NSWindows95InterfaceStyle

2009-01-18 Thread h...@computer.org
On 19 Jan., 04:57, Germán Arias ger...@xelalug.org wrote: Hi, after inspect the source of NSMenu.m and others files. I think that I can try to implement the option NSWindows95InterfaceStyle. I have one idea to do that, and I want know what do you think about this. Well, I think that the most