client

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client manages the Wayland connection and protocol objects

func NewClient

func NewClient() (*Client, error)

NewClient creates a new Wayland client

func (*Client) Close

func (c *Client) Close() error

Close closes the Wayland connection

func (*Client) GetContext

func (c *Client) GetContext() *wl.Context

GetContext returns the Wayland context

func (*Client) GetDisplay

func (c *Client) GetDisplay() *wl.Display

GetDisplay returns the Wayland display

func (*Client) GetKeyboardManagerName

func (c *Client) GetKeyboardManagerName() uint32

GetKeyboardManagerName returns the name ID for the virtual keyboard manager

func (*Client) GetPointerManagerName

func (c *Client) GetPointerManagerName() uint32

GetPointerManagerName returns the name ID for the virtual pointer manager

func (*Client) GetRegistry

func (c *Client) GetRegistry() *wl.Registry

GetRegistry returns the Wayland registry

func (*Client) GetSeat

func (c *Client) GetSeat() *wl.Seat

GetSeat returns the Wayland seat

func (*Client) HandleRegistryGlobal

func (c *Client) HandleRegistryGlobal(event wl.RegistryGlobalEvent)

HandleRegistryGlobal implements wl.RegistryGlobalHandler

func (*Client) HandleRegistryGlobalRemove

func (c *Client) HandleRegistryGlobalRemove(event wl.RegistryGlobalRemoveEvent)

HandleRegistryGlobalRemove implements wl.RegistryGlobalRemoveHandler

func (*Client) HasVirtualKeyboard

func (c *Client) HasVirtualKeyboard() bool

HasVirtualKeyboard returns true if virtual keyboard protocol is available

func (*Client) HasVirtualPointer

func (c *Client) HasVirtualPointer() bool

HasVirtualPointer returns true if virtual pointer protocol is available

Jump to

Keyboard shortcuts

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