Method: AGTkInspector#initialize
- Defined in:
- ext/ae-rad/ae-rad-inspector.rb
#initialize(_host, _agobj) ⇒ AGTkInspector
Returns a new instance of AGTkInspector.
1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 |
# File 'ext/ae-rad/ae-rad-inspector.rb', line 1485 def initialize( _host, _agobj) super( _host, _agobj) @ojts_layout = _host.insert('end','layout','text'=>'Layout') @top_panel = TkFrame.new(@ojts_layout, Arcadia.style('panel')){ place('x'=>0, 'y'=>0, 'relheight'=>1, 'relwidth'=>1) } @tabs['LayoutType'] = InspectList.new('layout_man', @top_panel,85,false) @mid_panel = TkFrame.new(@ojts_layout, Arcadia.style('panel')){ place('x'=>0, 'y'=>20,'relheight'=>1, 'relwidth'=>1) } @tabs['Layout'] = InspectList.new('...',@mid_panel, 85) @ojts_winfo = _host.insert('end','winfo','text'=>'Winfo') @tabs['Winfo'] = InspectList.new('winfo', @ojts_winfo) #@ojts_bind = _host.insert('end','bind','text'=>'Binding') #@tabs['Binding'] = InspectMultiList.new('bind',@ojts_bind) end |