primaryselection

package
v0.5.3 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 (*ZwpPrimarySelectionDeviceManagerV1) Base

func (*ZwpPrimarySelectionDeviceManagerV1) Dispatch

func (*ZwpPrimarySelectionDeviceManagerV1) Handler

type ZwpPrimarySelectionDeviceV1

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

func (*ZwpPrimarySelectionDeviceV1) Base

func (*ZwpPrimarySelectionDeviceV1) Dispatch

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

func (*ZwpPrimarySelectionDeviceV1) Handler

func (*ZwpPrimarySelectionDeviceV1) SendDataOffer

func (*ZwpPrimarySelectionDeviceV1) SendSelection

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

func (obj *ZwpPrimarySelectionOfferV1) Base() *wire.Object

func (*ZwpPrimarySelectionOfferV1) Dispatch

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

func (*ZwpPrimarySelectionOfferV1) Handler

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 (*ZwpPrimarySelectionSourceV1) Base

func (*ZwpPrimarySelectionSourceV1) Dispatch

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

func (*ZwpPrimarySelectionSourceV1) Handler

func (*ZwpPrimarySelectionSourceV1) SendCancelled

func (obj *ZwpPrimarySelectionSourceV1) SendCancelled() error

func (*ZwpPrimarySelectionSourceV1) SendSend

func (obj *ZwpPrimarySelectionSourceV1) SendSend(mimeType string, fd int) error

type ZwpPrimarySelectionSourceV1Handler

type ZwpPrimarySelectionSourceV1Handler interface {
	Offer(obj *ZwpPrimarySelectionSourceV1, mimeType string) error
	Destroy(obj *ZwpPrimarySelectionSourceV1) error
}

Jump to

Keyboard shortcuts

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