Class: Interphase::SimpleStatusBar
- Defined in:
- lib/interphase/widgets/status_bar.rb
Overview
Provides a simple status bar which can display a single message.
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Attributes inherited from Widget
Instance Method Summary collapse
-
#initialize(**options, &block) ⇒ SimpleStatusBar
constructor
Create a new simple status bar.
Methods inherited from Widget
#destroy, #method_missing, #on, #respond_to_missing?, #show, #size
Constructor Details
#initialize(**options, &block) ⇒ SimpleStatusBar
Create a new simple status bar.
11 12 13 |
# File 'lib/interphase/widgets/status_bar.rb', line 11 def initialize(**, &block) super(Gtk::Statusbar.new, , &block) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Interphase::Widget
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
8 9 10 |
# File 'lib/interphase/widgets/status_bar.rb', line 8 def text @text end |