Documentation
¶
Index ¶
- Variables
- type ExtWorkspaceGroupHandleV1
- func (obj *ExtWorkspaceGroupHandleV1) Base() *wire.Object
- func (obj *ExtWorkspaceGroupHandleV1) Dispatch(msg *wire.Message) error
- func (obj *ExtWorkspaceGroupHandleV1) Handler() ExtWorkspaceGroupHandleV1Handler
- func (obj *ExtWorkspaceGroupHandleV1) SendCapabilities(capabilities ExtWorkspaceGroupHandleV1GroupCapabilities) error
- func (obj *ExtWorkspaceGroupHandleV1) SendOutputEnter(output *wayland.WlOutput) error
- func (obj *ExtWorkspaceGroupHandleV1) SendOutputLeave(output *wayland.WlOutput) error
- func (obj *ExtWorkspaceGroupHandleV1) SendRemoved() error
- func (obj *ExtWorkspaceGroupHandleV1) SendWorkspaceEnter(workspace *ExtWorkspaceHandleV1) error
- func (obj *ExtWorkspaceGroupHandleV1) SendWorkspaceLeave(workspace *ExtWorkspaceHandleV1) error
- type ExtWorkspaceGroupHandleV1GroupCapabilities
- type ExtWorkspaceGroupHandleV1Handler
- type ExtWorkspaceHandleV1
- func (obj *ExtWorkspaceHandleV1) Base() *wire.Object
- func (obj *ExtWorkspaceHandleV1) Dispatch(msg *wire.Message) error
- func (obj *ExtWorkspaceHandleV1) Handler() ExtWorkspaceHandleV1Handler
- func (obj *ExtWorkspaceHandleV1) SendCapabilities(capabilities ExtWorkspaceHandleV1WorkspaceCapabilities) error
- func (obj *ExtWorkspaceHandleV1) SendCoordinates(coordinates []byte) error
- func (obj *ExtWorkspaceHandleV1) SendID(id string) error
- func (obj *ExtWorkspaceHandleV1) SendName(name string) error
- func (obj *ExtWorkspaceHandleV1) SendRemoved() error
- func (obj *ExtWorkspaceHandleV1) SendState(state ExtWorkspaceHandleV1State) error
- type ExtWorkspaceHandleV1Handler
- type ExtWorkspaceHandleV1State
- type ExtWorkspaceHandleV1WorkspaceCapabilities
- type ExtWorkspaceManagerV1
- func (obj *ExtWorkspaceManagerV1) Base() *wire.Object
- func (obj *ExtWorkspaceManagerV1) Dispatch(msg *wire.Message) error
- func (obj *ExtWorkspaceManagerV1) Handler() ExtWorkspaceManagerV1Handler
- func (obj *ExtWorkspaceManagerV1) SendDone() error
- func (obj *ExtWorkspaceManagerV1) SendFinished() error
- func (obj *ExtWorkspaceManagerV1) SendWorkspace(h ExtWorkspaceHandleV1Handler) (*ExtWorkspaceHandleV1, error)
- func (obj *ExtWorkspaceManagerV1) SendWorkspaceGroup(h ExtWorkspaceGroupHandleV1Handler) (*ExtWorkspaceGroupHandleV1, error)
- type ExtWorkspaceManagerV1Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var ExtWorkspaceGroupHandleV1Interface = &wire.Interface{ Name: "ext_workspace_group_handle_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "create_workspace", Since: 1, Args: []wire.Arg{{Name: "workspace", Type: wire.ArgString}}}, {Name: "destroy", Since: 1, Destructor: true}, }, Events: []wire.MessageSpec{ {Name: "capabilities", Since: 1, Args: []wire.Arg{{Name: "capabilities", Type: wire.ArgUint}}}, {Name: "output_enter", Since: 1, Args: []wire.Arg{{Name: "output", Type: wire.ArgObject, Interface: "wl_output"}}}, {Name: "output_leave", Since: 1, Args: []wire.Arg{{Name: "output", Type: wire.ArgObject, Interface: "wl_output"}}}, {Name: "workspace_enter", Since: 1, Args: []wire.Arg{{Name: "workspace", Type: wire.ArgObject, Interface: "ext_workspace_handle_v1"}}}, {Name: "workspace_leave", Since: 1, Args: []wire.Arg{{Name: "workspace", Type: wire.ArgObject, Interface: "ext_workspace_handle_v1"}}}, {Name: "removed", Since: 1}, }, }
View Source
var ExtWorkspaceHandleV1Interface = &wire.Interface{ Name: "ext_workspace_handle_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "destroy", Since: 1, Destructor: true}, {Name: "activate", Since: 1}, {Name: "deactivate", Since: 1}, {Name: "assign", Since: 1, Args: []wire.Arg{{Name: "workspace_group", Type: wire.ArgObject, Interface: "ext_workspace_group_handle_v1"}}}, {Name: "remove", Since: 1}, }, Events: []wire.MessageSpec{ {Name: "id", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgString}}}, {Name: "name", Since: 1, Args: []wire.Arg{{Name: "name", Type: wire.ArgString}}}, {Name: "coordinates", Since: 1, Args: []wire.Arg{{Name: "coordinates", Type: wire.ArgArray}}}, {Name: "state", Since: 1, Args: []wire.Arg{{Name: "state", Type: wire.ArgUint}}}, {Name: "capabilities", Since: 1, Args: []wire.Arg{{Name: "capabilities", Type: wire.ArgUint}}}, {Name: "removed", Since: 1}, }, }
View Source
var ExtWorkspaceManagerV1Interface = &wire.Interface{ Name: "ext_workspace_manager_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "commit", Since: 1}, {Name: "stop", Since: 1}, }, Events: []wire.MessageSpec{ {Name: "workspace_group", Since: 1, Args: []wire.Arg{{Name: "workspace_group", Type: wire.ArgNewID, Interface: "ext_workspace_group_handle_v1"}}}, {Name: "workspace", Since: 1, Args: []wire.Arg{{Name: "workspace", Type: wire.ArgNewID, Interface: "ext_workspace_handle_v1"}}}, {Name: "done", Since: 1}, {Name: "finished", Since: 1, Destructor: true}, }, }
Functions ¶
This section is empty.
Types ¶
type ExtWorkspaceGroupHandleV1 ¶
type ExtWorkspaceGroupHandleV1 struct {
// contains filtered or unexported fields
}
func CreateExtWorkspaceGroupHandleV1 ¶
func CreateExtWorkspaceGroupHandleV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ExtWorkspaceGroupHandleV1) (ExtWorkspaceGroupHandleV1Handler, error)) (*ExtWorkspaceGroupHandleV1, error)
func NewExtWorkspaceGroupHandleV1 ¶
func NewExtWorkspaceGroupHandleV1(p wire.Peer, id wire.ObjectID, version uint32, h ExtWorkspaceGroupHandleV1Handler) (*ExtWorkspaceGroupHandleV1, error)
func (*ExtWorkspaceGroupHandleV1) Base ¶
func (obj *ExtWorkspaceGroupHandleV1) Base() *wire.Object
func (*ExtWorkspaceGroupHandleV1) Dispatch ¶
func (obj *ExtWorkspaceGroupHandleV1) Dispatch(msg *wire.Message) error
func (*ExtWorkspaceGroupHandleV1) Handler ¶
func (obj *ExtWorkspaceGroupHandleV1) Handler() ExtWorkspaceGroupHandleV1Handler
func (*ExtWorkspaceGroupHandleV1) SendCapabilities ¶
func (obj *ExtWorkspaceGroupHandleV1) SendCapabilities(capabilities ExtWorkspaceGroupHandleV1GroupCapabilities) error
func (*ExtWorkspaceGroupHandleV1) SendOutputEnter ¶
func (obj *ExtWorkspaceGroupHandleV1) SendOutputEnter(output *wayland.WlOutput) error
func (*ExtWorkspaceGroupHandleV1) SendOutputLeave ¶
func (obj *ExtWorkspaceGroupHandleV1) SendOutputLeave(output *wayland.WlOutput) error
func (*ExtWorkspaceGroupHandleV1) SendRemoved ¶
func (obj *ExtWorkspaceGroupHandleV1) SendRemoved() error
func (*ExtWorkspaceGroupHandleV1) SendWorkspaceEnter ¶
func (obj *ExtWorkspaceGroupHandleV1) SendWorkspaceEnter(workspace *ExtWorkspaceHandleV1) error
func (*ExtWorkspaceGroupHandleV1) SendWorkspaceLeave ¶
func (obj *ExtWorkspaceGroupHandleV1) SendWorkspaceLeave(workspace *ExtWorkspaceHandleV1) error
type ExtWorkspaceGroupHandleV1GroupCapabilities ¶
type ExtWorkspaceGroupHandleV1GroupCapabilities uint32
const (
ExtWorkspaceGroupHandleV1GroupCapabilitiesCreateWorkspace ExtWorkspaceGroupHandleV1GroupCapabilities = 1
)
func (ExtWorkspaceGroupHandleV1GroupCapabilities) Valid ¶
func (v ExtWorkspaceGroupHandleV1GroupCapabilities) Valid(version uint32) bool
type ExtWorkspaceGroupHandleV1Handler ¶
type ExtWorkspaceGroupHandleV1Handler interface {
CreateWorkspace(obj *ExtWorkspaceGroupHandleV1, workspace string) error
Destroy(obj *ExtWorkspaceGroupHandleV1) error
}
type ExtWorkspaceHandleV1 ¶
type ExtWorkspaceHandleV1 struct {
// contains filtered or unexported fields
}
func CreateExtWorkspaceHandleV1 ¶
func CreateExtWorkspaceHandleV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ExtWorkspaceHandleV1) (ExtWorkspaceHandleV1Handler, error)) (*ExtWorkspaceHandleV1, error)
func NewExtWorkspaceHandleV1 ¶
func NewExtWorkspaceHandleV1(p wire.Peer, id wire.ObjectID, version uint32, h ExtWorkspaceHandleV1Handler) (*ExtWorkspaceHandleV1, error)
func (*ExtWorkspaceHandleV1) Base ¶
func (obj *ExtWorkspaceHandleV1) Base() *wire.Object
func (*ExtWorkspaceHandleV1) Dispatch ¶
func (obj *ExtWorkspaceHandleV1) Dispatch(msg *wire.Message) error
func (*ExtWorkspaceHandleV1) Handler ¶
func (obj *ExtWorkspaceHandleV1) Handler() ExtWorkspaceHandleV1Handler
func (*ExtWorkspaceHandleV1) SendCapabilities ¶
func (obj *ExtWorkspaceHandleV1) SendCapabilities(capabilities ExtWorkspaceHandleV1WorkspaceCapabilities) error
func (*ExtWorkspaceHandleV1) SendCoordinates ¶
func (obj *ExtWorkspaceHandleV1) SendCoordinates(coordinates []byte) error
func (*ExtWorkspaceHandleV1) SendID ¶
func (obj *ExtWorkspaceHandleV1) SendID(id string) error
func (*ExtWorkspaceHandleV1) SendName ¶
func (obj *ExtWorkspaceHandleV1) SendName(name string) error
func (*ExtWorkspaceHandleV1) SendRemoved ¶
func (obj *ExtWorkspaceHandleV1) SendRemoved() error
func (*ExtWorkspaceHandleV1) SendState ¶
func (obj *ExtWorkspaceHandleV1) SendState(state ExtWorkspaceHandleV1State) error
type ExtWorkspaceHandleV1Handler ¶
type ExtWorkspaceHandleV1Handler interface {
Destroy(obj *ExtWorkspaceHandleV1) error
Activate(obj *ExtWorkspaceHandleV1) error
Deactivate(obj *ExtWorkspaceHandleV1) error
Assign(obj *ExtWorkspaceHandleV1, workspaceGroup *ExtWorkspaceGroupHandleV1) error
Remove(obj *ExtWorkspaceHandleV1) error
}
type ExtWorkspaceHandleV1State ¶
type ExtWorkspaceHandleV1State uint32
const ( ExtWorkspaceHandleV1StateActive ExtWorkspaceHandleV1State = 1 ExtWorkspaceHandleV1StateUrgent ExtWorkspaceHandleV1State = 2 ExtWorkspaceHandleV1StateHidden ExtWorkspaceHandleV1State = 4 )
func (ExtWorkspaceHandleV1State) Has ¶
func (v ExtWorkspaceHandleV1State) Has(flag ExtWorkspaceHandleV1State) bool
func (ExtWorkspaceHandleV1State) Valid ¶
func (v ExtWorkspaceHandleV1State) Valid(version uint32) bool
type ExtWorkspaceHandleV1WorkspaceCapabilities ¶
type ExtWorkspaceHandleV1WorkspaceCapabilities uint32
const ( ExtWorkspaceHandleV1WorkspaceCapabilitiesActivate ExtWorkspaceHandleV1WorkspaceCapabilities = 1 ExtWorkspaceHandleV1WorkspaceCapabilitiesDeactivate ExtWorkspaceHandleV1WorkspaceCapabilities = 2 ExtWorkspaceHandleV1WorkspaceCapabilitiesRemove ExtWorkspaceHandleV1WorkspaceCapabilities = 4 ExtWorkspaceHandleV1WorkspaceCapabilitiesAssign ExtWorkspaceHandleV1WorkspaceCapabilities = 8 )
func (ExtWorkspaceHandleV1WorkspaceCapabilities) Valid ¶
func (v ExtWorkspaceHandleV1WorkspaceCapabilities) Valid(version uint32) bool
type ExtWorkspaceManagerV1 ¶
type ExtWorkspaceManagerV1 struct {
// contains filtered or unexported fields
}
func CreateExtWorkspaceManagerV1 ¶
func CreateExtWorkspaceManagerV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ExtWorkspaceManagerV1) (ExtWorkspaceManagerV1Handler, error)) (*ExtWorkspaceManagerV1, error)
func NewExtWorkspaceManagerV1 ¶
func NewExtWorkspaceManagerV1(p wire.Peer, id wire.ObjectID, version uint32, h ExtWorkspaceManagerV1Handler) (*ExtWorkspaceManagerV1, error)
func (*ExtWorkspaceManagerV1) Base ¶
func (obj *ExtWorkspaceManagerV1) Base() *wire.Object
func (*ExtWorkspaceManagerV1) Dispatch ¶
func (obj *ExtWorkspaceManagerV1) Dispatch(msg *wire.Message) error
func (*ExtWorkspaceManagerV1) Handler ¶
func (obj *ExtWorkspaceManagerV1) Handler() ExtWorkspaceManagerV1Handler
func (*ExtWorkspaceManagerV1) SendDone ¶
func (obj *ExtWorkspaceManagerV1) SendDone() error
func (*ExtWorkspaceManagerV1) SendFinished ¶
func (obj *ExtWorkspaceManagerV1) SendFinished() error
func (*ExtWorkspaceManagerV1) SendWorkspace ¶
func (obj *ExtWorkspaceManagerV1) SendWorkspace(h ExtWorkspaceHandleV1Handler) (*ExtWorkspaceHandleV1, error)
func (*ExtWorkspaceManagerV1) SendWorkspaceGroup ¶
func (obj *ExtWorkspaceManagerV1) SendWorkspaceGroup(h ExtWorkspaceGroupHandleV1Handler) (*ExtWorkspaceGroupHandleV1, error)
type ExtWorkspaceManagerV1Handler ¶
type ExtWorkspaceManagerV1Handler interface {
Commit(obj *ExtWorkspaceManagerV1) error
Stop(obj *ExtWorkspaceManagerV1) error
}
Click to show internal directories.
Click to hide internal directories.