class Popup

Included Modules

Defined in:

popup.cr

Constructors

Instance Method Summary

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 : Int32, y : Int32, height : Int32, width : Int32, &) #

[View source]
def self.new(x = NCurses.maxx // 4, y = NCurses.maxy // 4, height = NCurses.maxy // 2, width = NCurses.maxx // 2, &) #

[View source]

Instance Method Detail

def handle_key(key) #

[View source]
def on_close : Proc(Void) #

[View source]
def on_close=(on_close : Proc(Void)) #

[View source]
def refresh #

[View source]
def release #

[View source]
def text : String #

[View source]
def text=(text : String) #

[View source]