Class: GloudApp::AboutDialog
- Inherits:
-
Gtk::AboutDialog
- Object
- Gtk::AboutDialog
- GloudApp::AboutDialog
- Defined in:
- lib/gloudapp.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ AboutDialog
constructor
A new instance of AboutDialog.
Constructor Details
#initialize ⇒ AboutDialog
Returns a new instance of AboutDialog.
369 370 371 372 373 374 375 376 377 378 379 380 381 |
# File 'lib/gloudapp.rb', line 369 def initialize super self.icon = GloudApp::Icon.normal self.name = "GloudApp" self.program_name = "GloudApp" self.version = GloudApp::Info::VERSION self.copyright = GloudApp::Info::COPYRIGHT self.license = GloudApp::Info::LICENSE self.artists = GloudApp::Info::ARTISTS.map { || "#{[0]} <#{[1]}>" } self. = GloudApp::Info::AUTHORS.map { || "#{[0]} <#{[1]}>" } self.website = GloudApp::Info::HOMEPAGE self.logo = GloudApp::Icon.normal end |
Class Method Details
.run! ⇒ Object
383 384 385 386 387 |
# File 'lib/gloudapp.rb', line 383 def self.run! instance = self.new instance.run instance.destroy end |