Documentation ¶
Index ¶
- Constants
- Variables
- func Xrror(err string) *managerError
- type Location
- type Loops
- type Manager
- func (m *Manager) ClientMessage(evt xgb.Event) error
- func (m *Manager) Clients() []clients.Client
- func (m *Manager) ConfigureRequest(evt xgb.Event) error
- func (m *Manager) Current() Location
- func (m *Manager) Desktops() []desktops.Desktop
- func (m *Manager) DestroyNotify(evt xgb.Event) error
- func (m *Manager) EnterNotify(evt xgb.Event) error
- func (m *Manager) FocusIn(evt xgb.Event) error
- func (m *Manager) HandleState(loc Location, state, action uint32)
- func (m *Manager) LoadConfig(f string) error
- func (m *Manager) Locate(origin Location, sel ...selector.Selector) (Location, bool)
- func (m *Manager) LocationDesktopIndex(i int) (Location, bool)
- func (m *Manager) LocationWindow(win xproto.Window) (Location, bool)
- func (m *Manager) Looping(l *net.UnixListener) *Loops
- func (m *Manager) MapRequest(evt xgb.Event) error
- func (m *Manager) Monitors() []monitors.Monitor
- func (m *Manager) MotionNotify(evt xgb.Event) error
- func (m *Manager) PropertyNotify(evt xgb.Event) error
- func (m *Manager) RemoveClient(loc Location) error
- func (m *Manager) ScreenChange(evt xgb.Event) error
- func (m *Manager) SetEventFns()
- func (m *Manager) SignalHandler(sig os.Signal)
- func (m *Manager) Tree() *branch.Branch
- func (m *Manager) UnmapNotify(evt xgb.Event) error
Constants ¶
View Source
const ( COMMENT = byte('#') LINECONTINUE = byte('\\') )
View Source
const ( StateRemove = iota StateAdd StateToggle )
Variables ¶
View Source
var EventError = Xrror("Event : %+v is not recognized despite being passed to Manager function %s.").Out
View Source
var RemoveClientError = Xrror("Unable to remove client, branch or client at Location does not exist.")
Functions ¶
Types ¶
type Manager ¶
type Manager struct { *log.Logger handler.Handler settings.Settings *Loops rules.Ruler commander.Commander *branch.Branch }
func (*Manager) HandleState ¶
func (*Manager) LoadConfig ¶
func (*Manager) LocationDesktopIndex ¶
func (*Manager) LocationWindow ¶
func (*Manager) RemoveClient ¶
func (*Manager) SetEventFns ¶
func (m *Manager) SetEventFns()
func (*Manager) SignalHandler ¶
Click to show internal directories.
Click to hide internal directories.