Documentation ¶
Index ¶
- Constants
- func IsIgnored(w xproto.Window) bool
- func IsInsideViewPort(w xproto.Window) bool
- func IsMaximized(w xproto.Window) bool
- func IsSpecial(w xproto.Window) bool
- type Client
- type Dimensions
- type Directions
- type Hints
- type Info
- type Manager
- func (mg *Manager) AddClient(c *Client)
- func (mg *Manager) Clients(all bool) []*Client
- func (mg *Manager) DecreaseMaster()
- func (mg *Manager) DecreaseProportion()
- func (mg *Manager) DecreaseSlave()
- func (mg *Manager) IncreaseMaster()
- func (mg *Manager) IncreaseProportion()
- func (mg *Manager) IncreaseSlave()
- func (mg *Manager) Index(windows *Windows, c *Client) int
- func (mg *Manager) IsMaster(c *Client) bool
- func (mg *Manager) MakeMaster(c *Client)
- func (mg *Manager) NextClient()
- func (mg *Manager) Ordered(windows *Windows) []*Client
- func (mg *Manager) PreviousClient()
- func (mg *Manager) RemoveClient(c *Client)
- func (mg *Manager) SetProportions(ps []float64, pi float64, i int, j int) bool
- func (mg *Manager) SwapClient(c1 *Client, c2 *Client)
- func (mg *Manager) Undo()
- func (mg *Manager) Visible(windows *Windows) []*Client
- type Proportions
- type Windows
Constants ¶
View Source
const (
UNKNOWN = "<UNKNOWN>"
)
Variables ¶
This section is empty.
Functions ¶
func IsInsideViewPort ¶
func IsMaximized ¶
Types ¶
type Client ¶
type Client struct { Win *xwindow.Window `json:"-"` // X window object Created time.Time // Internal client creation time Latest Info // Latest client window information Original Info // Original client window information }
func CreateClient ¶
func (*Client) MoveResize ¶
func (*Client) OuterGeometry ¶
func (*Client) UnDecorate ¶
func (c *Client) UnDecorate()
func (*Client) UnMaximize ¶ added in v1.1.0
func (c *Client) UnMaximize()
type Dimensions ¶
type Directions ¶ added in v1.1.0
type Hints ¶ added in v1.1.0
type Hints struct { Normal icccm.NormalHints // Client window geometry hints Motif motif.Hints // Client window decoration hints }
type Info ¶
type Manager ¶
type Manager struct { DeskNum uint // Index of managed desktop Proportions *Proportions // Layout proportions of window clients Masters *Windows // List of master window clients Slaves *Windows // List of slave window clients }
func CreateManager ¶
func (*Manager) DecreaseMaster ¶
func (mg *Manager) DecreaseMaster()
func (*Manager) DecreaseProportion ¶ added in v1.1.0
func (mg *Manager) DecreaseProportion()
func (*Manager) DecreaseSlave ¶
func (mg *Manager) DecreaseSlave()
func (*Manager) IncreaseMaster ¶
func (mg *Manager) IncreaseMaster()
func (*Manager) IncreaseProportion ¶ added in v1.1.0
func (mg *Manager) IncreaseProportion()
func (*Manager) IncreaseSlave ¶
func (mg *Manager) IncreaseSlave()
func (*Manager) MakeMaster ¶
func (*Manager) NextClient ¶
func (mg *Manager) NextClient()
func (*Manager) PreviousClient ¶
func (mg *Manager) PreviousClient()
func (*Manager) RemoveClient ¶
func (*Manager) SetProportions ¶ added in v1.1.0
func (*Manager) SwapClient ¶
type Proportions ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.