Geant4
10.03.p03
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Functions
wheelmouse.h File Reference
This graph shows which files directly or indirectly include this file:
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
}
mouseScroll
static void mouseScroll(Widget, XtPointer client_data, XEvent *event)
Definition:
wheelmouse.cc:57
Here is the call graph for this function:
source
geant4.10.03.p03
source
visualization
OpenInventor
include
wheelmouse.h
Generated on Tue Nov 28 2017 21:45:29 for Geant4 by
1.8.5