Documentation
¶
Index ¶
- Variables
- type ZwpPrimarySelectionDeviceManagerV1
- func (obj *ZwpPrimarySelectionDeviceManagerV1) Base() *wire.Object
- func (obj *ZwpPrimarySelectionDeviceManagerV1) CreateSource(h ZwpPrimarySelectionSourceV1Handler) (*ZwpPrimarySelectionSourceV1, error)
- func (obj *ZwpPrimarySelectionDeviceManagerV1) Destroy() error
- func (obj *ZwpPrimarySelectionDeviceManagerV1) Dispatch(msg *wire.Message) error
- func (obj *ZwpPrimarySelectionDeviceManagerV1) GetDevice(h ZwpPrimarySelectionDeviceV1Handler, seat *wayland.WlSeat) (*ZwpPrimarySelectionDeviceV1, error)
- type ZwpPrimarySelectionDeviceV1
- func (obj *ZwpPrimarySelectionDeviceV1) Base() *wire.Object
- func (obj *ZwpPrimarySelectionDeviceV1) Destroy() error
- func (obj *ZwpPrimarySelectionDeviceV1) Dispatch(msg *wire.Message) error
- func (obj *ZwpPrimarySelectionDeviceV1) Handler() ZwpPrimarySelectionDeviceV1Handler
- func (obj *ZwpPrimarySelectionDeviceV1) SetSelection(source *ZwpPrimarySelectionSourceV1, serial uint32) error
- type ZwpPrimarySelectionDeviceV1Handler
- type ZwpPrimarySelectionOfferV1
- func (obj *ZwpPrimarySelectionOfferV1) Base() *wire.Object
- func (obj *ZwpPrimarySelectionOfferV1) Destroy() error
- func (obj *ZwpPrimarySelectionOfferV1) Dispatch(msg *wire.Message) error
- func (obj *ZwpPrimarySelectionOfferV1) Handler() ZwpPrimarySelectionOfferV1Handler
- func (obj *ZwpPrimarySelectionOfferV1) Receive(mimeType string, fd int) error
- type ZwpPrimarySelectionOfferV1Handler
- type ZwpPrimarySelectionSourceV1
- func (obj *ZwpPrimarySelectionSourceV1) Base() *wire.Object
- func (obj *ZwpPrimarySelectionSourceV1) Destroy() error
- func (obj *ZwpPrimarySelectionSourceV1) Dispatch(msg *wire.Message) error
- func (obj *ZwpPrimarySelectionSourceV1) Handler() ZwpPrimarySelectionSourceV1Handler
- func (obj *ZwpPrimarySelectionSourceV1) Offer(mimeType string) 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 NewZwpPrimarySelectionDeviceManagerV1 ¶
func NewZwpPrimarySelectionDeviceManagerV1(p wire.Peer, version uint32) (*ZwpPrimarySelectionDeviceManagerV1, error)
func (*ZwpPrimarySelectionDeviceManagerV1) Base ¶
func (obj *ZwpPrimarySelectionDeviceManagerV1) Base() *wire.Object
func (*ZwpPrimarySelectionDeviceManagerV1) CreateSource ¶
func (obj *ZwpPrimarySelectionDeviceManagerV1) CreateSource(h ZwpPrimarySelectionSourceV1Handler) (*ZwpPrimarySelectionSourceV1, error)
func (*ZwpPrimarySelectionDeviceManagerV1) Destroy ¶
func (obj *ZwpPrimarySelectionDeviceManagerV1) Destroy() error
func (*ZwpPrimarySelectionDeviceManagerV1) Dispatch ¶
func (obj *ZwpPrimarySelectionDeviceManagerV1) Dispatch(msg *wire.Message) error
func (*ZwpPrimarySelectionDeviceManagerV1) GetDevice ¶
func (obj *ZwpPrimarySelectionDeviceManagerV1) GetDevice(h ZwpPrimarySelectionDeviceV1Handler, seat *wayland.WlSeat) (*ZwpPrimarySelectionDeviceV1, 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, version uint32, h ZwpPrimarySelectionDeviceV1Handler) (*ZwpPrimarySelectionDeviceV1, error)
func (*ZwpPrimarySelectionDeviceV1) Base ¶
func (obj *ZwpPrimarySelectionDeviceV1) Base() *wire.Object
func (*ZwpPrimarySelectionDeviceV1) Destroy ¶
func (obj *ZwpPrimarySelectionDeviceV1) Destroy() error
func (*ZwpPrimarySelectionDeviceV1) Dispatch ¶
func (obj *ZwpPrimarySelectionDeviceV1) Dispatch(msg *wire.Message) error
func (*ZwpPrimarySelectionDeviceV1) Handler ¶
func (obj *ZwpPrimarySelectionDeviceV1) Handler() ZwpPrimarySelectionDeviceV1Handler
func (*ZwpPrimarySelectionDeviceV1) SetSelection ¶
func (obj *ZwpPrimarySelectionDeviceV1) SetSelection(source *ZwpPrimarySelectionSourceV1, serial uint32) error
type ZwpPrimarySelectionDeviceV1Handler ¶
type ZwpPrimarySelectionDeviceV1Handler interface {
DataOffer(obj *ZwpPrimarySelectionDeviceV1, offer *ZwpPrimarySelectionOfferV1) (ZwpPrimarySelectionOfferV1Handler, error)
Selection(obj *ZwpPrimarySelectionDeviceV1, id *ZwpPrimarySelectionOfferV1) 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, version uint32, h ZwpPrimarySelectionOfferV1Handler) (*ZwpPrimarySelectionOfferV1, error)
func (*ZwpPrimarySelectionOfferV1) Base ¶
func (obj *ZwpPrimarySelectionOfferV1) Base() *wire.Object
func (*ZwpPrimarySelectionOfferV1) Destroy ¶
func (obj *ZwpPrimarySelectionOfferV1) Destroy() error
func (*ZwpPrimarySelectionOfferV1) Dispatch ¶
func (obj *ZwpPrimarySelectionOfferV1) Dispatch(msg *wire.Message) error
func (*ZwpPrimarySelectionOfferV1) Handler ¶
func (obj *ZwpPrimarySelectionOfferV1) Handler() ZwpPrimarySelectionOfferV1Handler
type ZwpPrimarySelectionOfferV1Handler ¶
type ZwpPrimarySelectionOfferV1Handler interface {
Offer(obj *ZwpPrimarySelectionOfferV1, mimeType string) 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, version uint32, h ZwpPrimarySelectionSourceV1Handler) (*ZwpPrimarySelectionSourceV1, error)
func (*ZwpPrimarySelectionSourceV1) Base ¶
func (obj *ZwpPrimarySelectionSourceV1) Base() *wire.Object
func (*ZwpPrimarySelectionSourceV1) Destroy ¶
func (obj *ZwpPrimarySelectionSourceV1) Destroy() error
func (*ZwpPrimarySelectionSourceV1) Dispatch ¶
func (obj *ZwpPrimarySelectionSourceV1) Dispatch(msg *wire.Message) error
func (*ZwpPrimarySelectionSourceV1) Handler ¶
func (obj *ZwpPrimarySelectionSourceV1) Handler() ZwpPrimarySelectionSourceV1Handler
func (*ZwpPrimarySelectionSourceV1) Offer ¶
func (obj *ZwpPrimarySelectionSourceV1) Offer(mimeType string) error
type ZwpPrimarySelectionSourceV1Handler ¶
type ZwpPrimarySelectionSourceV1Handler interface {
Send(obj *ZwpPrimarySelectionSourceV1, mimeType string, fd int) error
Cancelled(obj *ZwpPrimarySelectionSourceV1) error
}
Click to show internal directories.
Click to hide internal directories.