monitors

package
v0.0.0-...-9ee7c9c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	ClassName string
}

type Clients

type Clients struct {
	// contains filtered or unexported fields
}

func (Clients) Names

func (c Clients) Names() (names []string)

type Desktop

type Desktop struct {
	Name string
	Id   int
	Root *Node
}

func (Desktop) Clients

func (d Desktop) Clients() (clients Clients)

func (Desktop) IsEmpty

func (d Desktop) IsEmpty() bool

func (Desktop) Nodes

func (d Desktop) Nodes() (nodes []*Node)

func (*Desktop) Rename

func (d *Desktop) Rename(name string) error

type Monitor

type Monitor struct {
	Name     string
	Id       int
	Desktops []Desktop
}

func (*Monitor) AppendDesktop

func (m *Monitor) AppendDesktop(name string) error

func (*Monitor) EmptyDesktops

func (m *Monitor) EmptyDesktops() (desktops []*Desktop)

func (*Monitor) RemoveDesktop

func (m *Monitor) RemoveDesktop(id int) error

type Monitors

type Monitors []Monitor

func GetMonitors

func GetMonitors() (*Monitors, error)

type Node

type Node struct {
	Id          int
	Client      *Client
	FirstChild  *Node
	SecondChild *Node
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL