Widget.this

this(WidgetPtr handle, bool ownsHandle = false)

Creates a Widget wrapper around an existing handle.

Parameters

handleThe low-level widget handle
ownsHandleWhether to delete the handle on destruction