Class: Uh::Display

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Class Method Details

.on_errorObject

Instance Method Details

#closeObject

#color_by_nameObject

#create_pixmapObject

#create_subwindow(geo) ⇒ Object



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

def create_subwindow(geo)
  root.create_sub geo
end

#each_eventObject

#filenoObject

#flushObject

#fontObject



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

def font
  @font ||= query_font
end

#grab_keyObject

#listen_eventsObject

#next_eventObject

#openObject

#pendingObject

#pending?Boolean

Returns:

  • (Boolean)


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

def pending?
  pending > 0
end

#query_fontObject

#rootObject

#screensObject

#syncObject