class Minyaty::Category

Direct Known Subclasses

Defined in:

minyaty/category.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, patterns : Array(NamedTuple(pattern: String, hints: WindowHints))) #

[View source]

Instance Method Detail

def mark_categorized_windows #

[View source]
def matching_windows(all_windows) #

[View source]
def name : String #

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

[View source]
def next #

[View source]
def patterns : Array({pattern: String, hints: {x: Int32?, y: Int32?, width: Int32?, height: Int32?}}) #

[View source]
def patterns=(patterns : Array(NamedTuple(pattern: String, hints: NamedTuple(x: Int32 | Nil, y: Int32 | Nil, width: Int32 | Nil, height: Int32 | Nil)))) #

[View source]
def pointer : Int32 #

[View source]
def pointer=(pointer : Int32) #

[View source]
def refresh(all_windows) #

takes a list of windows and stores the ones that match a pattern


[View source]
def restart #

[View source]
def resume #

[View source]
def window_at_pointer #

[View source]
def windows : Array(Minyaty::Window) #

[View source]
def windows=(windows : Array(Minyaty::Window)) #

[View source]