UI inspector
Factor handbook ยป UI developer tools

Prev:UI browser
Next:UI error list tool


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:
inspector ( obj -- )


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.
content-gadget ( object -- gadget/f )


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

Toolbar commands
ShortcutCommandWordNotes
RRefreshcom-refresh
PPushcom-push
EEdit Slotcom-edit-slot
F1Inspector Helpinspector-help



Multi Touch commands
ShortcutCommandWordNotes
Swipe upRefreshcom-refresh

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