Inspector

The inspector of a control manager, like the inspector of the developer tools of browsers: it shows the element under the pointer with its margin, border, padding and content, and a panel with its path, its box, the style sheets that select it in the order of the cascade, with the declarations that other declarations override, and its computed style. The panel is shown in a window of its own, see inWindow. F12 turns it on and off, shift-F12 pins the element, so that the pointer can move away from it.

Properties

Link copied to clipboard

true when the inspector is shown

Link copied to clipboard

the element that is inspected, the pinned element or the element under the pointer

Link copied to clipboard

true when the inspector shows its panel in a window of its own, false to draw it over the window

Link copied to clipboard

the element that is inspected while the inspector is pinned, null when it follows the pointer

Functions

Link copied to clipboard
fun hide()

hides the inspector and closes its window

Link copied to clipboard
fun show()

shows the inspector, in a window of its own when inWindow is set