pub fn monitor(window: &impl IsA<Window>) -> Option<Monitor>
v0_5
NOTE: To get which monitor the surface is actually on, use gdk_display_get_monitor_at_window().
gdk_display_get_monitor_at_window()
window
A layer surface.
the monitor this surface will/has requested to be on, can be None.
None