AFXApp

This class is responsible for providing some high-level GUI control methods.


AFXApp(appName=ABAQUS/CAE, vendorName=ABAQUS, Inc., productName='', majorNumber=-1, minorNumber=-1, updateNumber=-1, prerelease=FALSE)

Constructor.

ArgumentTypeDefaultDescription
appNameStringABAQUS/CAEApplication registry key.
vendorNameStringABAQUS, Inc.Vendor registry key.
productNameString''Product name.
majorNumberInt-1Major version number.
minorNumberInt-1Minor version number.
updateNumberInt-1Update version number.
prereleaseIntFALSEOfficial/Prerelease flag.


create()

Creates windows for the application.

Reimplemented from FXApp.


getAFXMainWindow()

Returns a pointer to the AFXMainWindow.


getBasePrerelease()

Returns TRUE if the base product is a prerelease.


getBaseProductName()

Returns the base product name.


getBaseVersionNumbers(majorNumber, minorNumber, updateNumber)

Returns the base product's major, minor, and update numbers.

ArgumentTypeDefaultDescription
majorNumberInt Major version number.
minorNumberInt Minor version number.
updateNumberInt Update version number.


getKernelInitializationCommand()

Returns the command string that will be issued upon application startup.


getPrerelease()

Returns the value of the prerelease member (set in the constructor).


getProductName()

Returns the product name (set in the constructor).


getVersionNumbers()

Returns the major, minor, and update numbers.


init(argc, argv)

Initializes the application and connects to the kernel.

ArgumentTypeDefaultDescription
argcInt  
argvString  


isLocked()

Returns TRUE if the GUI is locked or FALSE if otherwise.


isProductCAE()

Returns TRUE if the base product is CAE.


isProductViewer()

Returns TRUE if the base product is Viewer.


lock()

Locks the GUI (normally used during command and mode processing).


run()

Runs the main application event loop until stop() is called,.

Reimplemented from FXApp.


runUntil(condition)

Run an event loop till some flag becomes non-zero.

Reimplemented from FXApp.

ArgumentTypeDefaultDescription
conditionInt  


unlock()

Unlocks the GUI.


Class flags

Message ID's.

ID_QUERY_GUILOCK

Used to query whether the GUI is locked.

ID_SHOW_HOURGLASS

Used to change the cursor.