|
Python Script Engine
8.4
GL Studio Editor Python Script API
|
Public Member Functions | |
| Variable (str name, str type, str initVal, str comment=str()) | |
| str | GetName () |
| None | SetName (str name) |
| str | GetType () |
| None | SetType (str type) |
| str | GetInitialValue () |
| None | SetInitialValue (str initVal) |
| str | GetComment () |
| None | SetComment (str comment) |
common editor interface variable
| Variable::Variable | ( | str | name, |
| str | type, | ||
| str | initVal, | ||
| str | comment = str() |
||
| ) |
Creates a variable with the given information set.
| name | Name of new variable |
| type | Return type of new variable |
| initVal | Initial value for the new variable |
| comment | str comment regarding the new variable |
comment parameter new in GL Studio 6.0.1 | str Variable::GetComment | ( | ) |
Retrieves the comment associated with the variable.
| str Variable::GetInitialValue | ( | ) |
Retrieves the variable's initial value.
| str Variable::GetName | ( | ) |
Retrieves the variable's name.
| str Variable::GetType | ( | ) |
Retrieves the variable's return type.
| None Variable::SetComment | ( | str | comment | ) |
Sets the comment associated with the variable.
| comment | str containing the comment for the variable |
| None Variable::SetInitialValue | ( | str | initVal | ) |
Sets the variable's initial value.
| initVal | New initial value for the variable |
| None Variable::SetName | ( | str | name | ) |
Sets the variable's name.
| name | New name of variable |
| None Variable::SetType | ( | str | type | ) |
Sets the variable's return type.
| type | New return type for the variable |