int setDockedElementsVisible(bool visible = null, string name = null, ElementType elTypeMask = 0xFFFFFFFF)
Controls the visibility of docked elements such as toolbars and docked browsers
Security
Trust Level Required: Full Trust
Parameters
Name | Description |
visible |
bool Whether or not the element should be made visible. If null, default visibility is restored. |
name |
string The name of the docked element to show/hide. If null, only the element type will be considered. |
elTypeMask |
ElementType A bitmask specifying which element types to show/hide. ElementTypes: Browsers = 1, Toolbars = 2, Spacers = 4. |
Return
The total number of elements affected.
Examples
// Hide the main toolbar, but show all docked browsers and spacers
KioBrowser.setDockedElementsVisible(false, "Main Toolbar");
KioBrowser.setDockedElementsVisible(true, null, 5);
Requirements
KioWare OS (Linux®) version 1.0 or greater.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.