gui.getCheckBoxState

Returns the state of a checkbox.

Prototype

  1. kCheckState = gui.getCheckBoxState ( hComponent )

Description

QT supports intermediate checkboxes. Simple check for return values > 0 for not-off checkboxes.


Parameters

hComponent - valid GUI checkbox handle


Return values

kCheckState - predefined check constant (on/off/intermediate) or just > 0 for not-off


Sample

  1. project.setUserProperty ( nil, this.getModuleIdentifier ( )..".config.current.platform.android.build.output.folder.open", gui.getCheckBoxState ( hComponentOutputFolderOpen ) > 0 )

Available since ShiVa 2.0