class TopinambourTermBox

The main full tab Gtk::Box + Vte::Terminal + Gtk::Scrollbar

Attributes

term[R]

Public Class Methods

new(command_string, working_dir = nil, parent) click to toggle source
Calls superclass method
# File lib/terminal.rb, line 22
def initialize(command_string, working_dir = nil, parent)
  super(:horizontal, 0)
  set_name('topinambour-term-box')
  @term = TopinambourTerminal.new(command_string, parent, working_dir)
  @scrollbar = Gtk::Scrollbar.new(:vertical, @term.vadjustment)
  @scrollbar.name = 'topinambour-scrollbar'
  pack_start(@term, expand: true, fill: true, padding: 0)
  pack_start(@scrollbar)
  show_all
end