sidebar.isDrawerVisible

Gets the current visibility of the sidebar drawer.

Syntax

ui.Interface.frontCall("sidebar", "isDrawerVisible",
   [], [result])
  1. result - The current visibility of the drawer: 1 if visible, 0 if hidden.

Usage

The "isDrawerVisible" front call reports whether the SideBarDrawer, the panel holding the application list and the start menu, is currently visible.

The sidebar.setDrawerVisible front call changes the visibility, and the sidebar.toggleDrawerVisibility front call toggles it.

Example

DEFINE visible INTEGER
CALL ui.Interface.frontCall("sidebar", "isDrawerVisible", [], [visible])
IF visible == 1 THEN
   -- drawer is currently visible
END IF