Function

Gtk-3.0Gtkpaint_boxDeprecated 3.0

  • Draws a box on cr with 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 box

    • Deprecatedy: number

      y origin of the box

    • Deprecatedwidth: number

      the width of the box

    • Deprecatedheight: number

      the height of the box

    Returns void

    since 3.0: Use gtk_render_frame() and gtk_render_background() instead