Class: UI::Toolbar

Inherits:
Object show all
Includes:
Enumerable
Defined in:
lib/toolbar.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.new(name) ⇒ Object



19
20
# File 'lib/toolbar.rb', line 19

def self.new(name)
end

Instance Method Details

#add_item(command) ⇒ Object



11
12
# File 'lib/toolbar.rb', line 11

def add_item(command)
end

#add_separatorObject



13
14
# File 'lib/toolbar.rb', line 13

def add_separator
end

#get_last_stateObject



15
16
# File 'lib/toolbar.rb', line 15

def get_last_state
end

#hideObject



17
18
# File 'lib/toolbar.rb', line 17

def hide
end

#lengthObject Also known as: size



7
8
# File 'lib/toolbar.rb', line 7

def length
end

#restoreObject



21
22
# File 'lib/toolbar.rb', line 21

def restore
end

#showObject



23
24
# File 'lib/toolbar.rb', line 23

def show
end

#visible?Boolean

Returns:

  • (Boolean)


25
26
# File 'lib/toolbar.rb', line 25

def visible?
end