Class: SB
- Inherits:
-
Gtk::Statusbar
- Object
- Gtk::Statusbar
- SB
- Includes:
- Eprint, Singleton
- Defined in:
- lib/SB.rb
Overview
this file is part of manqod manqod is distributed under the CDDL licence the author of manqod is Dobai-Pataky Balint([email protected])
Constant Summary
Constants included from Eprint
Instance Attribute Summary collapse
-
#messaging ⇒ Object
readonly
Returns the value of attribute messaging.
-
#parent_window ⇒ Object
readonly
Returns the value of attribute parent_window.
-
#progress ⇒ Object
readonly
Returns the value of attribute progress.
Instance Method Summary collapse
-
#initialize ⇒ SB
constructor
A new instance of SB.
- #set_parent_window(parent_window) ⇒ Object
- #show ⇒ Object
- #to_s ⇒ Object
Methods included from Eprint
#ecode, #edebug, #eerror, #einfo, #enormal, #eprint, #ewarn, #gtk_set_edebug, #set_edebug, #tell_exception
Constructor Details
#initialize ⇒ SB
Returns a new instance of SB.
8 9 10 11 12 13 14 |
# File 'lib/SB.rb', line 8 def initialize super set_homogeneous(false) pack_start(@messaging=Messaging.instance,false,false) pack_start(Gtk::Label.new,true,true) pack_start(@progress=MultiProgress.new,false,false) end |
Instance Attribute Details
#messaging ⇒ Object (readonly)
Returns the value of attribute messaging.
15 16 17 |
# File 'lib/SB.rb', line 15 def messaging @messaging end |
#parent_window ⇒ Object (readonly)
Returns the value of attribute parent_window.
15 16 17 |
# File 'lib/SB.rb', line 15 def parent_window @parent_window end |
#progress ⇒ Object (readonly)
Returns the value of attribute progress.
15 16 17 |
# File 'lib/SB.rb', line 15 def progress @progress end |
Instance Method Details
#set_parent_window(parent_window) ⇒ Object
17 18 19 |
# File 'lib/SB.rb', line 17 def set_parent_window(parent_window) @parent_window=parent_window end |
#show ⇒ Object
21 22 23 |
# File 'lib/SB.rb', line 21 def show super unless visible? end |
#to_s ⇒ Object
25 26 27 |
# File 'lib/SB.rb', line 25 def to_s "SB" end |