Documentation
¶
Index ¶
- Variables
- type ZwpPrimarySelectionDeviceManagerV1
- type ZwpPrimarySelectionDeviceManagerV1Handler
- type ZwpPrimarySelectionDeviceV1
- func (obj *ZwpPrimarySelectionDeviceV1) Base() *wire.Object
- func (obj *ZwpPrimarySelectionDeviceV1) Dispatch(msg *wire.Message) error
- func (obj *ZwpPrimarySelectionDeviceV1) Handler() ZwpPrimarySelectionDeviceV1Handler
- func (obj *ZwpPrimarySelectionDeviceV1) SendDataOffer(h ZwpPrimarySelectionOfferV1Handler) (*ZwpPrimarySelectionOfferV1, error)
- func (obj *ZwpPrimarySelectionDeviceV1) SendSelection(id *ZwpPrimarySelectionOfferV1) error
- type ZwpPrimarySelectionDeviceV1Handler
- type ZwpPrimarySelectionOfferV1
- type ZwpPrimarySelectionOfferV1Handler
- type ZwpPrimarySelectionSourceV1
- func (obj *ZwpPrimarySelectionSourceV1) Base() *wire.Object
- func (obj *ZwpPrimarySelectionSourceV1) Dispatch(msg *wire.Message) error
- func (obj *ZwpPrimarySelectionSourceV1) Handler() ZwpPrimarySelectionSourceV1Handler
- func (obj *ZwpPrimarySelectionSourceV1) SendCancelled() error
- func (obj *ZwpPrimarySelectionSourceV1) SendSend(mimeType string, fd int) error
- type ZwpPrimarySelectionSourceV1Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var ZwpPrimarySelectionDeviceManagerV1Interface = &wire.Interface{ Name: "zwp_primary_selection_device_manager_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "create_source", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "zwp_primary_selection_source_v1"}}}, {Name: "get_device", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "zwp_primary_selection_device_v1"}, {Name: "seat", Type: wire.ArgObject, Interface: "wl_seat"}}}, {Name: "destroy", Since: 1, Destructor: true}, }, }
View Source
var ZwpPrimarySelectionDeviceV1Interface = &wire.Interface{ Name: "zwp_primary_selection_device_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "set_selection", Since: 1, Args: []wire.Arg{{Name: "source", Type: wire.ArgObject, Interface: "zwp_primary_selection_source_v1", Nullable: true}, {Name: "serial", Type: wire.ArgUint}}}, {Name: "destroy", Since: 1, Destructor: true}, }, Events: []wire.MessageSpec{ {Name: "data_offer", Since: 1, Args: []wire.Arg{{Name: "offer", Type: wire.ArgNewID, Interface: "zwp_primary_selection_offer_v1"}}}, {Name: "selection", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgObject, Interface: "zwp_primary_selection_offer_v1", Nullable: true}}}, }, }
View Source
var ZwpPrimarySelectionOfferV1Interface = &wire.Interface{ Name: "zwp_primary_selection_offer_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "receive", Since: 1, Args: []wire.Arg{{Name: "mime_type", Type: wire.ArgString}, {Name: "fd", Type: wire.ArgFD}}}, {Name: "destroy", Since: 1, Destructor: true}, }, Events: []wire.MessageSpec{ {Name: "offer", Since: 1, Args: []wire.Arg{{Name: "mime_type", Type: wire.ArgString}}}, }, }
View Source
var ZwpPrimarySelectionSourceV1Interface = &wire.Interface{ Name: "zwp_primary_selection_source_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "offer", Since: 1, Args: []wire.Arg{{Name: "mime_type", Type: wire.ArgString}}}, {Name: "destroy", Since: 1, Destructor: true}, }, Events: []wire.MessageSpec{ {Name: "send", Since: 1, Args: []wire.Arg{{Name: "mime_type", Type: wire.ArgString}, {Name: "fd", Type: wire.ArgFD}}}, {Name: "cancelled", Since: 1}, }, }
Functions ¶
This section is empty.
Types ¶
type ZwpPrimarySelectionDeviceManagerV1 ¶
type ZwpPrimarySelectionDeviceManagerV1 struct {
// contains filtered or unexported fields
}
func CreateZwpPrimarySelectionDeviceManagerV1 ¶
func CreateZwpPrimarySelectionDeviceManagerV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ZwpPrimarySelectionDeviceManagerV1) (ZwpPrimarySelectionDeviceManagerV1Handler, error)) (*ZwpPrimarySelectionDeviceManagerV1, error)
func NewZwpPrimarySelectionDeviceManagerV1 ¶
func NewZwpPrimarySelectionDeviceManagerV1(p wire.Peer, id wire.ObjectID, version uint32, h ZwpPrimarySelectionDeviceManagerV1Handler) (*ZwpPrimarySelectionDeviceManagerV1, error)
func (*ZwpPrimarySelectionDeviceManagerV1) Base ¶
func (obj *ZwpPrimarySelectionDeviceManagerV1) Base() *wire.Object
func (*ZwpPrimarySelectionDeviceManagerV1) Dispatch ¶
func (obj *ZwpPrimarySelectionDeviceManagerV1) Dispatch(msg *wire.Message) error
func (*ZwpPrimarySelectionDeviceManagerV1) Handler ¶
func (obj *ZwpPrimarySelectionDeviceManagerV1) Handler() ZwpPrimarySelectionDeviceManagerV1Handler
type ZwpPrimarySelectionDeviceManagerV1Handler ¶
type ZwpPrimarySelectionDeviceManagerV1Handler interface {
CreateSource(obj *ZwpPrimarySelectionDeviceManagerV1, id *ZwpPrimarySelectionSourceV1) (ZwpPrimarySelectionSourceV1Handler, error)
GetDevice(obj *ZwpPrimarySelectionDeviceManagerV1, id *ZwpPrimarySelectionDeviceV1, seat *wayland.WlSeat) (ZwpPrimarySelectionDeviceV1Handler, error)
Destroy(obj *ZwpPrimarySelectionDeviceManagerV1) error
}
type ZwpPrimarySelectionDeviceV1 ¶
type ZwpPrimarySelectionDeviceV1 struct {
// contains filtered or unexported fields
}
func CreateZwpPrimarySelectionDeviceV1 ¶
func CreateZwpPrimarySelectionDeviceV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ZwpPrimarySelectionDeviceV1) (ZwpPrimarySelectionDeviceV1Handler, error)) (*ZwpPrimarySelectionDeviceV1, error)
func NewZwpPrimarySelectionDeviceV1 ¶
func NewZwpPrimarySelectionDeviceV1(p wire.Peer, id wire.ObjectID, version uint32, h ZwpPrimarySelectionDeviceV1Handler) (*ZwpPrimarySelectionDeviceV1, error)
func (*ZwpPrimarySelectionDeviceV1) Base ¶
func (obj *ZwpPrimarySelectionDeviceV1) Base() *wire.Object
func (*ZwpPrimarySelectionDeviceV1) Dispatch ¶
func (obj *ZwpPrimarySelectionDeviceV1) Dispatch(msg *wire.Message) error
func (*ZwpPrimarySelectionDeviceV1) Handler ¶
func (obj *ZwpPrimarySelectionDeviceV1) Handler() ZwpPrimarySelectionDeviceV1Handler
func (*ZwpPrimarySelectionDeviceV1) SendDataOffer ¶
func (obj *ZwpPrimarySelectionDeviceV1) SendDataOffer(h ZwpPrimarySelectionOfferV1Handler) (*ZwpPrimarySelectionOfferV1, error)
func (*ZwpPrimarySelectionDeviceV1) SendSelection ¶
func (obj *ZwpPrimarySelectionDeviceV1) SendSelection(id *ZwpPrimarySelectionOfferV1) error
type ZwpPrimarySelectionDeviceV1Handler ¶
type ZwpPrimarySelectionDeviceV1Handler interface {
SetSelection(obj *ZwpPrimarySelectionDeviceV1, source *ZwpPrimarySelectionSourceV1, serial uint32) error
Destroy(obj *ZwpPrimarySelectionDeviceV1) error
}
type ZwpPrimarySelectionOfferV1 ¶
type ZwpPrimarySelectionOfferV1 struct {
// contains filtered or unexported fields
}
func CreateZwpPrimarySelectionOfferV1 ¶
func CreateZwpPrimarySelectionOfferV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ZwpPrimarySelectionOfferV1) (ZwpPrimarySelectionOfferV1Handler, error)) (*ZwpPrimarySelectionOfferV1, error)
func NewZwpPrimarySelectionOfferV1 ¶
func NewZwpPrimarySelectionOfferV1(p wire.Peer, id wire.ObjectID, version uint32, h ZwpPrimarySelectionOfferV1Handler) (*ZwpPrimarySelectionOfferV1, error)
func (*ZwpPrimarySelectionOfferV1) Base ¶
func (obj *ZwpPrimarySelectionOfferV1) Base() *wire.Object
func (*ZwpPrimarySelectionOfferV1) Dispatch ¶
func (obj *ZwpPrimarySelectionOfferV1) Dispatch(msg *wire.Message) error
func (*ZwpPrimarySelectionOfferV1) Handler ¶
func (obj *ZwpPrimarySelectionOfferV1) Handler() ZwpPrimarySelectionOfferV1Handler
func (*ZwpPrimarySelectionOfferV1) SendOffer ¶
func (obj *ZwpPrimarySelectionOfferV1) SendOffer(mimeType string) error
type ZwpPrimarySelectionOfferV1Handler ¶
type ZwpPrimarySelectionOfferV1Handler interface {
Receive(obj *ZwpPrimarySelectionOfferV1, mimeType string, fd int) error
Destroy(obj *ZwpPrimarySelectionOfferV1) error
}
type ZwpPrimarySelectionSourceV1 ¶
type ZwpPrimarySelectionSourceV1 struct {
// contains filtered or unexported fields
}
func CreateZwpPrimarySelectionSourceV1 ¶
func CreateZwpPrimarySelectionSourceV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ZwpPrimarySelectionSourceV1) (ZwpPrimarySelectionSourceV1Handler, error)) (*ZwpPrimarySelectionSourceV1, error)
func NewZwpPrimarySelectionSourceV1 ¶
func NewZwpPrimarySelectionSourceV1(p wire.Peer, id wire.ObjectID, version uint32, h ZwpPrimarySelectionSourceV1Handler) (*ZwpPrimarySelectionSourceV1, error)
func (*ZwpPrimarySelectionSourceV1) Base ¶
func (obj *ZwpPrimarySelectionSourceV1) Base() *wire.Object
func (*ZwpPrimarySelectionSourceV1) Dispatch ¶
func (obj *ZwpPrimarySelectionSourceV1) Dispatch(msg *wire.Message) error
func (*ZwpPrimarySelectionSourceV1) Handler ¶
func (obj *ZwpPrimarySelectionSourceV1) Handler() ZwpPrimarySelectionSourceV1Handler
func (*ZwpPrimarySelectionSourceV1) SendCancelled ¶
func (obj *ZwpPrimarySelectionSourceV1) SendCancelled() error
type ZwpPrimarySelectionSourceV1Handler ¶
type ZwpPrimarySelectionSourceV1Handler interface {
Offer(obj *ZwpPrimarySelectionSourceV1, mimeType string) error
Destroy(obj *ZwpPrimarySelectionSourceV1) error
}
Click to show internal directories.
Click to hide internal directories.