[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Impelmenting NSWindows95InterfaceStyle
From: |
Germán Arias |
Subject: |
Re: Impelmenting NSWindows95InterfaceStyle |
Date: |
Mon, 19 Jan 2009 14:41:33 -0600 |
To touch up the idea.
El lun, 19-01-2009 a las 13:12 -0600, Germán Arias escribió:
> We need an flexible menu and easy change with NSNextStepInterfaceStyle,
> NSMacintoshInterfaceStyle and NSWindows95InterfaceStyle. Now I propose a
> new solution. As said Nikolaus, he proposed a [window setMenu:], then
> why not implement this method together my idea?. This solution work on
> this way:
>
> When you set NSWindow95InterfaceStyle, GNUstep check if there is a main
> window, if this exist set the menu in that window (with [window
> setMenu:]). Call the method setMinSize, with a value that prevent hidden
> options (the programmer need careful in this), and perform a connection
> to window with (for example) AppController, with sometime like this
>
> - (void) windowWillClose: (NSNotification *)aNotification;
> {
> if( (style == NSWindows95InterfaceStyle]) && (thereIsMainWindow) )
> {
> [NSApp terminate: self] ;
> }
> }
>
>
Well, we don't need check this, if NSWindow95InterfaceStyle isn't set
and there isn't a main window, this connection isn't made.
> If there isn't a main window then, GNUstep make a new window as I said
> before.
>
> And I don't see problem if the user want set his own menus in other
> windows (of course not the main window).
>
> What do you think about this new idea?
Now I see the problem, maybe we need a new class inherits from NSMenu,
focused to make horizontal menus (but not main menus).
- Impelmenting NSWindows95InterfaceStyle, Germán Arias, 2009/01/18
- Re: Impelmenting NSWindows95InterfaceStyle, address@hidden, 2009/01/19
- Re: Impelmenting NSWindows95InterfaceStyle, Richard Frith-Macdonald, 2009/01/19
- Re: Impelmenting NSWindows95InterfaceStyle, Pete French, 2009/01/19
- Re: Impelmenting NSWindows95InterfaceStyle, Matt Rice, 2009/01/19
- Re: Impelmenting NSWindows95InterfaceStyle, Fred Kiefer, 2009/01/19
- Re: Impelmenting NSWindows95InterfaceStyle, Pete French, 2009/01/19
- Re: Impelmenting NSWindows95InterfaceStyle, Matt Rice, 2009/01/19
- Re: Impelmenting NSWindows95InterfaceStyle, Germán Arias, 2009/01/19
- Re: Impelmenting NSWindows95InterfaceStyle,
Germán Arias <=
- Re: Impelmenting NSWindows95InterfaceStyle, Richard Frith-Macdonald, 2009/01/19
- Re: Impelmenting NSWindows95InterfaceStyle, Germán Arias, 2009/01/19
- Re: Impelmenting NSWindows95InterfaceStyle, Robert J. Slover, 2009/01/19
- Re: Impelmenting NSWindows95InterfaceStyle, Gregory John Casamento, 2009/01/19
- Re: Impelmenting NSWindows95InterfaceStyle, Riccardo Mottola, 2009/01/20
- Re: Impelmenting NSWindows95InterfaceStyle, David Chisnall, 2009/01/20
- Re: Impelmenting NSWindows95InterfaceStyle, Riccardo Mottola, 2009/01/20
- Re: Impelmenting NSWindows95InterfaceStyle, Robert J. Slover, 2009/01/21
- Re: Impelmenting NSWindows95InterfaceStyle, Nicolas Roard, 2009/01/21
- Re: Impelmenting NSWindows95InterfaceStyle, Germán Arias, 2009/01/21