primaryselection

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT, MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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) (*ZwpPrimarySelectionDeviceManagerV1, error)

func NewZwpPrimarySelectionDeviceManagerV1

func NewZwpPrimarySelectionDeviceManagerV1(p wire.Peer, version uint32) (*ZwpPrimarySelectionDeviceManagerV1, error)

func (*ZwpPrimarySelectionDeviceManagerV1) Base

func (*ZwpPrimarySelectionDeviceManagerV1) CreateSource

func (*ZwpPrimarySelectionDeviceManagerV1) Destroy

func (*ZwpPrimarySelectionDeviceManagerV1) Dispatch

func (*ZwpPrimarySelectionDeviceManagerV1) GetDevice

type ZwpPrimarySelectionDeviceV1

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

func (*ZwpPrimarySelectionDeviceV1) Base

func (*ZwpPrimarySelectionDeviceV1) Destroy

func (obj *ZwpPrimarySelectionDeviceV1) Destroy() error

func (*ZwpPrimarySelectionDeviceV1) Dispatch

func (obj *ZwpPrimarySelectionDeviceV1) Dispatch(msg *wire.Message) error

func (*ZwpPrimarySelectionDeviceV1) Handler

func (*ZwpPrimarySelectionDeviceV1) SetSelection

func (obj *ZwpPrimarySelectionDeviceV1) SetSelection(source *ZwpPrimarySelectionSourceV1, serial uint32) error

type ZwpPrimarySelectionOfferV1

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

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 (*ZwpPrimarySelectionOfferV1) Receive

func (obj *ZwpPrimarySelectionOfferV1) Receive(mimeType string, fd int) error

type ZwpPrimarySelectionOfferV1Handler

type ZwpPrimarySelectionOfferV1Handler interface {
	Offer(obj *ZwpPrimarySelectionOfferV1, mimeType string) error
}

type ZwpPrimarySelectionSourceV1

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

func (*ZwpPrimarySelectionSourceV1) Base

func (*ZwpPrimarySelectionSourceV1) Destroy

func (obj *ZwpPrimarySelectionSourceV1) Destroy() error

func (*ZwpPrimarySelectionSourceV1) Dispatch

func (obj *ZwpPrimarySelectionSourceV1) Dispatch(msg *wire.Message) error

func (*ZwpPrimarySelectionSourceV1) Handler

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
}

Jump to

Keyboard shortcuts

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