wlclient

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: MIT, MIT Imports: 7 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

Overview

Package wlclient is the client side of a Wayland connection: the object map and dispatch that the generated client bindings run on.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SocketPath

func SocketPath(getenv func(string) string) (string, error)

Types

type Display

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

func Connect

func Connect(path string) (*Display, error)

func FromFD

func FromFD(fd int) (*Display, error)

func (*Display) Add

func (d *Display) Add(r wire.Resource) error

func (*Display) Close

func (d *Display) Close() error

func (*Display) Conn

func (d *Display) Conn() *wire.Conn

func (*Display) Dispatch

func (d *Display) Dispatch() error

func (*Display) DispatchPending

func (d *Display) DispatchPending() error

func (*Display) Flush

func (d *Display) Flush() error

func (*Display) Get

func (d *Display) Get(id wire.ObjectID) (wire.Resource, bool)

func (*Display) NewID

func (d *Display) NewID() (wire.ObjectID, error)

func (*Display) ReadEvents

func (d *Display) ReadEvents() error

func (*Display) Remove

func (d *Display) Remove(id wire.ObjectID) error

func (*Display) Roundtrip

func (d *Display) Roundtrip() error

func (*Display) WlDisplay

func (d *Display) WlDisplay() *wayland.WlDisplay

Directories

Path Synopsis
Package feedback reads zwp_linux_dmabuf_feedback_v1 as a client: the device a compositor renders with and the format and modifier pairs each tranche of devices imports.
Package feedback reads zwp_linux_dmabuf_feedback_v1 as a client: the device a compositor renders with and the format and modifier pairs each tranche of devices imports.

Jump to

Keyboard shortcuts

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