Method
GdkDisplayget_primary_monitor
since: 3.22
Declaration [src]
GdkMonitor*
gdk_display_get_primary_monitor (
GdkDisplay* display
)
Description [src]
Gets the primary monitor for the display.
The primary monitor is considered the monitor where the “main desktop” lives. While normal application windows typically allow the window manager to place the windows, specialized desktop applications such as panels should place themselves on the primary monitor.
Available since: 3.22
Return value
Type: GdkMonitor
The primary monitor, or NULL
if no primary
monitor is configured by the user.
The returned data is owned by the instance. |
The return value can be NULL . |