|
Class: EventMonitorView (private in EventMonitor
This class is only visible from within
EventMonitor.
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--View
|
+--EventMonitor::EventMonitorView
- Package:
- stx:libtool
- Category:
- Monitors-ST/X
- Owner:
- EventMonitor
like xev - show events.
You can use this to check your keyboard mappings, for example.
start with:
EventMonitorView open
and watch the output on xterm.
This is one of the oldest apps inside ST/X. Don't look too deep into the code...
defaults
-
defaultExtent
-
-
defaultLabel
-
startup
-
isVisualStartable
-
accessing
-
outputStream: aStream
-
-
showButtonMotion
-
-
showButtonMotion: aBoolean
-
-
showFocusEvents
-
-
showFocusEvents: aBoolean
-
-
showTimestamp
-
-
showTimestamp: aBoolean
-
drawing
-
redraw
-
-
showEventTime
-
events
-
buttonMotion: state x: x y: y
-
(comment from inherited method)
button was moved
-
buttonMultiPress: button x: x y: y
-
(comment from inherited method)
button was pressed quickly again - check my components for a hit.
-
buttonPress: button x: x y: y
-
(comment from inherited method)
button was pressed - check my components for a hit.
-
buttonRelease: button x: x y: y
-
(comment from inherited method)
button was released - check my components for a hit.
-
configureX: x y: y width: newWidth height: newHeight
-
(comment from inherited method)
my size has changed by window manager action
-
coveredBy: coveringView
-
-
dispatchEvent: event withFocusOn: focusViewOrNil delegate: doDelegate
-
Timestamp now printOn:outputStream.
-
dropMessage: dropType data: dropData
-
-
focusIn
-
(comment from inherited method)
got keyboard focus (via the window manager).
Nothing done here
-
focusOut
-
(comment from inherited method)
lost keyboard focus (via the window manager).
Nothing done here
-
hasKeyboardFocus: aBoolen
-
(comment from inherited method)
notification from the windowGroup that I got the keyboardFocus.
-
keyPress: key x: x y: y
-
(comment from inherited method)
a key has been pressed. If there are components,
pass it to the corresponding one.
Otherwise, forward it to the superview, if there is any.
-
keyRelease: key x: x y: y
-
(comment from inherited method)
a key has been released. If there are components,
pass it to the corresponding one.
Otherwise, do whatever my superclass would do.
-
mapped
-
(comment from inherited method)
the view has been mapped (by some outside
action - i.e. window manager de-iconified me)
-
pointerEnter: state x: x y: y
-
(comment from inherited method)
mouse pointer entered - request the keyboard focus (sometimes)
-
pointerLeave: state
-
(comment from inherited method)
mouse pointer left
-
sizeChanged: how
-
(comment from inherited method)
tell subviews that I changed size.
How is either #smaller, #larger or nil, and is used to control the order,
in which subviews are notified (possibly reducing redraw activity)
-
unmapped
-
(comment from inherited method)
the view has been unmapped
(either by some outside action - i.e. window manager iconified me,
or due to unmapping of my parentView).
-
visibilityChange: how
-
(comment from inherited method)
the visibility of the view has changed (by some outside
action - i.e. window manager rearranged things).
Using this knowledge avoids useless redraw in obscured views.
initialization
-
initialize
-
realization
-
initEvents
-
self enableEvent:#structureNotify.
|