[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSMenu* and NSPopuUp* issues
From: |
Stefan Urbanek |
Subject: |
Re: NSMenu* and NSPopuUp* issues |
Date: |
Fri, 21 Mar 2003 12:48:57 +0100 |
On 2003-03-21 09:18:31 +0100 Serg Stoyan <stoyan@hologr.com> wrote:
Hi everybody,
Currently I'm working on fixing as much as possible NSMenu* and
NSPopUp* related problems and bugs. I've found semi-working horizontal
menus code. I've search through mail list archive and found discussions
about horizontal menus. As a result of this discussion was:
1. Doesn't add horizontal menus into GNUstep library.
2. If someone needs this, reach this feature by making theme bundle.
(example: http://w1.423.telia.com/~u42308495/alex/sillytheme-0.0.tar.gz)
So, finally, we have to decide: Do we need horizontal menus in GNUstep
library or not? There is 2 ways:
I see several advantages of horizontal menu:
- we are able to implement application menu (apple menu)
- it is possible to implement NSStatusBar
Application (apple) menu is Good Thing to have. GNUstep should take care about
the contents of that menu. Possible ussages:
1. Application extensions, like debuging tools (memory panel, application
object hierarchy browser,...)
2. Scripting extension should be put there (opening of script panel,
transcript,...)
3. any other third party application extensions
The idea is to have */Library/Application Extensions/*.bundle. On the
application startup, all or desired budles are loaded and additional menu items
are inserted into the application menu (somewhere under Info.. and above Hide
and Quit items). For speed up of launching, some cache mechanism should be used
(like make_services).
There should be many other ussages of horizontal menu or application menu entry.
Stefan