content-gadget ( object -- gadget/f )
Factor handbook » UI developer tools » UI inspector

Prev:inspector ( obj -- )
Next:Editing slot values in the inspector


Vocabulary
ui.gadgets.panes

Inputs
objectan object


Outputs
gadget/fa gadget or f


Word description
This generic function may be implemented for objects in order to display a rich representation of the object in the UI inspector. If content-gadget returns a gadget for an inspected object, the returned gadget is displayed under the "Content" heading in the inspector window. If content-gadget returns f, no content section is included in the given object's inspector.

Definition


Methods