pub fn prefer(ctx: &Context, id: Id)Expand description
Names the widget the scopes open around it hand the focus to when asked (call it each pass, in the scope, where it is drawn): the canvas under a panel’s toolbar, the search field a “go to the search” command lands in. Without one, a panel given the keyboard holds it itself, and Tab enters its widgets. The first widget to ask in a scope wins.