Class: GdkX11::X11Monitor

Inherits:
Gdk::Monitor show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from Gdk::Monitor

#connector, #connector=, #description, #description=, #display, #display=, #geometry, #geometry=, #get_geometry, #height_mm, #height_mm=, #is_valid, #manufacturer, #manufacturer=, #model, #model=, #refresh_rate, #refresh_rate=, #scale, #scale=, #scale_factor, #scale_factor=, #subpixel_layout, #subpixel_layout=, #valid=, #valid?, #width_mm, #width_mm=

Instance Method Details

#get_workarea(workarea) ⇒ nil

Retrieves the size and position of the “work area” on a monitor within the display coordinate space.

The returned geometry is in ”application pixels”, not in ”device pixels” (see [methodGdk.Monitor.get_scale_factor]).

Parameters:

  • workarea (Gdk::Rectangle)

    a GdkRectangle to be filled with the monitor workarea

Returns:

  • (nil)

#outputxlib::XID

Returns the XID of the Output corresponding to monitor.

Returns:

  • (xlib::XID)

    the XID of monitor