Geant4.10
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4.10.00.p01
source
visualization
OpenInventor
include
Functions
wheelmouse.h File Reference
Go to the source code of this file.
Functions
void
xmAddMouseEventHandler
(Widget w)
Function Documentation
void
xmAddMouseEventHandler
(
Widget
w
)
Definition at line
125
of file
wheelmouse.cc
.
126
{
127
Widget wid;
128
129
/* we need to pass the scrollbar widget to the handler */
130
XtVaGetValues(XtParent(w),XmNverticalScrollBar, &wid, NULL);
131
132
/* handler for the scrolledList/ScrolledText */
133
XtAddEventHandler(w, ButtonReleaseMask, False,
134
(XtEventHandler) mouseScroll, wid);
135
/* and for the scrollbar itself */
136
XtAddEventHandler(wid, ButtonReleaseMask, False,
137
(XtEventHandler) mouseScroll, wid);
138
}
Generated on Wed Apr 30 2014 15:55:52 for Geant4.10 by
1.8.7