UI inspector - Factor Documentation (original) (raw)

The graphical inspector provides functionality similar to the terminal inspector (see The inspector), adding in-place editing of slot values.

To display an object in the UI inspector, right-click a presentation and choose Inspector from the menu that appears. The inspector can also be opened from the listener using a word:

Objects may extend the inspector window with a content gadget, in order to provide a rich representation of the object's content in the inspector.

The inspector embeds a table gadget, which supports keyboard navigation; see Table gadgets. It also provides a few other commands:

Toolbar commands

Shortcut Command Word Notes
R Refresh com-refresh
P Push com-push
E Edit Slot com-edit-slot
F1 Inspector Help inspector-help

Multi Touch commands

The UI inspector is an instance of inspector-gadget.
Editing slot values in the inspector