class I3::Message::Tree

Overview

Represents the response to a Message::MessageType::GET_TREE request.

See Connection#tree.

Defined in:

i3/message/tree.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(__temp_178 : JSON::PullParser) #

Instance Method Detail

def border : String #

def border=(_border : String) #

def current_border_width : Int32 #

def current_border_width=(_current_border_width : Int32) #

def deco_rect : I3::Message::Rect #

def deco_rect=(_deco_rect : Rect) #

def floating_nodes : Array(I3::Message::Tree) #

def floating_nodes=(_floating_nodes : Array(Tree)) #

def focus : Array(Int32) #

def focus=(_focus : Array(Int32)) #

def focused : Bool #

def focused=(_focused : Bool) #

def geometry : I3::Message::Rect #

def geometry=(_geometry : Rect) #

def id : Int32 #

def id=(_id : Int32) #

def layout : String #

def layout=(_layout : String) #

def name : String? #

def name=(_name : ::Union(String, Nil)) #

def nodes : Array(I3::Message::Tree) #

def nodes=(_nodes : Array(Tree)) #

def orientation : String #

def orientation=(_orientation : String) #

def percent : Float32? #

def percent=(_percent : ::Union(Float32, Nil)) #

def rect : I3::Message::Rect #

def rect=(_rect : Rect) #

def to_json(json : JSON::Builder) #

def type : String #

def type=(_type : String) #

def urgent : Bool #

def urgent=(_urgent : Bool) #

def window : Int32? #

def window=(_window : ::Union(Int32, Nil)) #

def window_rect : I3::Message::Rect #

def window_rect=(_window_rect : Rect) #