4.1 Xt functions and variables

The functions in the Xt library that have a widget argument are all turned into widget methods. The functions in the Xt library that have a widget class argument have been turned into widget_class methods. The remaining functions are given here.

The Xt module defines the following functions and variables:

ApplicationShell
Widget class object.

Composite
Widget class object.

Constraint
Widget class object.

OverrideShell
Widget class object.

Shell
Widget class object.

SpecificationRelease
XtSpecificationRelease.

TopLevelShell
Widget class object.

TransientShell
Widget class object.

VendorShell
Widget class object.

WMShell
Widget class object.

AddActionHook( cbfunc, cbarg)
Returns action_id. This function corresponds with XtAppAddActionHook.

AddActions( argdict)
This function corresponds with XtAddActions.

AddInput( source, condition, proc, client_data)
Returns input_id. This function corresponds with XtAddInput.

AddTimeOut( interval, proc, client_data)
Returns interval_id. This function corresponds with XtAddTimeOut.

AddWorkProc( proc, client_data)
Returns workproc_id. This function corresponds with XtAddWorkProc.

AppInitialize( app_class, option_list, fallback_resource_list, argdict)
Returns widget. This function corresponds with XtAppInitialize.

CreateApplicationShell( application_name, widget_class, argdict)
Returns widget. This function corresponds with XtCreateApplicationShell.

DispatchEvent( event)
Returns success. This function corresponds with XtDispatchEvent.

GetSelectionTimeout( )
Returns timeout. This function corresponds with XtGetSelectionTimeout.

Initialize( [classname, option_list, argv])
Returns widget. This function corresponds with XtInitialize.

MainLoop( )
This function corresponds with XtMainLoop.

ManageChildren( widget_list)
This function corresponds with XtManageChildren.

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

OpenDisplay( [display, appname, classname, option_list, argv])
Returns display_object. This function corresponds with XtOpenDisplay.

ParseTranslationTable( table)
Returns translation_object. This function corresponds with XtParseTranslationTable.

PeekEvent( )
Returns event or None. This function corresponds with XtPeekEvent.

Pending( )
Returns mask. This function corresponds with XtPending.

ProcessEvent( mask)
This function corresponds with XtProcessEvent.

RemoveActionHook( action_id)
This function corresponds with XtRemoveActionHook.

RemoveInput( input_id)
This function corresponds with XtRemoveInput.

RemoveTimeOut( interval_id)
This function corresponds with XtRemoveTimeOut.

RemoveWorkProc( workproc_id)
This function corresponds with XtRemoveWorkProc.

SetFallbackResources( resource_list)
This function corresponds with XtAppSetFallbackResources.

SetSelectionTimeout( timeout)
This function corresponds with XtSetSelectionTimeout.

ToolkitInitialize( )
This function corresponds with XtToolkitInitialize.