Class: Watobo::Gui::XmlViewerFrame

Inherits:
FXVerticalFrame
  • Object
show all
Defined in:
lib/watobo/gui/xml_viewer_frame.rb

Instance Method Summary collapse

Constructor Details

#initialize(owner, xmldata = nil, opts = 0) ⇒ XmlViewerFrame

Returns a new instance of XmlViewerFrame.


66
67
68
69
70
# File 'lib/watobo/gui/xml_viewer_frame.rb', line 66

def initialize(owner, xmldata=nil, opts=0)
  super(owner, :opts => LAYOUT_FILL_X|LAYOUT_FILL_Y , :padding => 0)
  @xml_tree = XmlTree.new(self, xmldata)
  #puts xmldata
end