Function

Gtk-3.0Gtkpaint_hlineDeprecated 3.0

  • Draws a horizontal line from (x1, y) to (x2, y) in cr using the given style and state.

    Parameters

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

      a caio_t

    • Deprecatedstate_type: Gtk.StateType

      a state

    • Deprecatedwidget: Gtk.Widget

      the widget

    • Deprecateddetail: string

      a style detail

    • Deprecatedx1: number

      the starting x coordinate

    • Deprecatedx2: number

      the ending x coordinate

    • Deprecatedy: number

      the y coordinate

    Returns void

    since 3.0: Use gtk_render_line() instead