Screen.getMonitorWorkarea

Retrieves the GdkRectangle representing the size and position of the "work area" on a monitor within the entire screen area. The work area should be considered when positioning menus and similar popups, to avoid placing them below panels, docks or other desktop components. Monitor numbers start at 0. To obtain the number of monitors of screen, use gdk_screen_get_n_monitors().

class Screen
void
getMonitorWorkarea

Parameters

monitorNum int

the monitor number

dest Rectangle

a GdkRectangle to be filled with the monitor workarea. out[allow-none] Since 3.4

Meta