Status Bar


Functions

void TecUtilStatusSuspend (Boolean_t DoSuspend)
  Suspends or un-suspends updates to the status line only.
void TecUtilStatusStartPercentDone (const char *PercentDoneText, Boolean_t ShowStopButton, Boolean_t ShowProgressBar)
  Called when a long operation that needs to present percent done information on the status line begins.
void TecUtilStatusSetPercentDoneText (const char *PercentDoneText)
  Sets the string to displayed on the percent done status line.
Boolean_t TecUtilStatusCheckPercentDone (int PercentDone)
  Tells the status line what percentage of the task is complete.
void TecUtilStatusFinishPercentDone (void)
  Called when a long operation that needs to present percent done information on the status line completes.


Function Documentation

Boolean_t TecUtilStatusCheckPercentDone ( int  PercentDone  ) 

Tells the status line what percentage of the task is complete.

Note:
If you are simply wanting to check the interrupted state of Tecplot then call TecUtilInterruptCheck instead. Note that the sense of the return value between these two functions is reversed.
Parameters:
PercentDone Integer value between 0 and 100 indicating the progress of the operation.
Returns:
TRUE if the task was NOT interrupted or FALSE if the user interrupted the task.
Fortran Syntax:
    INTEGER*4 FUNCTION TecUtilStatusCheckPercentDone(PercentDone)
    INTEGER*4 PercentDone

Python Syntax:

  Results = TecUtil.StatusCheckPercentDone(PercentDone)

  Input:
                  PercentDone          int
  Output:
    Results[0]    ReturnVal            boolean

See also:
TecUtilInterruptCheck, TecUtilStatusStartPercentDone, TecUtilStatusSetPercentDoneText, TecUtilStatusFinishPercentDone

void TecUtilStatusFinishPercentDone ( void   ) 

Called when a long operation that needs to present percent done information on the status line completes.

A call to TecUtilStatusStartPercentDone() must have preceded this call.

Fortran Syntax:

Python Syntax:

  Results = TecUtil.StatusFinishPercentDone()

  Output:
    Results[0]    ReturnVal            NONE

See also:
TecUtilStatusStartPercentDone, TecUtilStatusSetPercentDoneText, TecUtilStatusCheckPercentDone

void TecUtilStatusSetPercentDoneText ( const char *  PercentDoneText  ) 

Sets the string to displayed on the percent done status line.

Parameters:
PercentDoneText String to displayed.
Precondition:
PercentDoneText Pointer must be a valid address and non-NULL.
Fortran Syntax:
    SUBROUTINE TecUtilStatusSetPercentDoneText(PercentDoneText)
    CHARACTER*(*) PercentDoneText

Python Syntax:

  Results = TecUtil.StatusSetPercentDoneText(PercentDoneText)

  Input:
                  PercentDoneText      string
  Output:
    Results[0]    ReturnVal            NONE

See also:
TecUtilStatusStartPercentDone, TecUtilStatusCheckPercentDone, TecUtilStatusFinishPercentDone

void TecUtilStatusStartPercentDone ( const char *  PercentDoneText,
Boolean_t  ShowStopButton,
Boolean_t  ShowProgressBar 
)

Called when a long operation that needs to present percent done information on the status line begins.

Parameters:
PercentDoneText Text string to initally display. This can be changed as progress continues by calling TecUtilStatusSetPercentDoneText().
ShowStopButton TRUE to show button, FALSE otherwise.
ShowProgressBar TRUE to show progress bar, FALSE otherwise.
Precondition:
PercentDoneText Pointer must be a valid address and non-NULL.
Fortran Syntax:
    SUBROUTINE TecUtilStatusStartPercentDone(
   &           PercentDoneText,
   &           ShowStopButton,
   &           ShowProgressBar)
    CHARACTER*(*)   PercentDoneText
    INTEGER*4       ShowStopButton
    INTEGER*4       ShowProgressBar

Python Syntax:

  Results = TecUtil.StatusStartPercentDone(PercentDoneText, ShowStopButton, ShowProgressBar)

  Input:
                  PercentDoneText      string
                  ShowStopButton       boolean
                  ShowProgressBar      boolean
  Output:
    Results[0]    ReturnVal            NONE

See also:
TecUtilStatusSetPercentDoneText, TecUtilStatusCheckPercentDone, TecUtilStatusFinishPercentDone

void TecUtilStatusSuspend ( Boolean_t  DoSuspend  ) 

Suspends or un-suspends updates to the status line only.

Updates to the work area, sidebar, and menu are still preformed unless suspended via a call to TecUtilDrawGraphics(), TecUtilWorkAreaSuspend() or TecUtilInterfaceSuspend().

Since:
11.0-3-010
Parameters:
DoSuspend Indicates if Tecplot should suspend or un-suspend making updates to the status line.
See also:
TecUtilDrawGraphics, TecUtilWorkAreaSuspend, TecUtilInterfaceSuspend
Python Syntax:
  Results = TecUtil.StatusSuspend(DoSuspend)

  Input:
                  DoSuspend            boolean
  Output:
    Results[0]    ReturnVal            NONE


Generated on Tue Mar 12 02:24:43 2013 for Tecplot by  doxygen 1.5.5