title property

String title

The title of the specified item.

This is the name that's displayed to users and by which they refer to the item. Every item must have a title.

Implementation

String get title {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Item_getTitle(
      _handle,
      errorHandler,
    );
  });
  return stringHandle.toDartString();
}
void title=(String value)

Implementation

set title(String value) {
  final coreValue = _CString(value);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_Item_setTitle(
      _handle,
      coreValue.bytes,
      errorHandler,
    );
  });
}