Class: Object

Inherits:
BasicObject
Defined in:
lib/ruiby_gtk/editor.rb

Instance Method Summary collapse

Instance Method Details

#_wtree(header, w) ⇒ Object



153
154
155
156
157
158
159
# File 'lib/ruiby_gtk/editor.rb', line 153

def _wtree(header,w)
   log "#{header}--#{w.class} : #{w.text rescue ''}"
   if w.respond_to?(:children)
       cheader=header+"   |"
       w.children.each { |cw| _wtree(cheader,cw) } 
   end
end

#wtree(w) ⇒ Object



148
149
150
151
152
# File 'lib/ruiby_gtk/editor.rb', line 148

def wtree(w)
  log "*"*60
  _wtree("   ",w)
  log "*"*60
end