Class: AgMultiEditorView

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parent = nil) ⇒ AgMultiEditorView

Returns a new instance of AgMultiEditorView.



1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
# File 'ext/ae-editor/ae-editor.rb', line 1452

def initialize(parent=nil)
  @enb = Tk::BWidget::NoteBook.new(parent){
    tabbevelsize 0
    internalborderwidth 2
    activeforeground 'red'
    activebackground 'yellow'
    #background 'black'
    borderwidth 1
    side $arcadia['conf']['editor.tabs.side']
    font $arcadia['conf']['editor.tabs.font']
    pack('fill'=>'both', :padx=>0, :pady=>0, :expand => 'yes')
  }
end

Instance Attribute Details

#enbObject (readonly)

Returns the value of attribute enb.



1451
1452
1453
# File 'ext/ae-editor/ae-editor.rb', line 1451

def enb
  @enb
end