Blame tests/doc/PressMB.3X

Packit b099d7
.\" Motif
Packit b099d7
.\"
Packit b099d7
.\" Copyright (c) 1987-2012, The Open Group. All rights reserved.
Packit b099d7
.\"
Packit b099d7
.\" These libraries and programs are free software; you can
Packit b099d7
.\" redistribute them and/or modify them under the terms of the GNU
Packit b099d7
.\" Lesser General Public License as published by the Free Software
Packit b099d7
.\" Foundation; either version 2 of the License, or (at your option)
Packit b099d7
.\" any later version.
Packit b099d7
.\"
Packit b099d7
.\" These libraries and programs are distributed in the hope that
Packit b099d7
.\" they will be useful, but WITHOUT ANY WARRANTY; without even the
Packit b099d7
.\" implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
Packit b099d7
.\" PURPOSE. See the GNU Lesser General Public License for more
Packit b099d7
.\" details.
Packit b099d7
.\"
Packit b099d7
.\" You should have received a copy of the GNU Lesser General Public
Packit b099d7
.\" License along with these librararies and programs; if not, write
Packit b099d7
.\" to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
Packit b099d7
.\" Floor, Boston, MA 02110-1301 USA
Packit b099d7
...\" 
Packit b099d7
...\" 
Packit b099d7
...\" HISTORY
Packit b099d7
# $XConsortium: PressMB.3X /main/4 1995/07/13 20:04:22 drk $
Packit b099d7
...\" **
Packit b099d7
...\" **
Packit b099d7
...\" **  (c) Copyright 1991, 1992 by Open Software Foundation, Inc.
Packit b099d7
...\" **      All Rights Reserved.
Packit b099d7
...\" **
Packit b099d7
...\" **
Packit b099d7
.TH PressMB 3X
Packit b099d7
.SH NAME
Packit b099d7
\*LPressMB\*O\(em Command to press any mouse button.
Packit b099d7
.SH SYNOPSIS
Packit b099d7
\*LPressMB\*O
Packit b099d7
\*V[ModifierList]* Button\*O
Packit b099d7
.SH DESCRIPTION
Packit b099d7
The
Packit b099d7
\*LPressMB\*O
Packit b099d7
command will simulate the pressing of a button on the standard mouse.
Packit b099d7
This press maybe modified by any of the standard X modifiers (any
Packit b099d7
combination). This function is usually accompanied by doing a 
Packit b099d7
\*LLocatePointer\*O first to a region which accepts mouse input. 
Packit b099d7
Be sure that \*LPressMB\*O is executed over a widget in the current
Packit b099d7
widget hierarchy.
Packit b099d7
.IP "\*V[ModifierList]*\*O" 14n
Packit b099d7
List of Modifiers to modify the mouse button press. For a full list of
Packit b099d7
available Modifiers see \*LModifierList(3X)\*O. The default is no modifiers.
Packit b099d7
.IP "\*VButton\*O"
Packit b099d7
Button to be pressed. For a full list of available buttons 
Packit b099d7
see \*LButtonList(3X)\*O.
Packit b099d7
.PP
Packit b099d7
This will press mouse Button 1, with the Control and Shift modifiers held down.
Packit b099d7
.PP 
Packit b099d7
For more information about \*LPressMB\*O, see
Packit b099d7
the \*EOSF/Motif Quality Assurance Test Suite User's Guide\*O.
Packit b099d7
.SH EXAMPLE
Packit b099d7
\*LPressMB <Shift> <Ctrl> Btn1\*O
Packit b099d7
.PP
Packit b099d7
.SH "RELATED INFORMATION"
Packit b099d7
.na
Packit b099d7
\*LLocatePointer(3X)\*O, \*LReleaseMB(3X)\*O, \*LClickMB(3X)\*O, 
Packit b099d7
\*LButtonList(3X)\*O, \*LModifierList(3X)\*O
Packit b099d7
.ad