class Cards::Popup

Direct Known Subclasses

Defined in:

cards/popup.cr

Constructors

Instance Method Summary

Instance methods inherited from class Cards::Menu

arrange_items arrange_items, back back, done=(done : Bool) done=, done? : Bool done?, draw draw, draw_background draw_background, draw_header(text : String) draw_header, exit? : Bool exit?, focus(asc = true, wrap = true) focus, focus_last focus_last, focus_next focus_next, hide hide, items=(items : Array(String)) items=, items_height items_height, items_width items_width, select_item select_item, show show, shown? : Bool shown?, update(frame_time) update

Constructor methods inherited from class Cards::Menu

new(items : Array(String)) new

Constructor Detail

def self.new(title : String = "", items = [] of String) #

[View source]

Instance Method Detail

def back #

[View source]
def draw #

[View source]
def on(item, &block : Proc(Nil)) #

[View source]
def select_item #

[View source]
def title : String #

[View source]