Class: InspectEvents

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_host, _agobj, _family) ⇒ InspectEvents

Returns a new instance of InspectEvents.



797
798
799
800
801
802
803
804
805
806
807
# File 'ext/ae-rad/ae-rad-inspector.rb', line 797

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 = InspectList.new('evens', @ptop)
end

Instance Attribute Details

#pbottomObject (readonly)

Returns the value of attribute pbottom.



796
797
798
# File 'ext/ae-rad/ae-rad-inspector.rb', line 796

def pbottom
  @pbottom
end

Instance Method Details

#add(_event, _mods, _handler) ⇒ Object



809
810
# File 'ext/ae-rad/ae-rad-inspector.rb', line 809

def add(_event,_mods,_handler)
end

#update(_agobj, _family) ⇒ Object



812
813
814
815
816
# File 'ext/ae-rad/ae-rad-inspector.rb', line 812

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