eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'WindowEvent::ButtonEvent':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ButtonEvent (private in WindowEvent

This class is only visible from within WindowEvent.

Inheritance:

   Object
   |
   +--Message
      |
      +--MessageSend
         |
         +--Event
            |
            +--WindowEvent
               |
               +--WindowEvent::InputEvent
                  |
                  +--WindowEvent::ButtonEvent
                     |
                     +--WindowEvent::ButtonMotionEvent
                     |
                     +--WindowEvent::ButtonPressEvent
                     |
                     +--WindowEvent::ButtonReleaseEvent
                     |
                     +--WindowEvent::MouseWheelMotionEvent

Package:
stx:libview
Category:
Interface-Support-UI
Owner:
WindowEvent

Instance protocol:

accessing
o  button
return the button nr of the button-event

o  state
return the button state of the button-event
(mouse button bits at the time of the event).

o  x
return the x coordinate of the button-event
(mouse position at the time of the event).

o  x: anInteger
change the x coordinate of the button-event

o  y
return the y coordinate of the button-event
(mouse position at the time of the event).

o  y: anInteger
change the y coordinate of the button-event

testing
o  isButtonEvent
return true, if this event is a button event

o  isUserEvent
return true, if this event from a user



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 29 Mar 2024 14:34:41 GMT