Prev: Xlib functions and variables Up: Xlib Top: Top

2.2. Display object

A display object can only be acquired by using the widget method Display or by the Xt function OpenDisplay.

Display objects (display_objects) have the following methods:

CheckMaskEvent (event_mask) -- Method on Display object
Returns None. This function corresponds with XCheckMaskEvent.
ConnectionNumber () -- Method on Display object
Returns connection_number. This function corresponds with ConnectionNumber.
CreateFontCursor (shape) -- Method on Display object
Returns cursor. This function corresponds with XCreateFontCursor.
Flush () -- Method on Display object
Returns None. This function corresponds with XFlush.
GetVisualInfo (template_dict) -- Method on Display object
Returns vi_object_list. This function corresponds with XGetVisualInfo.
InternAtom (atom_name, only_if_exists) -- Method on Display object
Returns atom. This function corresponds with XInternAtom.
NextEvent () -- Method on Display object
Returns event. This function corresponds with XNextEvent.
PeekEvent () -- Method on Display object
Returns event. This function corresponds with XPeekEvent.
PutBackEvent (event) -- Method on Display object
Returns None. This function corresponds with XPutBackEvent.
Synchronize (onoff) -- Method on Display object
Returns None. This function corresponds with XSynchronize.