Function

Gtk-3.0Gtkpaint_shadowDeprecated 3.0

  • Draws a shadow around the given rectangle in cr using the given style and state and shadow type.

    Parameters

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

      a state

    • Deprecatedshadow_type: Gtk.ShadowType

      type of shadow to draw

    • Deprecatedwidget: Gtk.Widget

      the widget

    • Deprecateddetail: string

      a style detail

    • Deprecatedx: number

      x origin of the rectangle

    • Deprecatedy: number

      y origin of the rectangle

    • Deprecatedwidth: number

      width of the rectangle

    • Deprecatedheight: number

      width of the rectangle

    Returns void

    since 3.0: Use gtk_render_frame() instead