onClose

fun onClose(block: (SimpleGUI, InventoryCloseEvent.Reason) -> Unit): SimpleGUI