[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: My GWorkspace feature request
From: |
Philippe C . D . Robert |
Subject: |
Re: My GWorkspace feature request |
Date: |
Sun, 22 Jun 2003 18:00:36 +0200 |
On Sunday, June 22, 2003, at 03:23 PM, Enrico Sersale wrote:
Totally annoyed by this discussion I've removed the menues. It's on
cvs.
Hi Enrico,
it is your app - a great app by the way - so you can do what you like
most. But I believe that here you are going in the wrong direction.
Can you give good reasons why you did so apart from being annoyed by
a discussion which was not able to give a final answer on the >> subject?
Well, I'm still evaluating what to do; it seems that there are many
persons that like this feature. Moreover, the contestual menues came
from a contribution of a user; some time ago Matt Rice sent me a > patch.
The real problem now is that, during this discussion, Adam Fedor has
written that -menuForEvent: is "discouraged". And I don't know if
GWorkspace should use a "discouraged" method...
Why is this method supposed to be discouraged? I must have missed this
one, it seems... Besides, Apple's documentation says the following
about contextual menus:
"You can attach a contextual menu to any NSView object. When the user
Control-clicks on that view, the menu appears. To assign a menu to a
view, use setMenu:, which NSView inherits from NSResponder.
Your subclass can define a menu that’s used for all instances by
implementing the defaultMenu class method. To change the menu displayed
based on the mouse event, override the menuForEvent: instance method.
This allows the view clicked to display different menus based on the
location of the mouse and of the view’s state, or to change or enable
individual menu items based on the commands available for the view or
for that region of the view."
So to me this sounds not discouraging, but then I am aware that this is
Cocoa and not OpenStep.
-Phil
--
Philippe C.D. Robert
http://www.nice.ch/~phip
- Re: My GWorkspace feature request, (continued)
- Message not available
- Re: My GWorkspace feature request, MJ Ray, 2003/06/16
- Re: My GWorkspace feature request, Nicolas Roard, 2003/06/16
- Re: My GWorkspace feature request, Christopher Culver, 2003/06/15
- Re: My GWorkspace feature requests, Christopher Culver, 2003/06/18
- Re: My GWorkspace feature requests, Enrico Sersale, 2003/06/18
- Re: My GWorkspace feature request, Eric Christopherson, 2003/06/19
- Re: My GWorkspace feature request, Eric Christopherson, 2003/06/20
- Re: My GWorkspace feature request, Lars Sonchocky-Helldorf, 2003/06/21
- Re: My GWorkspace feature request, Philippe C . D . Robert, 2003/06/22
- Re: My GWorkspace feature request,
Philippe C . D . Robert <=
- Re: GWorkspace.app Feature Request-- Tabbed Shelf, Charles Philip Chan, 2003/06/24
- Re: GWorkspace.app Feature Request-- Tabbed Shelf, Jeff Teunissen, 2003/06/27
- Re: GWorkspace.app Feature Request-- Tabbed Shelf, Andreas Heppel, 2003/06/27
- Re: GWorkspace.app Feature Request-- Tabbed Shelf, Charles Philip Chan, 2003/06/27
- Re: GWorkspace.app Feature Request-- Tabbed Shelf, Andreas Heppel, 2003/06/27
- Re: GWorkspace.app Feature Request-- Tabbed Shelf, Charles Philip Chan, 2003/06/27
Re: ANNOUNCE GWorkspace 0.5.2 & GWRemote 0.1, Andreas Heppel, 2003/06/12