Class: Alexandria::UI::MainApp
- Inherits:
-
Object
- Object
- Alexandria::UI::MainApp
- Includes:
- Logging, GetText, Singleton
- Defined in:
- lib/alexandria/ui/main_app.rb
Instance Attribute Summary collapse
-
#actiongroup ⇒ Object
Returns the value of attribute actiongroup.
-
#appbar ⇒ Object
Returns the value of attribute appbar.
-
#libraries ⇒ Object
Returns the value of attribute libraries.
-
#main_app ⇒ Object
Returns the value of attribute main_app.
-
#prefs ⇒ Object
Returns the value of attribute prefs.
-
#ui_manager ⇒ Object
Returns the value of attribute ui_manager.
Instance Method Summary collapse
-
#initialize ⇒ MainApp
constructor
A new instance of MainApp.
Methods included from Logging
Constructor Details
#initialize ⇒ MainApp
Returns a new instance of MainApp.
55 56 57 58 59 60 61 62 63 |
# File 'lib/alexandria/ui/main_app.rb', line 55 def initialize log.info { "Starting MainApp" } @ui_manager = UIManager.new self @actiongroup = @ui_manager.actiongroup @appbar = @ui_manager. @prefs = @ui_manager.prefs @main_app = @ui_manager.main_app @ui_manager.show end |
Instance Attribute Details
#actiongroup ⇒ Object
Returns the value of attribute actiongroup.
53 54 55 |
# File 'lib/alexandria/ui/main_app.rb', line 53 def actiongroup @actiongroup end |
#appbar ⇒ Object
Returns the value of attribute appbar.
53 54 55 |
# File 'lib/alexandria/ui/main_app.rb', line 53 def @appbar end |
#libraries ⇒ Object
Returns the value of attribute libraries.
53 54 55 |
# File 'lib/alexandria/ui/main_app.rb', line 53 def libraries @libraries end |
#main_app ⇒ Object
Returns the value of attribute main_app.
53 54 55 |
# File 'lib/alexandria/ui/main_app.rb', line 53 def main_app @main_app end |
#prefs ⇒ Object
Returns the value of attribute prefs.
53 54 55 |
# File 'lib/alexandria/ui/main_app.rb', line 53 def prefs @prefs end |
#ui_manager ⇒ Object
Returns the value of attribute ui_manager.
53 54 55 |
# File 'lib/alexandria/ui/main_app.rb', line 53 def ui_manager @ui_manager end |