Method: InspectMultiList#initialize

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

#initialize(_family, _host) ⇒ InspectMultiList

Returns a new instance of InspectMultiList.



710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
# File 'ext/ae-rad/ae-rad-inspector.rb', line 710

def initialize(_family, _host)
  _contr = self
  @family = _family
  @itemCount = 0
  @tkFrame1 = TkFrame.new(_host, Arcadia.style('panel')){
    #borderwidth  2
    #relief  'groove'
    place(
    'relwidth' => '1',
    'x' => 0,
    'y' => 0,
    'height' => 30
    )
    @tkButton1 = TkButton.new(self, Arcadia.style('button')){
      text  'New'
      padx  0
      pady  0
      #relief  'groove'
      place(
      'x' => 2,
      'y' => 2,
      'height' => 21,
      'width' => 54
      )
      bind('ButtonPress-1',proc{_contr.add_event})
    }
    class << self
      attr_reader :tkButton1
    end
  }
  @tkFrame2 = TkFrame.new(_host, Arcadia.style('panel')){
    borderwidth  2
    #relief  'groove'
    place(
    'relwidth' => '1',
    'relheight' => '1',
    'height'=>-50,
    'x' => 0,
    'y' => 50
    )
  }
  @il = Hash.new
end