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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 03:04:52 GMT