You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NodeHandle::tooltip(text), matching the owned widgets #69
Friction from the reference shell's migration to #66 (v0.1.0-m4c9). Every owned widget chain has .tooltip(text), but NodeHandle doesn't. Naming a hand-built node on hover reads:
The clone() is there because egui's on_hover_text takes the Response by value.
Proposal
NodeHandle::tooltip(text: impl Into<WidgetText>) -> Self, with the owned widgets' signature and behaviour. Share the implementation with them: the owned chains keep a Tip and show it in described(..) in src/owned/mod.rs, so the handle should call the same helper, not a second copy. It composes with the other handlers like any .draw.
Test: hovering a span with .tooltip(..) shows the tooltip text (egui_kittest query), as the owned widgets' tooltip tests do.
Activity
Merge pull request #72 from samitbasu/handle-tooltip