class Minyaty::Category
- Minyaty::Category
- Reference
- Object
Direct Known Subclasses
Defined in:
minyaty/category.crConstructors
Instance Method Summary
- #mark_categorized_windows
- #matching_windows(all_windows)
- #name : String
- #name=(name : String)
- #next
- #patterns : Array({pattern: String, hints: {x: Int32?, y: Int32?, width: Int32?, height: Int32?}})
- #patterns=(patterns : Array(NamedTuple(pattern: String, hints: NamedTuple(x: Int32 | Nil, y: Int32 | Nil, width: Int32 | Nil, height: Int32 | Nil))))
- #pointer : Int32
- #pointer=(pointer : Int32)
-
#refresh(all_windows)
takes a list of windows and stores the ones that match a pattern
- #restart
- #resume
- #window_at_pointer
- #windows : Array(Minyaty::Window)
- #windows=(windows : Array(Minyaty::Window))
Constructor Detail
def self.new(name : String, patterns : Array(NamedTuple(pattern: String, hints: WindowHints)))
#
Instance Method Detail
def patterns : Array({pattern: String, hints: {x: Int32?, y: Int32?, width: Int32?, height: Int32?}})
#
def patterns=(patterns : Array(NamedTuple(pattern: String, hints: NamedTuple(x: Int32 | Nil, y: Int32 | Nil, width: Int32 | Nil, height: Int32 | Nil))))
#