class XDo::Screen

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.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(xdo_p : Pointer(XDo::LibXDo::XDo), screen_p : Pointer(XDo::LibXDo::Screen)) #

[View source]

Instance Method Detail

def backing_store #

[View source]
def black_pixel #

[View source]
def height #

[View source]
def max_maps #

[View source]
def mheight #

[View source]
def min_maps #

[View source]
def mwidth #

[View source]
def ndepths #

[View source]
def root_depth #

[View source]
def root_input_mask #

[View source]
def root_window #

Returns a Window corresponding to the screen's root.


[View source]
def save_unders #

[View source]
def white_pixel #

[View source]
def width #

[View source]