Function

Gtk-3.0Gtkpaint_layoutDeprecated 3.0

  • Draws a layout on cr using the given parameters.

    Parameters

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

      a state

    • Deprecateduse_text: boolean

      whether to use the text or foreground graphics context of style

    • Deprecatedwidget: Gtk.Widget

      the widget

    • Deprecateddetail: string

      a style detail

    • Deprecatedx: number

      x origin

    • Deprecatedy: number

      y origin

    • Deprecatedlayout: Pango.Layout

      the layout to draw

    Returns void

    since 3.0: Use gtk_render_layout() instead