setExit(boolean) method

Set True/false for whether to show the Exit menu item or not, respectively.

Syntax

void setExit ( boolean exit )

Parameters