X11Window

Class representing an X11-window.

See also

Summary
X11WindowClass representing an X11-window.
Properties
widthGet width of window.
heightGet height of window.
titleSet title of window.
Functions
X11Window.newConstructor.
resizeChange the size of the window.
showOpen (map) the window and wait for X-server notification.
closeClose (unmap) the window and wait for X-server notification.

Properties

width

Get width of window.

height

Get height of window.

title

Set title of window.

Functions

X11Window.new

def X11Window.new(display,  
painter,  
width,  
height,  
parent =  0)

Constructor.

Parameters

displayX11Display object
painterX11Output object for painting the window content
widthinitial width of window
heightinitial height of window
parentparent window id

See also

resize

def resize(width,
height)

Change the size of the window.

Parameters

widthdesired width
heightdesired height

show

def show

Open (map) the window and wait for X-server notification.

close

def close

Close (unmap) the window and wait for X-server notification.

def X11Window.new(display,  
painter,  
width,  
height,  
parent =  0)
Constructor.
def resize(width,
height)
Change the size of the window.
def show
Open (map) the window and wait for X-server notification.
def close
Close (unmap) the window and wait for X-server notification.
Class for opening and closing an X11-display.
Base class for different types of output to an X11 window.
Output object to display images on an X-display by using OpenGL.
Output object to display images on an X-display with Xvideo extension to make use of 2D hardware acceleration.
Close