asReadOnly
Returns a read-only view of this mutable OptionalTooltipProperty. Typical usage :
private val mutableFooProperty by optionalTooltipProperty( initialValue )
val fooProperty = mutableFooProperty.asReadOnly()
val foo by mutableFooProperty
private setContent copied to clipboard
This give private access to the mutable property, and the mutable var, but the public only has read-only access.