Class: Uh::Window

Inherits:
Object
  • Object
show all
Defined in:
lib/uh/window.rb,
ext/uh/uh.c

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject (readonly)

Instance Method Details

#==(other) ⇒ Object



7
8
9
# File 'lib/uh/window.rb', line 7

def ==(other)
  id == other.id
end

#configure(geo) ⇒ Object



11
12
13
14
# File 'lib/uh/window.rb', line 11

def configure(geo)
  _configure geo.x, geo.y, geo.width, geo.height
  self
end

#configure_event(geo) ⇒ Object



16
17
18
19
# File 'lib/uh/window.rb', line 16

def configure_event(geo)
  _configure_event geo.x, geo.y, geo.width, geo.height
  self
end

#create_sub(geo) ⇒ Object



21
22
23
# File 'lib/uh/window.rb', line 21

def create_sub(geo)
  _create_sub geo.x, geo.y, geo.width, geo.height
end

#focusObject

#icccm_wm_deleteObject

#icccm_wm_protocolsObject

#killObject

#mapObject

#mask=Object

#moveresize(geo) ⇒ Object



25
26
27
28
# File 'lib/uh/window.rb', line 25

def moveresize(geo)
  _moveresize geo.x, geo.y, geo.width, geo.height
  self
end

#nameObject

#override_redirect?Boolean

Returns:

  • (Boolean)

#raiseObject

#showObject



30
31
32
33
# File 'lib/uh/window.rb', line 30

def show
  map
  self
end

#to_sObject



3
4
5
# File 'lib/uh/window.rb', line 3

def to_s
  id.to_s
end

#unmapObject

#wclassObject