class Peridot::UI::QueueWindow

Defined in:

ui.cr

Constructors

Instance Method Summary

Instance methods inherited from class Peridot::UI::Window

add add, container : Peridot::TContainer container, current_line : String current_line, deselect deselect, draw draw, filter(arg) filter, filtered? : Bool filtered?, lines : Array(String) lines, lines=(lines : Array(String)) lines=, play play, resize(dimensions) resize, select select, selected_line : Int32 selected_line, selected_line=(selected_line : Int32) selected_line=, title=(title : String) title=, unfilter unfilter, update update, write_line(text : String, line : Int32, fg : Int32, bg : Int32)
write_line(text : String, line : Int32)
write_line
, write_lines(lines : Array(String), selected_index : Int32)
write_lines(lines : Array(String))
write_lines

Constructor methods inherited from class Peridot::UI::Window

new(title : String, dimensions : NamedTuple(x: Int32, y: Int32, w: Int32, h: Int32), lines : Array(String))
new(title : String, dimensions : NamedTuple(x: Int32, y: Int32, w: Int32, h: Int32))
new

Constructor Detail

def self.new(mpd : MpdClient, dimensions : NamedTuple(x: Int32, y: Int32, w: Int32, h: Int32)) #

[View source]

Instance Method Detail

def clear : Void #

[View source]
def play #
Description copied from class Peridot::UI::Window

Defined Here to be overriden in child classes


[View source]
def remove : Void #

[View source]
def update #
Description copied from class Peridot::UI::Window

Defined Here to be overriden in child classes


[View source]