Function

Gtk-3.0Gtkpaint_shadow_gapDeprecated 3.0

  • Draws a shadow around the given rectangle in cr using the given style and state and shadow type, leaving a gap in one side.

    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

    • Deprecatedgap_side: Gtk.PositionType

      side in which to leave the gap

    • Deprecatedgap_x: number

      starting position of the gap

    • Deprecatedgap_width: number

      width of the gap

    Returns void

    since 3.0: Use gtk_render_frame_gap() instead