Method: XDo::Window#initialize

Defined in:
lib/x_do/window.rb

#initialize(xdo, _window) ⇒ Window

Creates a wrapper for an X Window handle.

This constructor is called internally by XDo#find_windows and client code should not need to call it directly.

Args:

xdo:: the XDo wrapping the libxdo context used to get this Window
_window:: the X Window handle to be wrapped


159
160
161
162
163
# File 'lib/x_do/window.rb', line 159

def initialize(xdo, _window)
  @xdo = xdo
  @_xdo_pointer = xdo._pointer
  @_window = _window
end