Class: JLDrill::Gtk::InfoView
- Inherits:
-
ShowInfoContext::InfoView
- Object
- Context::View
- ShowInfoContext::InfoView
- JLDrill::Gtk::InfoView
- Defined in:
- lib/jldrill/views/gtk/InfoView.rb
Instance Attribute Summary collapse
-
#infoWindow ⇒ Object
readonly
Returns the value of attribute infoWindow.
Attributes inherited from Context::View
Instance Method Summary collapse
- #destroy ⇒ Object
- #getWidget ⇒ Object
-
#initialize(context) ⇒ InfoView
constructor
A new instance of InfoView.
- #run(info) ⇒ Object
Methods inherited from Context::View
#addView, #removeView, #removingViewFrom, #viewAddedTo
Constructor Details
#initialize(context) ⇒ InfoView
Returns a new instance of InfoView.
12 13 14 15 |
# File 'lib/jldrill/views/gtk/InfoView.rb', line 12 def initialize(context) super(context) @infoWindow = InfoWindow.new(self) end |
Instance Attribute Details
#infoWindow ⇒ Object (readonly)
Returns the value of attribute infoWindow.
10 11 12 |
# File 'lib/jldrill/views/gtk/InfoView.rb', line 10 def infoWindow @infoWindow end |
Instance Method Details
#destroy ⇒ Object
21 22 23 |
# File 'lib/jldrill/views/gtk/InfoView.rb', line 21 def destroy @infoWindow.destroy end |
#getWidget ⇒ Object
17 18 19 |
# File 'lib/jldrill/views/gtk/InfoView.rb', line 17 def getWidget @infoWindow end |
#run(info) ⇒ Object
25 26 27 28 |
# File 'lib/jldrill/views/gtk/InfoView.rb', line 25 def run(info) super(info) @infoWindow.execute(info) end |