Method

GdkWindowset_source_events

since: 3.0

Declaration [src]

void
gdk_window_set_source_events (
  GdkWindow* window,
  GdkInputSource source,
  GdkEventMask event_mask
)

Description [src]

Sets the event mask for any floating device (i.e. not attached to any visible pointer) that has the source defined as source. This event mask will be applied both to currently existing, newly added devices after this call, and devices being attached/detached.

Available since: 3.0

Parameters

source

Type: GdkInputSource

A GdkInputSource to define the source class.

event_mask

Type: GdkEventMask

Event mask for window.