class Canis::MenuSeparator
The separator that separates menuitems, helping to group them.
Attributes
bgcolor[RW]
coffset[RW]
col[RW]
color[RW]
enabled[RW]
parent[RW]
row[RW]
width[RW]
Public Class Methods
new()
click to toggle source
# File lib/canis/core/widgets/rmenu.rb, line 44 def initialize @enable = false end
Public Instance Methods
destroy()
click to toggle source
# File lib/canis/core/widgets/rmenu.rb, line 55 def destroy end
on_enter()
click to toggle source
# File lib/canis/core/widgets/rmenu.rb, line 57 def on_enter end
on_leave()
click to toggle source
# File lib/canis/core/widgets/rmenu.rb, line 59 def on_leave end
repaint()
click to toggle source
# File lib/canis/core/widgets/rmenu.rb, line 47 def repaint acolor = get_color($reversecolor, @color, @bgcolor) #@parent.window.printstring( @row, 0, "|%s|" % ("-"*@width), acolor) @parent.window.mvwhline( @row, 1, Ncurses::ACS_HLINE, @width) # these 2 are probably overwritten by the borders @parent.window.mvaddch( @row, 0, Ncurses::ACS_LTEE) @parent.window.mvaddch( @row, @width+1, Ncurses::ACS_RTEE) end
to_s()
click to toggle source
# File lib/canis/core/widgets/rmenu.rb, line 61 def to_s "" end