Expand description
Operator bridge into the generic feathers tooltip pipeline.
jackdaw_feathers::tooltip owns hover/render and reads only the
generic Tooltip component. This module’s Add, ButtonOperatorCall observer looks up the matching
OperatorEntity and inserts a Tooltip carrying its label,
description, signature, and the live keybind.
The keybind is read from BEI at tooltip-attach time (and refreshed
whenever a Bindings component changes) so user remaps surface
immediately. The link from ButtonOperatorCall.id to the BEI
action entity is the OperatorAction marker that
register_operator auto-inserts; nothing in the editor’s call
sites needs to opt in.
Other tooltip sources follow the same shape (one source
component, one Add observer). See
src/inspector/component_tooltip.rs for the reflection-driven
counterpart.
Structs§
Functions§
- display_
keybind - Walk the action entity carrying
OperatorAction(operator_id)and stringify its keyboard / mouse-button bindings. Multiple bindings join with" / "(e.g.Delete / Backspace). Returns an empty string when no action entity carries that id, or the operator’s only bindings are mouse-motion / wheel which the tooltip skips.