class

Ori::DatePicker

Inherits Ori::CalendarHelper < Ori::Node < Reference < Object

Constants

ARROW = "▾"

Constructors

new(year : Int32 | Nil = nil, month : Int32 | Nil = nil, day : Int32 | Nil = nil, monday_first : Bool = false, open : Bool = false, on_change : Proc(Time, Nil) | Nil = nil, on_toggle : Proc(Bool, Nil) | Nil = nil, header_fg : String | Nil = nil, selected_fg : String | Nil = nil, selected_bg : String | Nil = nil, today_fg : String | Nil = nil, today_bg : String | Nil = nil, day_fg : String | Nil = nil, other_month_fg : String | Nil = nil, style : Ori::S = Ori::S.none)
Source

Instance methods

blur
Source
content_height
Source
content_width
Source
cursor_day
Source
date
Source
focusable?
Source
monday_first
Source
month
Source
on_key(key : Ori::Key) : Bool
Source
open
Source
render(io : IO) : Nil
Source
render_overlay(screen : Ori::Screen) : Nil
Source
render_screen(screen : Ori::Screen) : Nil
Source
set_date(y : Int32, m : Int32, d : Int32) : Nil
Source
year
Source