Method: InspectTkEvents#initialize

Defined in:
ext/ae-rad/ae-rad-inspector.rb

#initialize(_host, _agobj, _family) ⇒ InspectTkEvents

Returns a new instance of InspectTkEvents.



823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
# File 'ext/ae-rad/ae-rad-inspector.rb', line 823

def initialize(_host, _agobj, _family)
  @hash_entity = _agobj.props[_family]
  @agobj = _agobj
  @family = _family
  @pmain = Tk::BWidget::PanedWindow.new(_host, 'side' => 'left', 'weights'=> 'available', 'width'=> 3){
    pack('fill'=>'both', :padx=>0, :pady=>0)
  }
  @ptop =  @pmain.add('weight'=>1)

  @pbottom =  @pmain.add('weight'=>2)

  list = TkListbox.new(@ptop){
    pack
  }
end