Class: InspectEvents
- Inherits:
-
Object
- Object
- InspectEvents
- Defined in:
- ext/ae-rad/ae-rad-inspector.rb
Instance Attribute Summary collapse
-
#pbottom ⇒ Object
readonly
Returns the value of attribute pbottom.
Instance Method Summary collapse
- #add(_event, _mods, _handler) ⇒ Object
-
#initialize(_host, _agobj, _family) ⇒ InspectEvents
constructor
A new instance of InspectEvents.
- #update(_agobj, _family) ⇒ Object
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
#pbottom ⇒ Object (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 |