Function

Gtk-3.0Gtkpaint_diamondDeprecated 3.0

  • Draws a diamond in the given rectangle on window using the given parameters.

    Parameters

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

      a state

    • Deprecatedshadow_type: Gtk.ShadowType

      the type of shadow to draw

    • Deprecatedwidget: Gtk.Widget

      the widget

    • Deprecateddetail: string

      a style detail

    • Deprecatedx: number

      x origin of the rectangle to draw the diamond in

    • Deprecatedy: number

      y origin of the rectangle to draw the diamond in

    • Deprecatedwidth: number

      width of the rectangle to draw the diamond in

    • Deprecatedheight: number

      height of the rectangle to draw the diamond in

    Returns void

    since 3.0: Use cairo instead