mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:30:37 +00:00
* Source/NSOutlineView.m ([NSOutlineView -drawRow:clipRect:]):
Add delegate method call. Patch from Yen-Ju Chen * Source/NSView.m (-menuForEvent:): Add note about this method being discouraged. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16981 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
973ca041b4
commit
69f3b2d234
3 changed files with 23 additions and 0 deletions
|
@ -3818,6 +3818,13 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
|
|||
* (although it seems it can be used for any kind of event)</p>
|
||||
* <p>This method is used by NSView's rightMouseDown: method,
|
||||
* and the returned NSMenu is displayed as a context menu</p>
|
||||
* <p>Use of this method is discouraged in GNUstep as it breaks many
|
||||
* user interface guidelines. At the very least, menu items that appear
|
||||
* in a context sensitive menu should also always appear in a normal
|
||||
* menu. Otherwise, user are faced with an inconsistant interface where
|
||||
* the menu items they want are only available in certain (possibly
|
||||
* unknown) cases, making it difficult for the user to understand how
|
||||
* the application operates</p>
|
||||
* <p> see [NSResponder -menu], [NSResponder -setMenu:],
|
||||
* [NSView +defaultMenu] and [NSView -menu].
|
||||
* </p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue