Skip to main content

own_ring

Function own_ring 

Source
pub fn own_ring(ctx: &Context, id: Id)
Expand description

Says that a widget shows its own focus (call it each pass it is drawn), so that the focus plugin paints no ring around it. A widget painting a kit state from State::from_response has it said for it.

With the focus plugin installed, a widget the keyboard focused gets a ring of the focus.ring token at the end of the pass, unless it says this; a click focuses without one (ring_shown).