Common Desktop Environment: Style Guide and Certification Checklist
この本のみを検索
PDF 文書ファイルをダウンロードする

Mouse Functions

B

On a one-, two-, or three- button mouse, the mouse buttons are assigned to various functions which are defined below.
Some two-button mice use chording as a way to simulate a third mouse button. If so, treat as a three-button mouse, where mouse button 3 is mouse button 1+mouse button 2 (chorded).
Motif supports two different mouse models:
  • Separate Selection and Transfer:

    · Mouse button 1 is used only for selection and activation.

    · Mouse button 2 is used only for data transfer and direct manipulation.

  • Integrated Selection and Transfer:

    · Mouse button 1 is used both for selection and activation and for data transfer and direct manipulation.

The way the mouse buttons are assigned depends upon the number of mouse buttons available, as well as whether selection and transfer are integrated or are separate.
Regardless of the way that the buttons are assigned, a number of "virtual" mouse buttons are defined:
SELECT......Used for selection and activation. SELECT is always mouse button 1 (the leftmost button,for a right-handed person).
ADJUSTUsed for adjusting and selection. ADJUST is always Shift+mouse button 1. In addition, on a three-button mouse, with integrated selection and transfer, ADJUST may optionally be assigned to mouse button 2.
TRANSFERUsed for data transfer and manipulation operations. With separate selection and transfer, TRANSFER is always assigned to mouse button 2. With integrated selection and transfer, TRANSFER is mouse button 1 (integrated with SELECT), and on a three-button mouse, may also optionally be assigned to mouse button 2.
MENUUsed to obtain pop-up menus. On a three-button mouse, MENU is always assigned to mouse button 3. On a two-button mouse with integrated selection and transfer, MENU is assigned to mouse button 2. Otherwise, MENU is assigned to Alt+mouse button 1.
That is, on a two- or three-button Mouse, with Separated SELECTION and TRANSFER, the virtual mouse buttons are assigned as follows:
SELECTmouse button 1
ADJUSTShift+mouse button 1
TRANSFERmouse button 2
MENUmouse button 3 on a three-button mouse, or Alt+mouse button 1 on a two-button mouse
On a one-, two-, or three-button mouse, with Integrated SELECTION and TRANSFER, the virtual mouse buttons are assigned as followed:
SELECTmouse button 1 (integrated with TRANSFER)
ADJUSTShift+mouse button 1. Optionally mouse button 2 on a three-button mouse
TRANSFERmouse button 1 (integrated with SELECT) Optionally mouse button 2 on a three-button mouse.
MENUmouse button 3 on a three-button mouse, or mouse button 2 on a two-button mouse, or Alt+mouse button 1 on a one-button mouse.

Note - On a three-button mouse, with integrated selection and transfer, if neither ADJUST nor TRANSFER are assigned to mouse button 2, mouse button 2 may be used for application-defined purposes.

Mouse Operations and Functions

Table B-1
Operation NameFunction
ActivateActivates a control that doesn't have selections.
Default Activate OpenSelects and performs default action on item Open.
OpenOpens view corresponding to icon Open.
ManipulateManipulates nonselectable aspects of the interface (for example. scroll).
Move CursorMoves cursor to component or element.
Spring-Loaded Pull-down MenuDisplays persistent pull-down menu from cascade button.
Persistent Pull-down MenuDisplays persistent pull-down menu from cascade button.
Point SelectSelects an item if over one, deselecting other items (browse and extended selection).
Browse SelectShows which items can be selected, selecting one over which pointer is released.
Group Click SelectSelects a range or area of elements.
Group Swipe SelectSelects a range or area of elements.
Point Toggle[select mode] Toggles selection state of an item (extended selection).
Group Click Toggle[select mode] Toggles elements in range or area (extended selection).
Group Swipe Toggle[select mode] Toggles elements in range or area (extended selection).
Table B-1 (Continued)
Operation NameFunction
Point Toggle[toggle mode] Toggles selection state of an item (single and multiple selection).
Group Click Toggle[toggle mode] Toggles elements in range or area (multiple selection).
Adjust ClickAdjusts current selection region.
Adjust SwipeAdjusts current selection region.
Select WordSelects a word in text.
Range Click Select WordSelects a range of words
Range Swipe Select WordSelects a range of words.
Toggle WordToggles selection of a word.
Range Click Toggle WordToggles a range of words.
Range Swipe Toggle WordToggles a range of words.
Adjust Click WordAdjusts selection to word boundary.
Adjust Swipe WordAdjusts selection in word increments.
Primary CopyCopies primary selection to pointer.
Primary MoveMoves primary selection to pointer.
Primary LinkLinks primary selection to pointer.
Quick CopyMakes and copies secondary selection to destination.
Quick MoveMakes and move secondary selection to destination.
Quick LinkMakes and link secondary selection to destination.
Drag TransferTransfers dragged items to pointer (usually move).
Drag CopyCopies dragged items to pointer.
Drag MoveMoves dragged items to pointer.
Drag LinkLinks dragged items to pointer.
Spring-Loaded Pop-up MenuDisplays spring-loaded pop-up menu.
Persistent Pop-up MenuDisplays persistent pop-up menu.

