Function

Gtk-3.0Gtkpaint_focusDeprecated 3.0

  • Draws a focus indicator around the given rectangle on cr using the given style.

    Parameters

    • Deprecatedstyle: Gtk.Style
    • Deprecatedcr: default.Context
    • Deprecatedstate_type: Gtk.StateType

      a state

    • Deprecatedwidget: Gtk.Widget

      the widget

    • Deprecateddetail: string

      a style detail

    • Deprecatedx: number

      the x origin of the rectangle around which to draw a focus indicator

    • Deprecatedy: number

      the y origin of the rectangle around which to draw a focus indicator

    • Deprecatedwidth: number

      the width of the rectangle around which to draw a focus indicator

    • Deprecatedheight: number

      the height of the rectangle around which to draw a focus indicator

    Returns void

    since 3.0: Use gtk_render_focus() instead