Class: SB

Inherits:
Gtk::Statusbar
  • Object
show all
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

Eprint::DOMAIN, Eprint::LEVEL

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Eprint

#ecode, #edebug, #eerror, #einfo, #enormal, #eprint, #ewarn, #gtk_set_edebug, #set_edebug, #tell_exception

Constructor Details

#initializeSB

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

#messagingObject (readonly)

Returns the value of attribute messaging.



15
16
17
# File 'lib/SB.rb', line 15

def messaging
  @messaging
end

#parent_windowObject (readonly)

Returns the value of attribute parent_window.



15
16
17
# File 'lib/SB.rb', line 15

def parent_window
  @parent_window
end

#progressObject (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

#showObject



21
22
23
# File 'lib/SB.rb', line 21

def show
	super unless visible?
end

#to_sObject



25
26
27
# File 'lib/SB.rb', line 25

def to_s
	"SB"
end