Method

GdkWindowset_shadow_width

since: 3.12

Declaration [src]

void
gdk_window_set_shadow_width (
  GdkWindow* window,
  gint left,
  gint right,
  gint top,
  gint bottom
)

Description [src]

Newer GTK+ windows using client-side decorations use extra geometry around their frames for effects like shadows and invisible borders. Window managers that want to maximize windows or snap to edges need to know where the extents of the actual frame lie, so that users don’t feel like windows are snapping against random invisible edges.

Note that this property is automatically updated by GTK+, so this function should only be used by applications which do not use GTK+ to create toplevel windows.

Available since: 3.12

Parameters

left

Type: gint

The left extent.

right

Type: gint

The right extent.

top

Type: gint

The top extent.

bottom

Type: gint

The bottom extent.