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.



45
46
47
48
49
# File 'lib/watobo/gui/xml_viewer_frame.rb', line 45

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