class Popup
Included Modules
Defined in:
popup.crConstructors
- .new(x : Int32, y : Int32, height : Int32, width : Int32, &)
- .new(x = NCurses.maxx // 4, y = NCurses.maxy // 4, height = NCurses.maxy // 2, width = NCurses.maxx // 2, &)
Instance Method Summary
- #handle_key(key)
- #on_close : Proc(Void)
- #on_close=(on_close : Proc(Void))
- #refresh
- #release
- #text : String
- #text=(text : String)
Instance methods inherited from module Wrap
wrap(text : String, width : Int32)
wrap
Instance methods inherited from class Window
activate!
activate!,
activate_child!(option)
activate_child!,
activate_parent!
activate_parent!,
active : Bool
active,
active=(active : Bool)
active=,
active? : Bool
active?,
border : Bool
border,
border=(border : Bool)
border=,
height : Int32
height,
height=(height : Int32)
height=,
link_child(child : Window)
link_child,
link_parent(parent : Window)
link_parent,
refresh
refresh,
resize
resize,
title : String
title,
title=(title : String)
title=,
visible : Bool
visible,
visible=(visible : Bool)
visible=,
width : Int32
width,
width=(width : Int32)
width=,
win : NCurses::Window
win,
x : Int32
x,
y : Int32
y
Constructor methods inherited from class Window
new(x : Int32, y : Int32, height : Int32, width : Int32, border : Bool = false)
new
Instance methods inherited from module Wrap
wrap(text : String, width : Int32)
wrap
Constructor Detail
def self.new(x = NCurses.maxx // 4, y = NCurses.maxy // 4, height = NCurses.maxy // 2, width = NCurses.maxx // 2, &)
#