View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0006487 | VTK | (No Category) | public | 2008-03-02 10:40 | 2016-08-12 09:54 | ||||
Reporter | Dan Wilson | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | feature | Reproducibility | N/A | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0006487: Support for the Mac Command key (⌘) (patch included) | ||||||||
Description | VTK has support for the Alt, Control and Shift modifier keys, but not the Mac Command key (⌘). A patch is attached which adds this support for Cocoa-based applications. (The patch is relative to CVS sources as of 2nd March 2008) | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | commandKey.diff [^] (1,076 bytes) 2008-03-02 10:40 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0010714) Sean McBride (developer) 2008-03-05 16:11 |
I'm a little confused as to the grand purpose here... You've added a 'command key' boolean and get and set accessors, but who would call them? and when? and why? |
(0010715) Dan Wilson (reporter) 2008-03-05 16:45 |
It's used in exactly the same way as GetAltKey, GetControlKey and GetShiftKey from vtkRenderWindowInteractor, except that it's Mac-specific, so it must live in the subclass. It can be used in a custom vtkInteractorStyle for a Mac app, to replace or augment behaviour like: if (this->Interactor->GetControlKey()) { this->StartSpin(); } In my app, I use it in a callback command to determine whether the command key was pressed when the user clicked on one of my actors. I do this so that the behaviour of my app sticks closely to the OSX human interface guidelines, which describe the differences between Shift-clicking and Command-clicking. |
(0036957) Kitware Robot (administrator) 2016-08-12 09:54 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-03-02 10:40 | Dan Wilson | New Issue | |
2008-03-02 10:40 | Dan Wilson | File Added: commandKey.diff | |
2008-03-05 16:11 | Sean McBride | Note Added: 0010714 | |
2008-03-05 16:45 | Dan Wilson | Note Added: 0010715 | |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
2016-08-12 09:54 | Kitware Robot | Note Added: 0036957 | |
2016-08-12 09:54 | Kitware Robot | Status | expired => closed |
2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
2016-08-12 09:54 | Kitware Robot | Assigned To | => Kitware Robot |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |