class XDo::Screen
- XDo::Screen
- Reference
- Object
Overview
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
Defined in:
x_do/screen.crConstructors
Instance Method Summary
- #backing_store
- #black_pixel
- #height
- #max_maps
- #mheight
- #min_maps
- #mwidth
- #ndepths
- #root_depth
- #root_input_mask
-
#root_window
Returns a
Window
corresponding to the screen's root. - #save_unders
- #white_pixel
- #width
Constructor Detail
def self.new(xdo_p : Pointer(XDo::LibXDo::XDo), screen_p : Pointer(XDo::LibXDo::Screen))
#