2.2 Display

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:

ActivateScreenSaver( )
This function corresponds with XActivateScreenSaver.

AllowEvents( event_mode, time)
This function corresponds with XAllowEvents.

AutoRepeatOff( )
This function corresponds with XAutoRepeatOff.

AutoRepeatOn( )
This function corresponds with XAutoRepeatOn.

Bell( percent)
This function corresponds with XBell.

BitmapBitOrder( )
Returns BitmapBitOrder. This function corresponds with BitmapBitOrder.

BitmapPad( )
Returns BitmapPad. This function corresponds with BitmapPad.

BitmapUnit( )
Returns BitmapUnit. This function corresponds with BitmapUnit.

ChangeActivePointerGrab( event_mask, cursor, time)
This function corresponds with XChangeActivePointerGrab.

CheckMaskEvent( event_mask)
This function corresponds with XCheckMaskEvent.

CheckTypedEvent( event_type)
Returns event. This function corresponds with XCheckTypedEvent.

CloseDisplay( )
This function corresponds with XtCloseDisplay.

ConnectionNumber( )
Returns ConnectionNumber. This function corresponds with ConnectionNumber.

CreateFontCursor( shape)
Returns cursor. This function corresponds with XCreateFontCursor.

CreateGlyphCursor( source_font, mask_font, source_char, mask_char, fgRGB, bgRGB)
Returns cursor. This function corresponds with XCreateGlyphCursor.

CreatePixmapCursor( source, mask, fgRGB, bgRGB, x, y)
Returns cursor. This function corresponds with XCreatePixmapCursor.

DefaultScreen( )
Returns DefaultScreen. This function corresponds with DefaultScreen.

DisplayString( )
Returns DisplayString. This function corresponds with DisplayString.

Flush( )
This function corresponds with XFlush.

GetAtomName( atom)
Returns atom_name. This function corresponds with XGetAtomName.

GetVisualInfo( template_dict)
Returns vi_object_list. This function corresponds with XGetVisualInfo.

HeightMMOfScreen( )
Returns height_mm. This function corresponds with HeightMMOfScreen.

HeightOfScreen( )
Returns height. This function corresponds with HeightOfScreen.

ImageByteOrder( )
Returns ImageByteOrder. This function corresponds with ImageByteOrder.

InternAtom( atom_name, only_if_exists)
Returns atom. This function corresponds with XInternAtom.

LastKnownRequestProcessed( )
Returns LastKnownRequestProcessed. This function corresponds with LastKnownRequestProcessed.

ListHosts( )
Returns hostlist_state. This function corresponds with XListHosts.

ListPixmapFormats( )
Returns pixmapformats. This function corresponds with XListPixmapFormats.

LoadQueryFont( name)
Returns font_object. This function corresponds with XLoadQueryFont.

LockDisplay( )
This function corresponds with XLockDisplay.

NextEvent( )
Returns event. This function corresponds with XNextEvent.

NextRequest( )
Returns NextRequest. This function corresponds with NextRequest.

PeekEvent( )
Returns event. This function corresponds with XPeekEvent.

ProtocolRevision( )
Returns ProtocolRevision. This function corresponds with ProtocolRevision.

ProtocolVersion( )
Returns ProtocolVersion. This function corresponds with ProtocolVersion.

PutBackEvent( event)
This function corresponds with XPutBackEvent.

QLength( )
Returns QLength. This function corresponds with QLength.

ScreenCount( )
Returns ScreenCount. This function corresponds with ScreenCount.

SendEvent( window, propagate, event_mask, event)
Returns success. This function corresponds with XSendEvent.

ServerVendor( )
Returns ServerVendor. This function corresponds with ServerVendor.

Synchronize( onoff)
This function corresponds with XSynchronize.

UnlockDisplay( )
This function corresponds with XUnlockDisplay.

VendorRelease( )
Returns VendorRelease. This function corresponds with VendorRelease.

WidthMMOfScreen( )
Returns width_mm. This function corresponds with WidthMMOfScreen.

WidthOfScreen( )
Returns width. This function corresponds with WidthOfScreen.