Select and Adjust Binding

SELECTThis is the virtual mouse button used for selection and activation. SELECT is always mouse button 1 (the leftmost button, for a right-handed person).
ADJUSTThis is the virtual mouse button used for adjusting a selection. ADJUST is always Shift+mouse button 1. In addition, on a three-button mouse, with integrated selection and transfer, ADJUST may optionally be assigned to mouse button 2.
Table B-2
Operation NameKey Bindings
ActivateSELECT Click
Default ActivateSELECT Double-Click
OpenSELECT Double-Click
ManipulateSELECT Press, Move, Release
Move CursorControl+SELECT Click
Spring-Loaded pull-down MenuSELECT Press
Persistent pull-down MenuSELECT Click
Point SelectSELECT Click
Browse SelectSELECT Press, Move, Release
Group Click SelectSELECT Click, Move, ADJUST Click
Group Swipe SelectSELECT Press, Move, Release
Point Toggle[select mode] Control+SELECT Click
Group Click Toggle[select mode] Control+SELECT Click, Move,
ADJUST Click
Group Swipe Toggle[select mode] Control+SELECT Press, Move, Release
Point Toggle[toggle mode] SELECT Click
Group Click Toggle[toggle mode] SELECT Click, Move, ADJUST Click
Group Swipe Toggle[toggle mode] SELECT Press, Move, Release
Table B-2 (Continued)
Operation NameKey Bindings
Adjust ClockADJUST Click
Adjust SwipeADJUST Press, Move, Release
Adjust ClickControl+ADJUST Click
Adjust SwipeControl+ADJUST Press, Move, Release
Select WordSELECT Double-Click
Range Click Select WordSELECT Double-Click, Move, Adjust Click
Range Swipe Select WordSELECT Double Press, Move, Release
Toggle WordControl+SELECT Double-Click
Range Click Toggle WordControl+SELECT Double-Click, Move, ADJUST Click
Range Swipe Toggle WordControl+SELECT Double-Click, Move, Release
Adjust Click WordADJUST Double-Click
Adjust Swipe WordADJUST Double Press, Move, Release
Adjust Click WordControl+ADJUST Double-Click
Adjust Swipe WordControl+ADJUST Double Press, Move, Release

Transfer Bindings

TRANSFER.....This is the virtual mouse button which may be used for data transfer and manipulation operations. On a two-or three-button Mouse, with separate Selection and Transfer, TRANSFER is always assigned to mouse button 2. On a one-, two-, or three-button Mouse, with Integrated Selection and Transfer, TRANSFER is always assigned to mouse button 1 (integrated with SELECT). In addition, on a three-button Mouse, with Integrated Selection and Transfer, TRANSFER may optionally be assigned to mouse button 2.
Table B-3
Operation NameKey Bindings
ManipulateTRANSFER Press, Move, Release
Primary CopyTRANSFER Click
Primary CopyControl+TRANSFER Click
Primary MoveShift+TRANSFER Click
Primary LinkControl+Shift+TRANSFER Click
Quick CopyAlt+TRANSFER Press, Move, Control+Release
Quick MoveAlt+TRANSFER Press, Move, Shift+Release
Quick LinkAlt+TRANSFER Press, Move, Control+Shift+Release
The set of bindings in Table B-4 are always defined. When selection and transfer are integrated, Style Guide rules indicate when these bindings are used for transfer vs. selection.
Table B-4
Operation NameKey Bindings
Drag TransferTRANSFER Press, Move, Release
Drag CopyTRANSFER Press, Move, Control+Release
Drag MoveTRANSFER Press, Move, Shift+Release
Drag LinkTRANSFER Press, Move, Control+Shift+Release

Menu Bindings

MENU is the virtual mouse button used to obtain popup menus. On a two-or three-button mouse, with separate SELECTION and TRANSFER:
MENU.......mouse button 3 on a three- button mouse, or Alt+mouse button 1 on atwo-button mouse.
On a one-, two-, or three-button mouse, with integrated selection and transfer:
MENU.......mouse button 3 on a three-button mouse, or mouse button 2 on a two-button mouse, or Alt+mouse button 1 on a one-button mouse.
Table B-5
Operation NameKey Bindings
Spring-Loaded Popup MenuMENU Press
Persistent Popup MenuMENU Click
Spring-Loaded pull-down MenuMENU Press
Persistent pull-down MenuMENU Click