Class for opening and closing an X11-display. You need to access the display first in order to open windows under GNU+Linux.
| X11Display | Class for opening and closing an X11-display. |
| Constants | |
| INFINITE | Infinite waiting time. |
| Properties | |
| width | Get width of default screen. |
| height | Get height of default screen. |
| Functions | |
| X11Display.new | Constructor. |
| X11Display.show | A loop for displaying videos. |
| eventLoop | Wait for events. |
| processEvents | Process all pending events. |
| status? | Indicates whether the user tried to close a window or pressed ‘Escape’. |
| status= | Set the status value. |
Constructor.
def X11Display.new( name = ":0.0" )
A loop for displaying videos.
def X11Display.show( width = nil, height = nil )
Wait for events.
def eventLoop( timeout = INFINITE )
Process all pending events.
def processEvents
Indicates whether the user tried to close a window or pressed ‘Escape’.
def status?
Set the status value.
def status=( value )