Class: InspectTkEvents

Inherits:
Object
  • Object
show all
Defined in:
ext/ae-rad/ae-rad-inspector.rb

Instance Method Summary collapse

Constructor Details

#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

Instance Method Details

#add(_event, _mods, _handler) ⇒ Object



839
840
841
# File 'ext/ae-rad/ae-rad-inspector.rb', line 839

def add(_event,_mods,_handler)

end

#update(_agobj, _family) ⇒ Object



842
843
844
845
846
# File 'ext/ae-rad/ae-rad-inspector.rb', line 842

def update(_agobj, _family)
  @hash_entity = _agobj.props[_family]
  @agobj = _agobj
  @family = _family
end