Documentation ¶
Overview ¶
Package wlclient implements a wayland-client like api
Index ¶
- func BufferAddListener(b *wl.Buffer, data wl.BufferReleaseHandler)
- func CallbackAddListener(c *wl.Callback, data wl.CallbackDoneHandler)
- func CallbackDestroy(p *wl.Callback)
- func DataDeviceAddListener(p *wl.DataDevice, h DataDeviceListener)
- func DataDeviceDestroy(p *wl.DataDevice)
- func DataDeviceManagerDestroy(p *wl.DataDeviceManager)
- func DataOfferAddListener(p *wl.DataOffer, h DataOfferListener)
- func DataOfferDestroy(p *wl.DataOffer)
- func DataSourceAddListener(p *wl.DataSource, h DataSourceListener)
- func DataSourceRemoveListener(p *wl.DataSource, h DataSourceListener)
- func DisplayConnect(name []byte) (*wl.Display, error)
- func DisplayDisconnect(display *wl.Display)
- func DisplayDispatch(d *wl.Display) error
- func DisplayGetRegistry(d *wl.Display) (*wl.Registry, error)
- func DisplayRoundtrip(d *wl.Display) error
- func DisplayRun(d *wl.Display) (err error)
- func KeyboardAddListener(kb *wl.Keyboard, l KeyboardListener)
- func KeyboardDestroy(p *wl.Keyboard)
- func KeyboardSetUserData(*wl.Keyboard, interface{})
- func OutputAddListener(o *wl.Output, h OutputListener)
- func PointerAddListener(p *wl.Pointer, h PointerListener)
- func PointerDestroy(p *wl.Pointer)
- func PointerSetUserData(p *wl.Pointer, data interface{})
- func RegionDestroy(p *wl.Region)
- func RegistryAddListener(r *wl.Registry, data RegistryListener)
- func RegistryBindCompositorInterface(r *wl.Registry, name uint32, version uint32) *wl.Compositor
- func RegistryBindDataDeviceManagerInterface(r *wl.Registry, name uint32, version uint32) *wl.DataDeviceManager
- func RegistryBindOutputInterface(r *wl.Registry, name uint32, version uint32) *wl.Output
- func RegistryBindSeatInterface(r *wl.Registry, name uint32, version uint32) *wl.Seat
- func RegistryBindShmInterface(r *wl.Registry, name uint32, version uint32) *wl.Shm
- func RegistryBindWmBaseInterface(r *wl.Registry, name uint32, version uint32) *xdg.WmBase
- func RegistryDestroy(p *wl.Registry)
- func SeatAddListener(s *wl.Seat, data SeatListener)
- func SeatDestroy(p *wl.Seat)
- func ShmAddListener(p *wl.Shm, data wl.ShmFormatHandler)
- func ShmDestroy(p *wl.Shm)
- func SubsurfaceDestroy(p *wl.Subsurface)
- func SurfaceAddListener(s *wl.Surface, enter func(*wl.Surface, *wl.Output), ...)
- func SurfaceSetUserData(p *wl.Surface, data interface{})
- func TouchAddListener(to *wl.Touch, tl TouchListener)
- func TouchDestroy(p *wl.Touch)
- func TouchSetUserData(*wl.Touch, interface{})
- type DataDeviceListener
- type DataOfferListener
- type DataSourceListener
- type KeyboardListener
- type OutputListener
- type PointerListener
- type RegistryListener
- type SeatListener
- type SurfaceEnterLeave
- type TouchListener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BufferAddListener ¶
func BufferAddListener(b *wl.Buffer, data wl.BufferReleaseHandler)
func CallbackAddListener ¶
func CallbackAddListener(c *wl.Callback, data wl.CallbackDoneHandler)
func CallbackDestroy ¶
func DataDeviceAddListener ¶
func DataDeviceAddListener(p *wl.DataDevice, h DataDeviceListener)
func DataDeviceDestroy ¶
func DataDeviceDestroy(p *wl.DataDevice)
func DataDeviceManagerDestroy ¶
func DataDeviceManagerDestroy(p *wl.DataDeviceManager)
func DataOfferAddListener ¶
func DataOfferAddListener(p *wl.DataOffer, h DataOfferListener)
func DataOfferDestroy ¶
func DataSourceAddListener ¶
func DataSourceAddListener(p *wl.DataSource, h DataSourceListener)
func DataSourceRemoveListener ¶
func DataSourceRemoveListener(p *wl.DataSource, h DataSourceListener)
func DisplayDisconnect ¶
func DisplayDispatch ¶
func DisplayRoundtrip ¶
func DisplayRun ¶
func KeyboardAddListener ¶
func KeyboardAddListener(kb *wl.Keyboard, l KeyboardListener)
func KeyboardDestroy ¶
func KeyboardSetUserData ¶
func OutputAddListener ¶
func OutputAddListener(o *wl.Output, h OutputListener)
func PointerAddListener ¶
func PointerAddListener(p *wl.Pointer, h PointerListener)
func PointerDestroy ¶
func PointerSetUserData ¶
func RegionDestroy ¶
func RegistryAddListener ¶
func RegistryAddListener(r *wl.Registry, data RegistryListener)
func RegistryDestroy ¶
func SeatAddListener ¶
func SeatAddListener(s *wl.Seat, data SeatListener)
func SeatDestroy ¶
func ShmAddListener ¶
func ShmAddListener(p *wl.Shm, data wl.ShmFormatHandler)
func ShmDestroy ¶
func SubsurfaceDestroy ¶
func SubsurfaceDestroy(p *wl.Subsurface)
func SurfaceAddListener ¶
func SurfaceSetUserData ¶
func TouchAddListener ¶
func TouchAddListener(to *wl.Touch, tl TouchListener)
func TouchDestroy ¶
func TouchSetUserData ¶
Types ¶
type DataDeviceListener ¶
type DataDeviceListener interface { wl.DataDeviceDataOfferHandler wl.DataDeviceEnterHandler wl.DataDeviceLeaveHandler wl.DataDeviceMotionHandler wl.DataDeviceDropHandler wl.DataDeviceSelectionHandler }
type DataOfferListener ¶
type DataOfferListener interface { wl.DataOfferOfferHandler wl.DataOfferSourceActionsHandler wl.DataOfferActionHandler }
type DataSourceListener ¶
type DataSourceListener interface { wl.DataSourceTargetHandler wl.DataSourceSendHandler wl.DataSourceCancelledHandler wl.DataSourceDndDropPerformedHandler wl.DataSourceDndFinishedHandler wl.DataSourceActionHandler }
type KeyboardListener ¶
type KeyboardListener interface { wl.KeyboardKeymapHandler wl.KeyboardEnterHandler wl.KeyboardLeaveHandler wl.KeyboardKeyHandler wl.KeyboardModifiersHandler wl.KeyboardRepeatInfoHandler }
type OutputListener ¶
type OutputListener interface { wl.OutputGeometryHandler wl.OutputModeHandler wl.OutputDoneHandler wl.OutputScaleHandler }
type PointerListener ¶
type PointerListener interface { wl.PointerEnterHandler wl.PointerLeaveHandler wl.PointerMotionHandler wl.PointerButtonHandler wl.PointerAxisHandler wl.PointerFrameHandler wl.PointerAxisSourceHandler wl.PointerAxisStopHandler wl.PointerAxisDiscreteHandler }
type RegistryListener ¶
type RegistryListener interface { wl.RegistryGlobalHandler wl.RegistryGlobalRemoveHandler }
type SeatListener ¶
type SeatListener interface { wl.SeatCapabilitiesHandler wl.SeatNameHandler }
type SurfaceEnterLeave ¶
type SurfaceEnterLeave struct {
// contains filtered or unexported fields
}
func (*SurfaceEnterLeave) HandleSurfaceEnter ¶
func (el *SurfaceEnterLeave) HandleSurfaceEnter(en wl.SurfaceEnterEvent)
func (*SurfaceEnterLeave) HandleSurfaceLeave ¶
func (el *SurfaceEnterLeave) HandleSurfaceLeave(le wl.SurfaceLeaveEvent)
type TouchListener ¶
type TouchListener interface { wl.TouchDownHandler wl.TouchUpHandler wl.TouchMotionHandler wl.TouchFrameHandler wl.TouchCancelHandler wl.TouchShapeHandler wl.TouchOrientationHandler }
Click to show internal directories.
Click to hide internal directories.