Toplevel.setDeletable

void setDeletable(bool deletable)

Sets the toplevel to be deletable.

Setting deletable to true hints the desktop environment that it should offer the user a way to close the surface.

Parameters

deletabletrue to request a delete button