class

XDo::Screen

Inherits Reference / Object

Represents an XDo view of an X11 screen.

TODO: Expose depths and root_visual.

puts "width: #{screen.width}, height: #{screen.height}"
screen.root_window.move_mouse 0, 0

Constructors

new(xdo_p : Pointer(XDo::LibXDo::XDo), screen_p : Pointer(XDo::LibXDo::Screen))
Source

Instance methods

backing_store
Source
black_pixel
Source
height
Source
max_maps
Source
mheight
Source
min_maps
Source
mwidth
Source
ndepths
Source
root_depth
Source
root_input_mask
Source
root_window

Returns a Window corresponding to the screen's root.

Source
save_unders
Source
white_pixel
Source
width
Source