class

Ori::FilePicker

Inherits Ori::Node < Reference < Object

Constructors

new(current_dir : String = Dir.current, allowed_types : Array(String) = [] of String, show_hidden : Bool = false, on_select : Proc(String, Nil) | Nil = nil, style : Ori::S = Ori::S.none)
Source

Instance methods

content_height
Source
content_width
Source
current_dir
Source
current_dir=(dir : String) : Nil
Source
cursor
Source
did_select?
Source
files
Source
focusable?
Source
on_key(key : Ori::Key) : Bool
Source
on_mouse(mouse : Ori::Mouse) : Bool
Source
render(io : IO) : Nil
Source
render_screen(screen : Ori::Screen) : Nil
Source
selected_file
Source

Nested types