Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connectable ¶
type Connectable interface {
Applyable
Observable
}
Connectable describes anything that is both an Applyable and an Observable.
type Connectables ¶
type Connectables map[ID]Connectable
Connectables contains connectables mapped by their ID.
type Geometry ¶
type Geometry struct {
// contains filtered or unexported fields
}
func NewGeometry ¶
func (*Geometry) Add ¶
func (g *Geometry) Add(id ID, connectable Connectable)
type Observable ¶
type Observable interface {
GetPosition() (x, y int)
GetSize() (width, height int)
IsMaximized() bool
}
Observable represents anything that window geometry can be retireved from.
type Window ¶
Window contains all data about a window.
func (*Window) SetMaximized ¶
SetMaximized flag of this window.
func (*Window) SetVisible ¶
SetVisible flag of this window.
Click to show internal directories.
Click to hide internal directories.