Method
Gdk.Display.get_monitor_at_surface
Declaration [src]
GdkMonitor*
gdk_display_get_monitor_at_surface (
GdkDisplay* display,
GdkSurface* surface
)
Description [src]
Gets the monitor in which the largest area of surface
resides.
Returns a monitor close to surface
if it is outside
of all monitors.
Parameters
surface |
GdkSurface |
a |
|
Ownership is not transferred to the callee |
Return value
Returns: GdkMonitor |
|
the monitor with the largest
overlap with |
|
Ownership is not transferred to the caller |