Display.getMonitorAtSurface

gdk.monitor.MonitorWrap getMonitorAtSurface(gdk.surface.Surface surface)

Gets the monitor in which the largest area of surface resides.

Parameters

surfacea gdk.surface.Surface

Returns

the monitor with the largest

overlap with surface