class Gtk::TabToolbar

Public Class Methods

new(imaginally, *args) click to toggle source
Calls superclass method
# File core/plugin/gtk/tab_toolbar.rb, line 7
def initialize(imaginally, *args)
  type_strict imaginally => Plugin::GUI::TabToolbar
  @imaginally = imaginally
  super(*args)
end

Public Instance Methods

set_button() click to toggle source
# File core/plugin/gtk/tab_toolbar.rb, line 13
def set_button
  self.children.each(&method(:remove))
  Plugin::Gtk::ToolbarGenerator.generate(self,
                                         Plugin::GUI::Event.new(:tab_toolbar, @imaginally.parent, []),
                                         :tab)
end