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.



1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
# File 'ext/ae-editor/ae-editor.rb', line 1214

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.



1213
1214
1215
# File 'ext/ae-editor/ae-editor.rb', line 1213

def enb
  @enb
end