C++ API Reference
|
Feedback line. More...
#include <MFeedbackLine.h>
Static Public Member Functions | |
static MStatus | setFormat (const MString &format) |
Set the format string for the feedback line. More... | |
static MStatus | setTitle (const MString &title) |
Set the title string. More... | |
static MStatus | setValue (short index, double value) |
Set the value of a given index in the feedback line. More... | |
static void | clear () |
Clear whatever is showing in the feedback line. | |
static bool | showFeedback () |
Return whether or not the feedback line is is supposed to be displaying data. More... | |
static void | setShowFeedback (bool showFeedback) |
Set whether the feedback line is supposed to be displaying data. More... | |
static const char * | className () |
Returns the name of this class. More... | |
Feedback line.
The MFeedbackLine class is used to display information back to the user. The format for the feedback line which indicates the number and type of the arguments should be set with the setFormat method. The values of the arguments should be set using the setValue method.
Set the format string for the feedback line.
The format begins with a format specifier "^" followed by the format size, format decimal character ".", decimal size, and format type. For example: the format "^6.3f" which specifies that there is going to be one value given, it is a float, with 3 decimal places shown.
[in] | format | the format string for the feedback line |
Set the title string.
[in] | title | the title string |
|
static |
Set the value of a given index in the feedback line.
[in] | index | the index whose value should be set |
[in] | value | the value of the index |
|
static |
Return whether or not the feedback line is is supposed to be displaying data.
|
static |
Set whether the feedback line is supposed to be displaying data.
[in] | showFeedback | whether or not the feedback line should display data |
|
static |
Returns the name of this class.