Function gtk4::render_focus

source ·
pub fn render_focus(
    context: &impl IsA<StyleContext>,
    cr: &Context,
    x: f64,
    y: f64,
    width: f64,
    height: f64
👎Deprecated: Since 4.10
Expand description

Renders a focus indicator on the rectangle determined by @x, @y, @width, @height.

Typical focus rendering:

§Deprecated since 4.10


a StyleContext


a cairo::Context


X origin of the rectangle


Y origin of the rectangle


rectangle width


rectangle height