Class: Fugit::HistroyTab

Inherits:
Panel
  • Object
show all
Defined in:
lib/fugit/history_tab.rb

Instance Method Summary collapse

Constructor Details

#initialize(parent) ⇒ HistroyTab

Returns a new instance of HistroyTab.



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/fugit/history_tab.rb', line 6

def initialize(parent)
  super

  @history_list = HistoryList.new(self)
  @toolbar = TabToolbar.new(self, false)

  box = BoxSizer.new(VERTICAL)
  box.add(@toolbar, 0, EXPAND)
  box.add_spacer(3)
  box.add(@history_list, 1, EXPAND)
  self.set_sizer(box)
end