Class: RubyCurses::MenuSeparator
- Defined in:
- lib/rbcurse/core/widgets/rmenu.rb
Overview
The separator that separates menuitems, helping to group them.
Instance Attribute Summary collapse
-
#bgcolor ⇒ Object
2011-09-25 V1.3.1.
- #coffset ⇒ Object
- #col ⇒ Object
-
#color ⇒ Object
2011-09-25 V1.3.1.
- #enabled ⇒ Object
- #parent ⇒ Object
- #row ⇒ Object
- #width ⇒ Object
Instance Method Summary collapse
- #destroy ⇒ Object
-
#initialize ⇒ MenuSeparator
constructor
A new instance of MenuSeparator.
- #on_enter ⇒ Object
- #on_leave ⇒ Object
- #repaint ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ MenuSeparator
Returns a new instance of MenuSeparator.
45 46 47 |
# File 'lib/rbcurse/core/widgets/rmenu.rb', line 45 def initialize @enable = false end |
Instance Attribute Details
#bgcolor ⇒ Object
2011-09-25 V1.3.1
44 45 46 |
# File 'lib/rbcurse/core/widgets/rmenu.rb', line 44 def bgcolor @bgcolor end |
#coffset ⇒ Object
42 43 44 |
# File 'lib/rbcurse/core/widgets/rmenu.rb', line 42 def coffset @coffset end |
#color ⇒ Object
2011-09-25 V1.3.1
44 45 46 |
# File 'lib/rbcurse/core/widgets/rmenu.rb', line 44 def color @color end |
#enabled ⇒ Object
38 39 40 |
# File 'lib/rbcurse/core/widgets/rmenu.rb', line 38 def enabled @enabled end |
#parent ⇒ Object
39 40 41 |
# File 'lib/rbcurse/core/widgets/rmenu.rb', line 39 def parent @parent end |