Display.getMonitorAtSurface

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

class Display
getMonitorAtSurface

Parameters

surface gdk.surface.Surface

Return Value

Type: gdk.monitor.MonitorG

the monitor with the largest overlap with surface