"minimumHeight, minimumWidth"

The attribute "minimumHeight"; returns the minimum height of a textEdit (excluding any window frame), a tree widget or of a slider and the attribute "minimumWidth"; the minimum width of a textEdit, tree widget or a slider.

Synopsis

getValue(string shape,"minimumHeight",int &mHeight);

getValue(string shape,"minimumWidth",int &mWidth);

Parameter

Parameter Description
shape Name of the object

mHeight

mWidth

The minimum height of a textEdit.

The minimum width of a textEdit.

Description

The attribute "minimumHeight"; returns the minimum height of a textEdit (excluding any window frame), a tree widget or of a slider and the attribute "minimumWidth"; the minimum width of a textEdit, tree widget or a slider.

Example

The example returns the minimum height and width of a textEdit.

main(bool enter)
{
  string objT = "TEXT_EDIT1";
  int mHeig;
  getValue(objT,"minimumHeight",mHeig);
  DebugN("Minimum height",mHeig);
  int mWidth;
  getValue(objT,"minimumWidth",mWidth);
  DebugN("Minimum width", mWidth);
}

Assignment

TextEdit, Slider, Tree widget