closeHidesWindow property

bool get closeHidesWindow

Whether the user closing the main window hides it rather than closing it. The desktop bindings ask this from their close hook -- GTK's delete-event, WM_CLOSE, windowShouldClose: -- so a tray-resident application (exitPolicy: explicit) keeps running with its window hidden, and DVWindowManager.show brings it back.

Implementation

static bool get closeHidesWindow => exitPolicy == DVWindowExitPolicy.explicit;