draw_focus_if_needed method

draw_focus_if_needed

If a given element is focused, this method draws a focus ring around the current path.

def draw_focus_if_needed(self, element):
    ...
ParameterTypeDescription
elementElementThe element to check whether it is focused or not.

See Also