Class representing an X11-window.
| X11Window | Class representing an X11-window. |
| Properties | |
| width | Get width of window. |
| height | Get height of window. |
| title | Set title of window. |
| Functions | |
| X11Window.new | Constructor. |
| resize | Change the size of the window. |
| show | Open (map) the window and wait for X-server notification. |
| close | Close (unmap) the window and wait for X-server notification. |
def X11Window.new( display, painter, width, height, parent = 0 )
Constructor.
| display | X11Display object |
| painter | X11Output object for painting the window content |
| width | initial width of window |
| height | initial height of window |
| parent | parent window id |
Constructor.
def X11Window.new( display, painter, width, height, parent = 0 )
Change the size of the window.
def resize( width, height )
Open (map) the window and wait for X-server notification.
def show
Close (unmap) the window and wait for X-server notification.
def close