wlr

package
v0.3.20 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 4 Imported by: 2 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 wlr implements the alpha_modifier_v1 protocol

Package wlr implements the color_representation_v1 protocol

Package wlr implements the content_type_v1 protocol

Package wlr implements the cursor_shape_v1 protocol

Package wlr implements the ext_background_effect_v1 protocol

Package wlr implements the ext_data_control_v1 protocol

Package wlr implements the ext_foreign_toplevel_list_v1 protocol

Package wlr implements the ext_idle_notify_v1 protocol

Package wlr implements the ext_image_capture_source_v1 protocol

Package wlr implements the ext_image_copy_capture_v1 protocol

Package wlr implements the ext_session_lock_v1 protocol

Package wlr implements the fractional_scale_v1 protocol

Package wlr implements the hyprland_ctm_control_v1 protocol

Package wlr implements the hyprland_global_shortcuts_v1 protocol

Package wlr implements the hyprland_toplevel_export_v1 protocol

Package wlr implements the idle_inhibit_unstable_v1 protocol

Package wlr implements the keyboard_shortcuts_inhibit_unstable_v1 protocol

Package wlr implements the linux_dmabuf_v1 protocol

Package wlr implements the linux_drm_syncobj_v1 protocol

Package wlr implements the lys_capture_hint_v1 protocol

Package wlr implements the lys_dynamic_capture_v1 protocol

Package wlr implements the lys_escape_v1 protocol

Package wlr implements the lys_virtual_touch_v1 protocol

Package wlr implements the pointer_constraints_unstable_v1 protocol

Package wlr implements the pointer_gestures_unstable_v1 protocol

Package wlr implements the presentation_time protocol

Package wlr implements the wp_primary_selection_unstable_v1 protocol

Package wlr implements the relative_pointer_unstable_v1 protocol

Package wlr implements the tablet_v2 protocol

Package wlr implements the viewporter protocol

Package wlr implements the wlr_data_control_unstable_v1 protocol

Package wlr implements the wlr_foreign_toplevel_management_unstable_v1 protocol

Package wlr implements the wlr_gamma_control_unstable_v1 protocol

Package wlr implements the wlr_layer_shell_unstable_v1 protocol

Package wlr implements the wlr_output_management_unstable_v1 protocol

Package wlr implements the wlr_output_power_management_unstable_v1 protocol

Package wlr implements the wlr_screencopy_unstable_v1 protocol

Package wlr implements the xdg_activation_v1 protocol

Package wlr implements the xdg_dialog_v1 protocol

Package wlr implements the xdg_foreign_unstable_v2 protocol

Package wlr implements the xdg_output_unstable_v1 protocol

Package wlr implements the xdg_system_bell_v1 protocol

Package wlr implements the xdg_toplevel_icon_v1 protocol

Package wlr implements the xx_hotkey_v1 protocol

Package wlr implements the wlr_virtual_pointer_unstable_v1 protocol

Package wlr implements the virtual_keyboard_unstable_v1 protocol

Index

Constants

View Source
const ActivationTokenV1ErrorAlreadyUsed = 0

ActivationTokenV1ErrorAlreadyUsed means The token has already been used previously

View Source
const CtmControlManagerV1ErrorInvalidMatrix = 0

CtmControlManagerV1ErrorInvalidMatrix means the matrix values are invalid.

View Source
const DataControlDeviceV1ErrorUsedSource = 1

DataControlDeviceV1ErrorUsedSource means source given to set_selection or set_primary_selection was already used before

View Source
const DataControlSourceV1ErrorInvalidOffer = 1

DataControlSourceV1ErrorInvalidOffer means offer sent after ext_data_control_device.set_selection

View Source
const ExtBackgroundEffectManagerV1CapabilityBlur = 1

ExtBackgroundEffectManagerV1CapabilityBlur means the compositor supports applying blur

View Source
const ExtBackgroundEffectManagerV1ErrorExtBackgroundEffectExists = 0

ExtBackgroundEffectManagerV1ErrorExtBackgroundEffectExists means the surface already has a background effect object

View Source
const ExtBackgroundEffectSurfaceV1ErrorSurfaceDestroyed = 0

ExtBackgroundEffectSurfaceV1ErrorSurfaceDestroyed means the associated surface has been destroyed

View Source
const GlobalShortcutsManagerV1ErrorAlreadyTaken = 0

GlobalShortcutsManagerV1ErrorAlreadyTaken means the app_id + id combination has already been registered.

View Source
const HotkeyManagerV1ErrorInvalidAppId = 0

HotkeyManagerV1ErrorInvalidAppId means the app id was empty, set more than once, or set after a hotkey was committed

View Source
const HotkeyManagerV1ModifiersAlt = 4

HotkeyManagerV1ModifiersAlt means the Alt modifier

View Source
const HotkeyManagerV1ModifiersCtrl = 2

HotkeyManagerV1ModifiersCtrl means the Control modifier

View Source
const HotkeyManagerV1ModifiersShift = 1

HotkeyManagerV1ModifiersShift means the Shift modifier

View Source
const HotkeyManagerV1ModifiersSuper = 8

HotkeyManagerV1ModifiersSuper means the Super/Logo modifier

View Source
const HotkeyV1DenyReasonAlreadyBound = 0

HotkeyV1DenyReasonAlreadyBound means held by another hotkey the compositor treats as exclusive

View Source
const HotkeyV1DenyReasonNotPermitted = 1

HotkeyV1DenyReasonNotPermitted means the trigger is disallowed by compositor policy

View Source
const HotkeyV1ErrorInvalidTrigger = 0

HotkeyV1ErrorInvalidTrigger means a null keysym, or unknown modifier bits

View Source
const HotkeyV1ErrorNoTrigger = 1

HotkeyV1ErrorNoTrigger means commit was sent before any trigger was described

View Source
const ImageCopyCaptureCursorSessionV1ErrorDuplicateSession = 1

ImageCopyCaptureCursorSessionV1ErrorDuplicateSession means get_capture_session sent twice

View Source
const ImageCopyCaptureFrameV1ErrorAlreadyCaptured = 3

ImageCopyCaptureFrameV1ErrorAlreadyCaptured means capture request has been sent

View Source
const ImageCopyCaptureFrameV1ErrorInvalidBufferDamage = 2

ImageCopyCaptureFrameV1ErrorInvalidBufferDamage means invalid buffer damage

View Source
const ImageCopyCaptureFrameV1ErrorNoBuffer = 1

ImageCopyCaptureFrameV1ErrorNoBuffer means capture sent without attach_buffer

View Source
const ImageCopyCaptureFrameV1FailureReasonBufferConstraints = 1

ImageCopyCaptureFrameV1FailureReasonBufferConstraints

View Source
const ImageCopyCaptureFrameV1FailureReasonStopped = 2

ImageCopyCaptureFrameV1FailureReasonStopped

View Source
const ImageCopyCaptureFrameV1FailureReasonUnknown = 0

ImageCopyCaptureFrameV1FailureReasonUnknown

View Source
const ImageCopyCaptureManagerV1ErrorInvalidOption = 1

ImageCopyCaptureManagerV1ErrorInvalidOption means invalid option flag

View Source
const ImageCopyCaptureManagerV1OptionsPaintCursors = 1

ImageCopyCaptureManagerV1OptionsPaintCursors means paint cursors onto captured frames

View Source
const ImageCopyCaptureSessionV1ErrorDuplicateFrame = 1

ImageCopyCaptureSessionV1ErrorDuplicateFrame means create_frame sent before destroying previous frame

View Source
const LysCaptureHintManagerV1ErrorAlreadyCaptured = 0

LysCaptureHintManagerV1ErrorAlreadyCaptured means the capture already produced a frame

View Source
const LysVirtualTouchV1ErrorInvalidExtent = 1

LysVirtualTouchV1ErrorInvalidExtent means an extent of 0, or a position past its extent

View Source
const LysVirtualTouchV1ErrorInvalidId = 0

LysVirtualTouchV1ErrorInvalidId means a down with an id already down, or one at or above 65536

View Source
const SessionLockSurfaceV1ErrorCommitBeforeFirstAck = 0

SessionLockSurfaceV1ErrorCommitBeforeFirstAck means surface committed before first ack_configure request

View Source
const SessionLockSurfaceV1ErrorDimensionsMismatch = 2

SessionLockSurfaceV1ErrorDimensionsMismatch means failed to match ack'd width/height

View Source
const SessionLockSurfaceV1ErrorInvalidSerial = 3

SessionLockSurfaceV1ErrorInvalidSerial means serial provided in ack_configure is invalid

View Source
const SessionLockSurfaceV1ErrorNullBuffer = 1

SessionLockSurfaceV1ErrorNullBuffer means surface committed with a null buffer

View Source
const SessionLockV1ErrorAlreadyConstructed = 4

SessionLockV1ErrorAlreadyConstructed means given wl_surface has a buffer attached or committed

View Source
const SessionLockV1ErrorDuplicateOutput = 3

SessionLockV1ErrorDuplicateOutput means given output already has a lock surface

View Source
const SessionLockV1ErrorInvalidDestroy = 0

SessionLockV1ErrorInvalidDestroy means attempted to destroy session lock while locked

View Source
const SessionLockV1ErrorInvalidUnlock = 1

SessionLockV1ErrorInvalidUnlock means unlock requested but locked event was never sent

View Source
const SessionLockV1ErrorRole = 2

SessionLockV1ErrorRole means given wl_surface already has a role

View Source
const ToplevelExportFrameV1ErrorAlreadyUsed = 0

ToplevelExportFrameV1ErrorAlreadyUsed means the object has already been used to copy a wl_buffer

View Source
const ToplevelExportFrameV1ErrorInvalidBuffer = 1

ToplevelExportFrameV1ErrorInvalidBuffer means buffer attributes are invalid

View Source
const ToplevelExportFrameV1FlagsYInvert = 1

ToplevelExportFrameV1FlagsYInvert means contents are y-inverted

View Source
const ToplevelIconV1ErrorImmutable = 2

ToplevelIconV1ErrorImmutable means the icon has already been assigned to a toplevel and must not be changed

View Source
const ToplevelIconV1ErrorInvalidBuffer = 1

ToplevelIconV1ErrorInvalidBuffer means the provided buffer does not satisfy requirements

View Source
const ToplevelIconV1ErrorNoBuffer = 3

ToplevelIconV1ErrorNoBuffer means the provided buffer has been destroyed before the toplevel icon

View Source
const WmDialogV1ErrorAlreadyUsed = 0

WmDialogV1ErrorAlreadyUsed means the xdg_toplevel object has already been used to create a xdg_dialog_v1

View Source
const WpAlphaModifierSurfaceV1ErrorNoSurface = 0

WpAlphaModifierSurfaceV1ErrorNoSurface means wl_surface was destroyed

View Source
const WpAlphaModifierV1ErrorAlreadyConstructed = 0

WpAlphaModifierV1ErrorAlreadyConstructed means wl_surface already has a alpha modifier object

View Source
const WpColorRepresentationManagerV1ErrorSurfaceExists = 1

WpColorRepresentationManagerV1ErrorSurfaceExists means color representation surface exists already

View Source
const WpColorRepresentationSurfaceV1AlphaModePremultipliedElectrical = 0

WpColorRepresentationSurfaceV1AlphaModePremultipliedElectrical

View Source
const WpColorRepresentationSurfaceV1AlphaModePremultipliedOptical = 1

WpColorRepresentationSurfaceV1AlphaModePremultipliedOptical

View Source
const WpColorRepresentationSurfaceV1AlphaModeStraight = 2

WpColorRepresentationSurfaceV1AlphaModeStraight

View Source
const WpColorRepresentationSurfaceV1ChromaLocationType0 = 1

WpColorRepresentationSurfaceV1ChromaLocationType0

View Source
const WpColorRepresentationSurfaceV1ChromaLocationType1 = 2

WpColorRepresentationSurfaceV1ChromaLocationType1

View Source
const WpColorRepresentationSurfaceV1ChromaLocationType2 = 3

WpColorRepresentationSurfaceV1ChromaLocationType2

View Source
const WpColorRepresentationSurfaceV1ChromaLocationType3 = 4

WpColorRepresentationSurfaceV1ChromaLocationType3

View Source
const WpColorRepresentationSurfaceV1ChromaLocationType4 = 5

WpColorRepresentationSurfaceV1ChromaLocationType4

View Source
const WpColorRepresentationSurfaceV1ChromaLocationType5 = 6

WpColorRepresentationSurfaceV1ChromaLocationType5

View Source
const WpColorRepresentationSurfaceV1CoefficientsBt2020 = 6

WpColorRepresentationSurfaceV1CoefficientsBt2020

View Source
const WpColorRepresentationSurfaceV1CoefficientsBt2020Cl = 7

WpColorRepresentationSurfaceV1CoefficientsBt2020Cl

View Source
const WpColorRepresentationSurfaceV1CoefficientsBt601 = 4

WpColorRepresentationSurfaceV1CoefficientsBt601

View Source
const WpColorRepresentationSurfaceV1CoefficientsBt709 = 2

WpColorRepresentationSurfaceV1CoefficientsBt709

View Source
const WpColorRepresentationSurfaceV1CoefficientsFcc = 3

WpColorRepresentationSurfaceV1CoefficientsFcc

View Source
const WpColorRepresentationSurfaceV1CoefficientsIctcp = 8

WpColorRepresentationSurfaceV1CoefficientsIctcp

View Source
const WpColorRepresentationSurfaceV1CoefficientsIdentity = 1

WpColorRepresentationSurfaceV1CoefficientsIdentity

View Source
const WpColorRepresentationSurfaceV1CoefficientsSmpte240 = 5

WpColorRepresentationSurfaceV1CoefficientsSmpte240

View Source
const WpColorRepresentationSurfaceV1ErrorAlphaMode = 1

WpColorRepresentationSurfaceV1ErrorAlphaMode means unsupported alpha mode

View Source
const WpColorRepresentationSurfaceV1ErrorChromaLocation = 5

WpColorRepresentationSurfaceV1ErrorChromaLocation means invalid chroma location

View Source
const WpColorRepresentationSurfaceV1ErrorCoefficients = 2

WpColorRepresentationSurfaceV1ErrorCoefficients means unsupported coefficients

View Source
const WpColorRepresentationSurfaceV1ErrorInert = 4

WpColorRepresentationSurfaceV1ErrorInert means forbidden request on inert object

View Source
const WpColorRepresentationSurfaceV1ErrorPixelFormat = 3

WpColorRepresentationSurfaceV1ErrorPixelFormat means the pixel format and a set value are incompatible

View Source
const WpColorRepresentationSurfaceV1RangeFull = 1

WpColorRepresentationSurfaceV1RangeFull means Full color range

View Source
const WpColorRepresentationSurfaceV1RangeLimited = 2

WpColorRepresentationSurfaceV1RangeLimited means Limited color range

View Source
const WpContentTypeManagerV1ErrorAlreadyConstructed = 0

WpContentTypeManagerV1ErrorAlreadyConstructed means wl_surface already has a content type object

View Source
const WpContentTypeV1TypeGame = 3

WpContentTypeV1TypeGame

View Source
const WpContentTypeV1TypeNone = 0

WpContentTypeV1TypeNone

View Source
const WpContentTypeV1TypePhoto = 1

WpContentTypeV1TypePhoto

View Source
const WpContentTypeV1TypeVideo = 2

WpContentTypeV1TypeVideo

View Source
const WpCursorShapeDeviceV1ErrorInvalidShape = 1

WpCursorShapeDeviceV1ErrorInvalidShape means the specified shape value is invalid

View Source
const WpCursorShapeDeviceV1ShapeAlias = 11

WpCursorShapeDeviceV1ShapeAlias means drag-and-drop: alias of/shortcut to something is to be created

View Source
const WpCursorShapeDeviceV1ShapeAllResize = 36

WpCursorShapeDeviceV1ShapeAllResize means resizing: something can be moved or resized in any direction (non-css value)

View Source
const WpCursorShapeDeviceV1ShapeAllScroll = 32

WpCursorShapeDeviceV1ShapeAllScroll means something can be scrolled in any direction

View Source
const WpCursorShapeDeviceV1ShapeCell = 7

WpCursorShapeDeviceV1ShapeCell means a cell or set of cells may be selected

View Source
const WpCursorShapeDeviceV1ShapeColResize = 30

WpCursorShapeDeviceV1ShapeColResize means resizing: that the item/column can be resized horizontally

View Source
const WpCursorShapeDeviceV1ShapeContextMenu = 2

WpCursorShapeDeviceV1ShapeContextMenu means a context menu is available for the object under the cursor

View Source
const WpCursorShapeDeviceV1ShapeCopy = 12

WpCursorShapeDeviceV1ShapeCopy means drag-and-drop: something is to be copied

View Source
const WpCursorShapeDeviceV1ShapeCrosshair = 8

WpCursorShapeDeviceV1ShapeCrosshair means simple crosshair

View Source
const WpCursorShapeDeviceV1ShapeDefault = 1

WpCursorShapeDeviceV1ShapeDefault means default cursor

View Source
const WpCursorShapeDeviceV1ShapeDndAsk = 35

WpCursorShapeDeviceV1ShapeDndAsk means drag-and-drop: the user will select which action will be carried out (non-css value)

View Source
const WpCursorShapeDeviceV1ShapeEResize = 18

WpCursorShapeDeviceV1ShapeEResize means resizing: the east border is to be moved

View Source
const WpCursorShapeDeviceV1ShapeEwResize = 26

WpCursorShapeDeviceV1ShapeEwResize means resizing: the east and west borders are to be moved

View Source
const WpCursorShapeDeviceV1ShapeGrab = 16

WpCursorShapeDeviceV1ShapeGrab means drag-and-drop: something can be grabbed

View Source
const WpCursorShapeDeviceV1ShapeGrabbing = 17

WpCursorShapeDeviceV1ShapeGrabbing means drag-and-drop: something is being grabbed

View Source
const WpCursorShapeDeviceV1ShapeHelp = 3

WpCursorShapeDeviceV1ShapeHelp means help is available for the object under the cursor

View Source
const WpCursorShapeDeviceV1ShapeMove = 13

WpCursorShapeDeviceV1ShapeMove means drag-and-drop: something is to be moved

View Source
const WpCursorShapeDeviceV1ShapeNResize = 19

WpCursorShapeDeviceV1ShapeNResize means resizing: the north border is to be moved

View Source
const WpCursorShapeDeviceV1ShapeNeResize = 20

WpCursorShapeDeviceV1ShapeNeResize means resizing: the north-east corner is to be moved

View Source
const WpCursorShapeDeviceV1ShapeNeswResize = 28

WpCursorShapeDeviceV1ShapeNeswResize means resizing: the north-east and south-west corners are to be moved

View Source
const WpCursorShapeDeviceV1ShapeNoDrop = 14

WpCursorShapeDeviceV1ShapeNoDrop means drag-and-drop: the dragged item cannot be dropped at the current cursor location

View Source
const WpCursorShapeDeviceV1ShapeNotAllowed = 15

WpCursorShapeDeviceV1ShapeNotAllowed means drag-and-drop: the requested action will not be carried out

View Source
const WpCursorShapeDeviceV1ShapeNsResize = 27

WpCursorShapeDeviceV1ShapeNsResize means resizing: the north and south borders are to be moved

View Source
const WpCursorShapeDeviceV1ShapeNwResize = 21

WpCursorShapeDeviceV1ShapeNwResize means resizing: the north-west corner is to be moved

View Source
const WpCursorShapeDeviceV1ShapeNwseResize = 29

WpCursorShapeDeviceV1ShapeNwseResize means resizing: the north-west and south-east corners are to be moved

View Source
const WpCursorShapeDeviceV1ShapePointer = 4

WpCursorShapeDeviceV1ShapePointer means pointer that indicates a link or another interactive element

View Source
const WpCursorShapeDeviceV1ShapeProgress = 5

WpCursorShapeDeviceV1ShapeProgress means progress indicator

View Source
const WpCursorShapeDeviceV1ShapeRowResize = 31

WpCursorShapeDeviceV1ShapeRowResize means resizing: that the item/row can be resized vertically

View Source
const WpCursorShapeDeviceV1ShapeSResize = 22

WpCursorShapeDeviceV1ShapeSResize means resizing: the south border is to be moved

View Source
const WpCursorShapeDeviceV1ShapeSeResize = 23

WpCursorShapeDeviceV1ShapeSeResize means resizing: the south-east corner is to be moved

View Source
const WpCursorShapeDeviceV1ShapeSwResize = 24

WpCursorShapeDeviceV1ShapeSwResize means resizing: the south-west corner is to be moved

View Source
const WpCursorShapeDeviceV1ShapeText = 9

WpCursorShapeDeviceV1ShapeText means text may be selected

View Source
const WpCursorShapeDeviceV1ShapeVerticalText = 10

WpCursorShapeDeviceV1ShapeVerticalText means vertical text may be selected

View Source
const WpCursorShapeDeviceV1ShapeWResize = 25

WpCursorShapeDeviceV1ShapeWResize means resizing: the west border is to be moved

View Source
const WpCursorShapeDeviceV1ShapeWait = 6

WpCursorShapeDeviceV1ShapeWait means program is busy, user should wait

View Source
const WpCursorShapeDeviceV1ShapeZoomIn = 33

WpCursorShapeDeviceV1ShapeZoomIn means something can be zoomed in

View Source
const WpCursorShapeDeviceV1ShapeZoomOut = 34

WpCursorShapeDeviceV1ShapeZoomOut means something can be zoomed out

View Source
const WpDrmSyncobjManagerV1ErrorInvalidTimeline = 1

WpDrmSyncobjManagerV1ErrorInvalidTimeline means the timeline object could not be imported

View Source
const WpDrmSyncobjManagerV1ErrorSurfaceExists = 0

WpDrmSyncobjManagerV1ErrorSurfaceExists means the surface already has a synchronization object associated

View Source
const WpDrmSyncobjSurfaceV1ErrorConflictingPoints = 6

WpDrmSyncobjSurfaceV1ErrorConflictingPoints means acquire and release timeline points are in conflict

View Source
const WpDrmSyncobjSurfaceV1ErrorNoAcquirePoint = 4

WpDrmSyncobjSurfaceV1ErrorNoAcquirePoint means no acquire timeline point was set

View Source
const WpDrmSyncobjSurfaceV1ErrorNoBuffer = 3

WpDrmSyncobjSurfaceV1ErrorNoBuffer means no buffer was attached

View Source
const WpDrmSyncobjSurfaceV1ErrorNoReleasePoint = 5

WpDrmSyncobjSurfaceV1ErrorNoReleasePoint means no release timeline point was set

View Source
const WpDrmSyncobjSurfaceV1ErrorNoSurface = 1

WpDrmSyncobjSurfaceV1ErrorNoSurface means the associated wl_surface was destroyed

View Source
const WpDrmSyncobjSurfaceV1ErrorUnsupportedBuffer = 2

WpDrmSyncobjSurfaceV1ErrorUnsupportedBuffer means the buffer does not support explicit synchronization

View Source
const WpErrorInvalidFlag = 1

WpErrorInvalidFlag means invalid flag

View Source
const WpErrorInvalidTimestamp = 0

WpErrorInvalidTimestamp means invalid value in tv_nsec

View Source
const WpErrorViewportExists = 0

WpErrorViewportExists means the surface already has a viewport object associated

View Source
const WpPresentationFeedbackKindHwClock = 0x2

WpPresentationFeedbackKindHwClock

View Source
const WpPresentationFeedbackKindHwCompletion = 0x4

WpPresentationFeedbackKindHwCompletion

View Source
const WpPresentationFeedbackKindVsync = 0x1

WpPresentationFeedbackKindVsync

View Source
const WpPresentationFeedbackKindZeroCopy = 0x8

WpPresentationFeedbackKindZeroCopy

View Source
const WpScaleManagerV1ErrorScaleExists = 0

WpScaleManagerV1ErrorScaleExists means the surface already has a fractional_scale object associated

View Source
const WpViewportErrorBadSize = 1

WpViewportErrorBadSize means destination size is not integer

View Source
const WpViewportErrorBadValue = 0

WpViewportErrorBadValue means negative or zero values in width or height

View Source
const WpViewportErrorNoSurface = 3

WpViewportErrorNoSurface means the wl_surface was destroyed

View Source
const WpViewportErrorOutOfBuffer = 2

WpViewportErrorOutOfBuffer means source rectangle extends outside of the content area

View Source
const ZwlrDataControlDeviceV1ErrorUsedSource = 1

ZwlrDataControlDeviceV1ErrorUsedSource means source given to set_selection or set_primary_selection was already used before

View Source
const ZwlrDataControlSourceV1ErrorInvalidOffer = 1

ZwlrDataControlSourceV1ErrorInvalidOffer means offer sent after wlr_data_control_device.set_selection

View Source
const ZwlrForeignToplevelHandleV1ErrorInvalidRectangle = 0

ZwlrForeignToplevelHandleV1ErrorInvalidRectangle means the provided rectangle is invalid

View Source
const ZwlrForeignToplevelHandleV1StateActivated = 2

ZwlrForeignToplevelHandleV1StateActivated means the toplevel is active

View Source
const ZwlrForeignToplevelHandleV1StateFullscreen = 3

ZwlrForeignToplevelHandleV1StateFullscreen means the toplevel is fullscreen

View Source
const ZwlrForeignToplevelHandleV1StateMaximized = 0

ZwlrForeignToplevelHandleV1StateMaximized means the toplevel is maximized

View Source
const ZwlrForeignToplevelHandleV1StateMinimized = 1

ZwlrForeignToplevelHandleV1StateMinimized means the toplevel is minimized

View Source
const ZwlrGammaControlV1ErrorInvalidGamma = 1

ZwlrGammaControlV1ErrorInvalidGamma means invalid gamma tables

View Source
const ZwlrLayerShellV1ErrorAlreadyConstructed = 2

ZwlrLayerShellV1ErrorAlreadyConstructed means wl_surface has a buffer attached or committed

View Source
const ZwlrLayerShellV1ErrorInvalidLayer = 1

ZwlrLayerShellV1ErrorInvalidLayer means layer value is invalid

View Source
const ZwlrLayerShellV1ErrorRole = 0

ZwlrLayerShellV1ErrorRole means wl_surface has another role

View Source
const ZwlrLayerShellV1LayerBackground = 0

ZwlrLayerShellV1LayerBackground

View Source
const ZwlrLayerShellV1LayerBottom = 1

ZwlrLayerShellV1LayerBottom

View Source
const ZwlrLayerShellV1LayerOverlay = 3

ZwlrLayerShellV1LayerOverlay

View Source
const ZwlrLayerShellV1LayerTop = 2

ZwlrLayerShellV1LayerTop

View Source
const ZwlrLayerSurfaceV1AnchorBottom = 2

ZwlrLayerSurfaceV1AnchorBottom means the bottom edge of the anchor rectangle

View Source
const ZwlrLayerSurfaceV1AnchorLeft = 4

ZwlrLayerSurfaceV1AnchorLeft means the left edge of the anchor rectangle

View Source
const ZwlrLayerSurfaceV1AnchorRight = 8

ZwlrLayerSurfaceV1AnchorRight means the right edge of the anchor rectangle

View Source
const ZwlrLayerSurfaceV1AnchorTop = 1

ZwlrLayerSurfaceV1AnchorTop means the top edge of the anchor rectangle

View Source
const ZwlrLayerSurfaceV1ErrorInvalidAnchor = 2

ZwlrLayerSurfaceV1ErrorInvalidAnchor means anchor bitfield is invalid

View Source
const ZwlrLayerSurfaceV1ErrorInvalidExclusiveEdge = 4

ZwlrLayerSurfaceV1ErrorInvalidExclusiveEdge means exclusive edge is invalid given the surface anchors

View Source
const ZwlrLayerSurfaceV1ErrorInvalidKeyboardInteractivity = 3

ZwlrLayerSurfaceV1ErrorInvalidKeyboardInteractivity means keyboard interactivity is invalid

View Source
const ZwlrLayerSurfaceV1ErrorInvalidSize = 1

ZwlrLayerSurfaceV1ErrorInvalidSize means size is invalid

View Source
const ZwlrLayerSurfaceV1ErrorInvalidSurfaceState = 0

ZwlrLayerSurfaceV1ErrorInvalidSurfaceState means provided surface state is invalid

View Source
const ZwlrLayerSurfaceV1KeyboardInteractivityExclusive = 1

ZwlrLayerSurfaceV1KeyboardInteractivityExclusive

View Source
const ZwlrLayerSurfaceV1KeyboardInteractivityNone = 0

ZwlrLayerSurfaceV1KeyboardInteractivityNone

View Source
const ZwlrLayerSurfaceV1KeyboardInteractivityOnDemand = 2

ZwlrLayerSurfaceV1KeyboardInteractivityOnDemand

View Source
const ZwlrOutputConfigurationHeadV1ErrorAlreadySet = 1

ZwlrOutputConfigurationHeadV1ErrorAlreadySet means property has already been set

View Source
const ZwlrOutputConfigurationHeadV1ErrorInvalidAdaptiveSyncState = 6

ZwlrOutputConfigurationHeadV1ErrorInvalidAdaptiveSyncState means invalid enum value used in the set_adaptive_sync request

View Source
const ZwlrOutputConfigurationHeadV1ErrorInvalidCustomMode = 3

ZwlrOutputConfigurationHeadV1ErrorInvalidCustomMode means mode is invalid

View Source
const ZwlrOutputConfigurationHeadV1ErrorInvalidMode = 2

ZwlrOutputConfigurationHeadV1ErrorInvalidMode means mode doesn't belong to head

View Source
const ZwlrOutputConfigurationHeadV1ErrorInvalidScale = 5

ZwlrOutputConfigurationHeadV1ErrorInvalidScale means scale negative or zero

View Source
const ZwlrOutputConfigurationHeadV1ErrorInvalidTransform = 4

ZwlrOutputConfigurationHeadV1ErrorInvalidTransform means transform value outside enum

View Source
const ZwlrOutputConfigurationV1ErrorAlreadyConfiguredHead = 1

ZwlrOutputConfigurationV1ErrorAlreadyConfiguredHead means head has been configured twice

View Source
const ZwlrOutputConfigurationV1ErrorAlreadyUsed = 3

ZwlrOutputConfigurationV1ErrorAlreadyUsed means request sent after configuration has been applied or tested

View Source
const ZwlrOutputConfigurationV1ErrorUnconfiguredHead = 2

ZwlrOutputConfigurationV1ErrorUnconfiguredHead means head has not been configured

View Source
const ZwlrOutputHeadV1AdaptiveSyncStateDisabled = 0

ZwlrOutputHeadV1AdaptiveSyncStateDisabled means adaptive sync is disabled

View Source
const ZwlrOutputHeadV1AdaptiveSyncStateEnabled = 1

ZwlrOutputHeadV1AdaptiveSyncStateEnabled means adaptive sync is enabled

View Source
const ZwlrOutputPowerV1ErrorInvalidMode = 1

ZwlrOutputPowerV1ErrorInvalidMode means nonexistent power save mode

View Source
const ZwlrOutputPowerV1ModeOff = 0

ZwlrOutputPowerV1ModeOff means Output is turned off.

View Source
const ZwlrOutputPowerV1ModeOn = 1

ZwlrOutputPowerV1ModeOn means Output is turned on, no power saving

View Source
const ZwlrScreencopyFrameV1ErrorAlreadyUsed = 0

ZwlrScreencopyFrameV1ErrorAlreadyUsed means the object has already been used to copy a wl_buffer

View Source
const ZwlrScreencopyFrameV1ErrorInvalidBuffer = 1

ZwlrScreencopyFrameV1ErrorInvalidBuffer means buffer attributes are invalid

View Source
const ZwlrScreencopyFrameV1FlagsYInvert = 1

ZwlrScreencopyFrameV1FlagsYInvert means contents are y-inverted

View Source
const ZwlrVirtualPointerV1ErrorInvalidAxis = 0

ZwlrVirtualPointerV1ErrorInvalidAxis means client sent invalid axis enumeration value

View Source
const ZwlrVirtualPointerV1ErrorInvalidAxisSource = 1

ZwlrVirtualPointerV1ErrorInvalidAxisSource means client sent invalid axis source enumeration value

View Source
const ZwpBufferParamsV1ErrorAlreadyUsed = 0

ZwpBufferParamsV1ErrorAlreadyUsed means the zwp_linux_buffer_params_v1 object has already been used to create a wl_buffer

View Source
const ZwpBufferParamsV1ErrorIncomplete = 3

ZwpBufferParamsV1ErrorIncomplete means missing or too many planes to create a buffer

View Source
const ZwpBufferParamsV1ErrorInvalidDevTSize = 8

ZwpBufferParamsV1ErrorInvalidDevTSize means an array with mismatching size for a dev_t was used

View Source
const ZwpBufferParamsV1ErrorInvalidDimensions = 5

ZwpBufferParamsV1ErrorInvalidDimensions means invalid width or height

View Source
const ZwpBufferParamsV1ErrorInvalidFormat = 4

ZwpBufferParamsV1ErrorInvalidFormat means format not supported

View Source
const ZwpBufferParamsV1ErrorInvalidWlBuffer = 7

ZwpBufferParamsV1ErrorInvalidWlBuffer means invalid wl_buffer resulted from importing dmabufs via the create_immed request on given buffer_params

View Source
const ZwpBufferParamsV1ErrorOutOfBounds = 6

ZwpBufferParamsV1ErrorOutOfBounds means offset + stride * height goes out of dmabuf bounds

View Source
const ZwpBufferParamsV1ErrorPlaneIdx = 1

ZwpBufferParamsV1ErrorPlaneIdx means plane index out of bounds

View Source
const ZwpBufferParamsV1ErrorPlaneSet = 2

ZwpBufferParamsV1ErrorPlaneSet means the plane index was already set

View Source
const ZwpBufferParamsV1FlagsBottomFirst = 4

ZwpBufferParamsV1FlagsBottomFirst means bottom field first

View Source
const ZwpBufferParamsV1FlagsInterlaced = 2

ZwpBufferParamsV1FlagsInterlaced means content is interlaced

View Source
const ZwpBufferParamsV1FlagsYInvert = 1

ZwpBufferParamsV1FlagsYInvert means contents are y-inverted

View Source
const ZwpDmabufFeedbackV1TrancheFlagsSampling = 2

ZwpDmabufFeedbackV1TrancheFlagsSampling

View Source
const ZwpDmabufFeedbackV1TrancheFlagsScanout = 1

ZwpDmabufFeedbackV1TrancheFlagsScanout

View Source
const ZwpKeyboardManagerV1ErrorUnauthorized = 0

ZwpKeyboardManagerV1ErrorUnauthorized means client not authorized to use the interface

View Source
const ZwpKeyboardV1ErrorNoKeymap = 0

ZwpKeyboardV1ErrorNoKeymap means No keymap was set

View Source
const ZwpPointerConstraintsV1ErrorAlreadyConstrained = 1

ZwpPointerConstraintsV1ErrorAlreadyConstrained means pointer constraint already requested on that surface

View Source
const ZwpPointerConstraintsV1LifetimeOneshot = 1

ZwpPointerConstraintsV1LifetimeOneshot

View Source
const ZwpPointerConstraintsV1LifetimePersistent = 2

ZwpPointerConstraintsV1LifetimePersistent

View Source
const ZwpShortcutsInhibitManagerV1ErrorAlreadyInhibited = 0

ZwpShortcutsInhibitManagerV1ErrorAlreadyInhibited means the shortcuts are already inhibited for this surface

View Source
const ZwpTabletPadRingV2SourceFinger = 1

ZwpTabletPadRingV2SourceFinger means finger

View Source
const ZwpTabletPadStripV2SourceFinger = 1

ZwpTabletPadStripV2SourceFinger means finger

View Source
const ZwpTabletPadV2ButtonStatePressed = 1

ZwpTabletPadV2ButtonStatePressed means the button is pressed

View Source
const ZwpTabletPadV2ButtonStateReleased = 0

ZwpTabletPadV2ButtonStateReleased means the button is not pressed

View Source
const ZwpTabletToolV2ButtonStatePressed = 1

ZwpTabletToolV2ButtonStatePressed means button is pressed

View Source
const ZwpTabletToolV2ButtonStateReleased = 0

ZwpTabletToolV2ButtonStateReleased means button is not pressed

View Source
const ZwpTabletToolV2CapabilityDistance = 3

ZwpTabletToolV2CapabilityDistance means Distance axis

View Source
const ZwpTabletToolV2CapabilityPressure = 2

ZwpTabletToolV2CapabilityPressure means Pressure axis

View Source
const ZwpTabletToolV2CapabilityRotation = 4

ZwpTabletToolV2CapabilityRotation means Z-rotation axis

View Source
const ZwpTabletToolV2CapabilitySlider = 5

ZwpTabletToolV2CapabilitySlider means Slider axis

View Source
const ZwpTabletToolV2CapabilityTilt = 1

ZwpTabletToolV2CapabilityTilt means Tilt axes

View Source
const ZwpTabletToolV2CapabilityWheel = 6

ZwpTabletToolV2CapabilityWheel means Wheel axis

View Source
const ZwpTabletToolV2ErrorRole = 0

ZwpTabletToolV2ErrorRole means given wl_surface has another role

View Source
const ZwpTabletToolV2TypeAirbrush = 0x144

ZwpTabletToolV2TypeAirbrush means Airbrush

View Source
const ZwpTabletToolV2TypeBrush = 0x142

ZwpTabletToolV2TypeBrush means Brush

View Source
const ZwpTabletToolV2TypeEraser = 0x141

ZwpTabletToolV2TypeEraser means Eraser

View Source
const ZwpTabletToolV2TypeFinger = 0x145

ZwpTabletToolV2TypeFinger means Finger

View Source
const ZwpTabletToolV2TypeLens = 0x147

ZwpTabletToolV2TypeLens means Lens

View Source
const ZwpTabletToolV2TypeMouse = 0x146

ZwpTabletToolV2TypeMouse means Mouse

View Source
const ZwpTabletToolV2TypePen = 0x140

ZwpTabletToolV2TypePen means Pen

View Source
const ZwpTabletToolV2TypePencil = 0x143

ZwpTabletToolV2TypePencil means Pencil

View Source
const ZwpTabletV2BustypeBluetooth = 5

ZwpTabletV2BustypeBluetooth means Bluetooth

View Source
const ZwpTabletV2BustypeI2c = 24

ZwpTabletV2BustypeI2c means I2C

View Source
const ZwpTabletV2BustypeSerial = 17

ZwpTabletV2BustypeSerial means Serial

View Source
const ZwpTabletV2BustypeUsb = 3

ZwpTabletV2BustypeUsb means USB

View Source
const ZwpTabletV2BustypeVirtual = 6

ZwpTabletV2BustypeVirtual means Virtual

View Source
const ZxdgExporterV2ErrorInvalidSurface = 0

ZxdgExporterV2ErrorInvalidSurface means surface is not an xdg_toplevel

View Source
const ZxdgImportedV2ErrorInvalidSurface = 0

ZxdgImportedV2ErrorInvalidSurface means surface is not an xdg_toplevel

Variables

This section is empty.

Functions

func Reused

func Reused[T wl.Reusable](ctx *Context) (T, bool)

Reused forwards wl.Reused for the generated constructors of the interfaces the scanner's -reuse names.

func SafeCast

func SafeCast[T any](p wl.Proxy) T

SafeCast forwards wl.SafeCast for the generated event dispatch, which references it unqualified (see the text-input-v3 binding upstream).

Types

type ActivationTokenV1

type ActivationTokenV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ActivationTokenV1 an exported activation handle

func NewActivationTokenV1

func NewActivationTokenV1(ctx *Context) *ActivationTokenV1

NewActivationTokenV1 is a constructor for the ActivationTokenV1 object

func (*ActivationTokenV1) AddDoneHandler

func (p *ActivationTokenV1) AddDoneHandler(h ActivationTokenV1DoneHandler)

AddDoneHandler adds the Done handler

func (*ActivationTokenV1) Commit

func (p *ActivationTokenV1) Commit() error

Commit issues the token request

func (*ActivationTokenV1) Destroy

func (p *ActivationTokenV1) Destroy() error

Destroy destroy the xdg_activation_token_v1 object

func (*ActivationTokenV1) Dispatch

func (p *ActivationTokenV1) Dispatch(event *Event)

Dispatch dispatches event for object ActivationTokenV1

func (*ActivationTokenV1) RemoveDoneHandler

func (p *ActivationTokenV1) RemoveDoneHandler(h ActivationTokenV1DoneHandler)

RemoveDoneHandler removes the Done handler

func (*ActivationTokenV1) SetAppId

func (p *ActivationTokenV1) SetAppId(AppId string) error

SetAppId specifies the application being activated

func (*ActivationTokenV1) SetSerial

func (p *ActivationTokenV1) SetSerial(Serial uint32, Seat *Seat) error

SetSerial specifies the seat and serial of the activating event

func (*ActivationTokenV1) SetSurface

func (p *ActivationTokenV1) SetSurface(Surface *Surface) error

SetSurface specifies the surface requesting activation

type ActivationTokenV1DoneEvent

type ActivationTokenV1DoneEvent struct {
	// Token is the the exported activation token
	Token string
}

ActivationTokenV1DoneEvent is the the exported activation token

type ActivationTokenV1DoneHandler

type ActivationTokenV1DoneHandler interface {
	HandleActivationTokenV1Done(ActivationTokenV1DoneEvent)
}

ActivationTokenV1DoneHandler is the handler interface for ActivationTokenV1DoneEvent

type ActivationV1

type ActivationV1 struct {
	BaseProxy
}

ActivationV1 interface for activating surfaces

func NewActivationV1

func NewActivationV1(ctx *Context) *ActivationV1

NewActivationV1 is a constructor for the ActivationV1 object

func (*ActivationV1) Activate

func (p *ActivationV1) Activate(Token string, Surface *Surface) error

Activate notify new interaction being available

func (*ActivationV1) Destroy

func (p *ActivationV1) Destroy() error

Destroy destroy the xdg_activation object

func (*ActivationV1) Dispatch

func (p *ActivationV1) Dispatch(event *Event)

Dispatch dispatches event for object ActivationV1

func (*ActivationV1) GetActivationToken

func (p *ActivationV1) GetActivationToken() (*ActivationTokenV1, error)

GetActivationToken requests a token

type BaseProxy

type BaseProxy = wl.BaseProxy

BaseProxy is the base type of every generated Wayland proxy.

type Buffer

type Buffer = wl.Buffer

Buffer is a wl_buffer: the toplevel-icon binding posts icon pixels through it.

func NewBuffer

func NewBuffer(ctx *Context) *Buffer

NewBuffer forwards wl.NewBuffer for linux-dmabuf's create_immed, which allocates the wl_buffer id client-side.

type Context

type Context = wl.Context

Context carries a proxy's wire connection for requests.

type CtmControlManagerV1

type CtmControlManagerV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

CtmControlManagerV1 manager to control CTMs

func NewCtmControlManagerV1

func NewCtmControlManagerV1(ctx *Context) *CtmControlManagerV1

NewCtmControlManagerV1 is a constructor for the CtmControlManagerV1 object

func (*CtmControlManagerV1) AddBlockedHandler

AddBlockedHandler adds the Blocked handler

func (*CtmControlManagerV1) Commit

func (p *CtmControlManagerV1) Commit() error

Commit commit the pending state

func (*CtmControlManagerV1) Destroy

func (p *CtmControlManagerV1) Destroy() error

Destroy destroy the manager

func (*CtmControlManagerV1) Dispatch

func (p *CtmControlManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object CtmControlManagerV1

func (*CtmControlManagerV1) RemoveBlockedHandler

func (p *CtmControlManagerV1) RemoveBlockedHandler(h CtmControlManagerV1BlockedHandler)

RemoveBlockedHandler removes the Blocked handler

func (*CtmControlManagerV1) SetCtmForOutput

func (p *CtmControlManagerV1) SetCtmForOutput(Output *Output, Mat0 float32, Mat1 float32, Mat2 float32, Mat3 float32, Mat4 float32, Mat5 float32, Mat6 float32, Mat7 float32, Mat8 float32) error

SetCtmForOutput set the CTM of an output

type CtmControlManagerV1BlockedEvent

type CtmControlManagerV1BlockedEvent struct {
}

CtmControlManagerV1BlockedEvent is the

type CtmControlManagerV1BlockedHandler

type CtmControlManagerV1BlockedHandler interface {
	HandleCtmControlManagerV1Blocked(CtmControlManagerV1BlockedEvent)
}

CtmControlManagerV1BlockedHandler is the handler interface for CtmControlManagerV1BlockedEvent

type DataControlDeviceV1

type DataControlDeviceV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

DataControlDeviceV1 manage a data device for a seat

func NewDataControlDeviceV1

func NewDataControlDeviceV1(ctx *Context) *DataControlDeviceV1

NewDataControlDeviceV1 is a constructor for the DataControlDeviceV1 object

func (*DataControlDeviceV1) AddDataOfferHandler

func (p *DataControlDeviceV1) AddDataOfferHandler(h DataControlDeviceV1DataOfferHandler)

AddDataOfferHandler adds the DataOffer handler

func (*DataControlDeviceV1) AddFinishedHandler

AddFinishedHandler adds the Finished handler

func (*DataControlDeviceV1) AddPrimarySelectionHandler

func (p *DataControlDeviceV1) AddPrimarySelectionHandler(h DataControlDeviceV1PrimarySelectionHandler)

AddPrimarySelectionHandler adds the PrimarySelection handler

func (*DataControlDeviceV1) AddSelectionHandler

func (p *DataControlDeviceV1) AddSelectionHandler(h DataControlDeviceV1SelectionHandler)

AddSelectionHandler adds the Selection handler

func (*DataControlDeviceV1) Destroy

func (p *DataControlDeviceV1) Destroy() error

Destroy destroy this data device

func (*DataControlDeviceV1) Dispatch

func (p *DataControlDeviceV1) Dispatch(event *Event)

Dispatch dispatches event for object DataControlDeviceV1

func (*DataControlDeviceV1) RemoveDataOfferHandler

func (p *DataControlDeviceV1) RemoveDataOfferHandler(h DataControlDeviceV1DataOfferHandler)

RemoveDataOfferHandler removes the DataOffer handler

func (*DataControlDeviceV1) RemoveFinishedHandler

func (p *DataControlDeviceV1) RemoveFinishedHandler(h DataControlDeviceV1FinishedHandler)

RemoveFinishedHandler removes the Finished handler

func (*DataControlDeviceV1) RemovePrimarySelectionHandler

func (p *DataControlDeviceV1) RemovePrimarySelectionHandler(h DataControlDeviceV1PrimarySelectionHandler)

RemovePrimarySelectionHandler removes the PrimarySelection handler

func (*DataControlDeviceV1) RemoveSelectionHandler

func (p *DataControlDeviceV1) RemoveSelectionHandler(h DataControlDeviceV1SelectionHandler)

RemoveSelectionHandler removes the Selection handler

func (*DataControlDeviceV1) SetPrimarySelection

func (p *DataControlDeviceV1) SetPrimarySelection(Source *DataControlSourceV1) error

SetPrimarySelection copy data to the primary selection

func (*DataControlDeviceV1) SetSelection

func (p *DataControlDeviceV1) SetSelection(Source *DataControlSourceV1) error

SetSelection copy data to the selection

type DataControlDeviceV1DataOfferEvent

type DataControlDeviceV1DataOfferEvent struct {
	// Id is the
	Id *DataControlOfferV1
}

DataControlDeviceV1DataOfferEvent is the introduce a new ext_data_control_offer

type DataControlDeviceV1DataOfferHandler

type DataControlDeviceV1DataOfferHandler interface {
	HandleDataControlDeviceV1DataOffer(DataControlDeviceV1DataOfferEvent)
}

DataControlDeviceV1DataOfferHandler is the handler interface for DataControlDeviceV1DataOfferEvent

type DataControlDeviceV1FinishedEvent

type DataControlDeviceV1FinishedEvent struct {
}

DataControlDeviceV1FinishedEvent is the this data control is no longer valid

type DataControlDeviceV1FinishedHandler

type DataControlDeviceV1FinishedHandler interface {
	HandleDataControlDeviceV1Finished(DataControlDeviceV1FinishedEvent)
}

DataControlDeviceV1FinishedHandler is the handler interface for DataControlDeviceV1FinishedEvent

type DataControlDeviceV1PrimarySelectionEvent

type DataControlDeviceV1PrimarySelectionEvent struct {
	// Id is the
	Id *DataControlOfferV1
}

DataControlDeviceV1PrimarySelectionEvent is the advertise new primary selection

type DataControlDeviceV1PrimarySelectionHandler

type DataControlDeviceV1PrimarySelectionHandler interface {
	HandleDataControlDeviceV1PrimarySelection(DataControlDeviceV1PrimarySelectionEvent)
}

DataControlDeviceV1PrimarySelectionHandler is the handler interface for DataControlDeviceV1PrimarySelectionEvent

type DataControlDeviceV1SelectionEvent

type DataControlDeviceV1SelectionEvent struct {
	// Id is the
	Id *DataControlOfferV1
}

DataControlDeviceV1SelectionEvent is the advertise new selection

type DataControlDeviceV1SelectionHandler

type DataControlDeviceV1SelectionHandler interface {
	HandleDataControlDeviceV1Selection(DataControlDeviceV1SelectionEvent)
}

DataControlDeviceV1SelectionHandler is the handler interface for DataControlDeviceV1SelectionEvent

type DataControlManagerV1

type DataControlManagerV1 struct {
	BaseProxy
}

DataControlManagerV1 manager to control data devices

func NewDataControlManagerV1

func NewDataControlManagerV1(ctx *Context) *DataControlManagerV1

NewDataControlManagerV1 is a constructor for the DataControlManagerV1 object

func (*DataControlManagerV1) CreateDataSource

func (p *DataControlManagerV1) CreateDataSource() (*DataControlSourceV1, error)

CreateDataSource create a new data source

func (*DataControlManagerV1) Destroy

func (p *DataControlManagerV1) Destroy() error

Destroy destroy the manager

func (*DataControlManagerV1) Dispatch

func (p *DataControlManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object DataControlManagerV1

func (*DataControlManagerV1) GetDataDevice

func (p *DataControlManagerV1) GetDataDevice(Seat *Seat) (*DataControlDeviceV1, error)

GetDataDevice get a data device for a seat

type DataControlOfferV1

type DataControlOfferV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

DataControlOfferV1 offer to transfer data

func NewDataControlOfferV1

func NewDataControlOfferV1(ctx *Context) *DataControlOfferV1

NewDataControlOfferV1 is a constructor for the DataControlOfferV1 object

func (*DataControlOfferV1) AddOfferHandler

func (p *DataControlOfferV1) AddOfferHandler(h DataControlOfferV1OfferHandler)

AddOfferHandler adds the Offer handler

func (*DataControlOfferV1) Destroy

func (p *DataControlOfferV1) Destroy() error

Destroy destroy this offer

func (*DataControlOfferV1) Dispatch

func (p *DataControlOfferV1) Dispatch(event *Event)

Dispatch dispatches event for object DataControlOfferV1

func (*DataControlOfferV1) Receive

func (p *DataControlOfferV1) Receive(MimeType string, Fd uintptr) error

Receive request that the data is transferred

func (*DataControlOfferV1) RemoveOfferHandler

func (p *DataControlOfferV1) RemoveOfferHandler(h DataControlOfferV1OfferHandler)

RemoveOfferHandler removes the Offer handler

type DataControlOfferV1OfferEvent

type DataControlOfferV1OfferEvent struct {
	// MimeType is the offered MIME type
	MimeType string
}

DataControlOfferV1OfferEvent is the advertise offered MIME type

type DataControlOfferV1OfferHandler

type DataControlOfferV1OfferHandler interface {
	HandleDataControlOfferV1Offer(DataControlOfferV1OfferEvent)
}

DataControlOfferV1OfferHandler is the handler interface for DataControlOfferV1OfferEvent

type DataControlSourceV1

type DataControlSourceV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

DataControlSourceV1 offer to transfer data

func NewDataControlSourceV1

func NewDataControlSourceV1(ctx *Context) *DataControlSourceV1

NewDataControlSourceV1 is a constructor for the DataControlSourceV1 object

func (*DataControlSourceV1) AddCancelledHandler

func (p *DataControlSourceV1) AddCancelledHandler(h DataControlSourceV1CancelledHandler)

AddCancelledHandler adds the Cancelled handler

func (*DataControlSourceV1) AddSendHandler

AddSendHandler adds the Send handler

func (*DataControlSourceV1) Destroy

func (p *DataControlSourceV1) Destroy() error

Destroy destroy this source

func (*DataControlSourceV1) Dispatch

func (p *DataControlSourceV1) Dispatch(event *Event)

Dispatch dispatches event for object DataControlSourceV1

func (*DataControlSourceV1) EventFDs

func (p *DataControlSourceV1) EventFDs(opcode uint32) int

EventFDs returns how many fds the event with opcode carries

func (*DataControlSourceV1) Offer

func (p *DataControlSourceV1) Offer(MimeType string) error

Offer add an offered MIME type

func (*DataControlSourceV1) RemoveCancelledHandler

func (p *DataControlSourceV1) RemoveCancelledHandler(h DataControlSourceV1CancelledHandler)

RemoveCancelledHandler removes the Cancelled handler

func (*DataControlSourceV1) RemoveSendHandler

func (p *DataControlSourceV1) RemoveSendHandler(h DataControlSourceV1SendHandler)

RemoveSendHandler removes the Send handler

type DataControlSourceV1CancelledEvent

type DataControlSourceV1CancelledEvent struct {
}

DataControlSourceV1CancelledEvent is the selection was cancelled

type DataControlSourceV1CancelledHandler

type DataControlSourceV1CancelledHandler interface {
	HandleDataControlSourceV1Cancelled(DataControlSourceV1CancelledEvent)
}

DataControlSourceV1CancelledHandler is the handler interface for DataControlSourceV1CancelledEvent

type DataControlSourceV1SendEvent

type DataControlSourceV1SendEvent struct {
	// MimeType is the MIME type for the data
	MimeType string
	// Fd is the file descriptor for the data
	Fd uintptr
	// FdError is the file descriptor for the data (error)
	FdError error
}

DataControlSourceV1SendEvent is the send the data

type DataControlSourceV1SendHandler

type DataControlSourceV1SendHandler interface {
	HandleDataControlSourceV1Send(DataControlSourceV1SendEvent)
}

DataControlSourceV1SendHandler is the handler interface for DataControlSourceV1SendEvent

type DialogV1

type DialogV1 struct {
	BaseProxy
}

DialogV1 dialog object

func NewDialogV1

func NewDialogV1(ctx *Context) *DialogV1

NewDialogV1 is a constructor for the DialogV1 object

func (*DialogV1) Destroy

func (p *DialogV1) Destroy() error

Destroy destroy the dialog object

func (*DialogV1) Dispatch

func (p *DialogV1) Dispatch(event *Event)

Dispatch dispatches event for object DialogV1

func (*DialogV1) SetModal

func (p *DialogV1) SetModal() error

SetModal mark dialog as modal

func (*DialogV1) UnsetModal

func (p *DialogV1) UnsetModal() error

UnsetModal mark dialog as not modal

type Event

type Event = wl.Event

Event is the base type of every generated proxy event.

type ExtBackgroundEffectManagerV1

type ExtBackgroundEffectManagerV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ExtBackgroundEffectManagerV1 background effect factory

func NewExtBackgroundEffectManagerV1

func NewExtBackgroundEffectManagerV1(ctx *Context) *ExtBackgroundEffectManagerV1

NewExtBackgroundEffectManagerV1 is a constructor for the ExtBackgroundEffectManagerV1 object

func (*ExtBackgroundEffectManagerV1) AddCapabilitiesHandler

AddCapabilitiesHandler adds the Capabilities handler

func (*ExtBackgroundEffectManagerV1) Destroy

func (p *ExtBackgroundEffectManagerV1) Destroy() error

Destroy destroy the background effect manager

func (*ExtBackgroundEffectManagerV1) Dispatch

func (p *ExtBackgroundEffectManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ExtBackgroundEffectManagerV1

func (*ExtBackgroundEffectManagerV1) GetExtBackgroundEffect

func (p *ExtBackgroundEffectManagerV1) GetExtBackgroundEffect(Surface *Surface) (*ExtBackgroundEffectSurfaceV1, error)

GetExtBackgroundEffect get a background effects object

func (*ExtBackgroundEffectManagerV1) RemoveCapabilitiesHandler

RemoveCapabilitiesHandler removes the Capabilities handler

type ExtBackgroundEffectManagerV1CapabilitiesEvent

type ExtBackgroundEffectManagerV1CapabilitiesEvent struct {
	// Flags is the
	Flags uint32
}

ExtBackgroundEffectManagerV1CapabilitiesEvent is the capabilities of the compositor

type ExtBackgroundEffectManagerV1CapabilitiesHandler

type ExtBackgroundEffectManagerV1CapabilitiesHandler interface {
	HandleExtBackgroundEffectManagerV1Capabilities(ExtBackgroundEffectManagerV1CapabilitiesEvent)
}

ExtBackgroundEffectManagerV1CapabilitiesHandler is the handler interface for ExtBackgroundEffectManagerV1CapabilitiesEvent

type ExtBackgroundEffectSurfaceV1

type ExtBackgroundEffectSurfaceV1 struct {
	BaseProxy
}

ExtBackgroundEffectSurfaceV1 background effects for a surface

func NewExtBackgroundEffectSurfaceV1

func NewExtBackgroundEffectSurfaceV1(ctx *Context) *ExtBackgroundEffectSurfaceV1

NewExtBackgroundEffectSurfaceV1 is a constructor for the ExtBackgroundEffectSurfaceV1 object

func (*ExtBackgroundEffectSurfaceV1) Destroy

func (p *ExtBackgroundEffectSurfaceV1) Destroy() error

Destroy release the blur object

func (*ExtBackgroundEffectSurfaceV1) Dispatch

func (p *ExtBackgroundEffectSurfaceV1) Dispatch(event *Event)

Dispatch dispatches event for object ExtBackgroundEffectSurfaceV1

func (*ExtBackgroundEffectSurfaceV1) SetBlurRegion

func (p *ExtBackgroundEffectSurfaceV1) SetBlurRegion(Region *Region) error

SetBlurRegion set blur region

type ExtIdleNotificationV1

type ExtIdleNotificationV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ExtIdleNotificationV1 idle notification

func NewExtIdleNotificationV1

func NewExtIdleNotificationV1(ctx *Context) *ExtIdleNotificationV1

NewExtIdleNotificationV1 is a constructor for the ExtIdleNotificationV1 object

func (*ExtIdleNotificationV1) AddIdledHandler

AddIdledHandler adds the Idled handler

func (*ExtIdleNotificationV1) AddResumedHandler

AddResumedHandler adds the Resumed handler

func (*ExtIdleNotificationV1) Destroy

func (p *ExtIdleNotificationV1) Destroy() error

Destroy destroy the notification object

func (*ExtIdleNotificationV1) Dispatch

func (p *ExtIdleNotificationV1) Dispatch(event *Event)

Dispatch dispatches event for object ExtIdleNotificationV1

func (*ExtIdleNotificationV1) RemoveIdledHandler

RemoveIdledHandler removes the Idled handler

func (*ExtIdleNotificationV1) RemoveResumedHandler

RemoveResumedHandler removes the Resumed handler

type ExtIdleNotificationV1IdledEvent

type ExtIdleNotificationV1IdledEvent struct {
}

ExtIdleNotificationV1IdledEvent is the notification object is idle

type ExtIdleNotificationV1IdledHandler

type ExtIdleNotificationV1IdledHandler interface {
	HandleExtIdleNotificationV1Idled(ExtIdleNotificationV1IdledEvent)
}

ExtIdleNotificationV1IdledHandler is the handler interface for ExtIdleNotificationV1IdledEvent

type ExtIdleNotificationV1ResumedEvent

type ExtIdleNotificationV1ResumedEvent struct {
}

ExtIdleNotificationV1ResumedEvent is the notification object is no longer idle

type ExtIdleNotificationV1ResumedHandler

type ExtIdleNotificationV1ResumedHandler interface {
	HandleExtIdleNotificationV1Resumed(ExtIdleNotificationV1ResumedEvent)
}

ExtIdleNotificationV1ResumedHandler is the handler interface for ExtIdleNotificationV1ResumedEvent

type ExtIdleNotifierV1

type ExtIdleNotifierV1 struct {
	BaseProxy
}

ExtIdleNotifierV1 idle notification manager

func NewExtIdleNotifierV1

func NewExtIdleNotifierV1(ctx *Context) *ExtIdleNotifierV1

NewExtIdleNotifierV1 is a constructor for the ExtIdleNotifierV1 object

func (*ExtIdleNotifierV1) Destroy

func (p *ExtIdleNotifierV1) Destroy() error

Destroy destroy the manager

func (*ExtIdleNotifierV1) Dispatch

func (p *ExtIdleNotifierV1) Dispatch(event *Event)

Dispatch dispatches event for object ExtIdleNotifierV1

func (*ExtIdleNotifierV1) GetIdleNotification

func (p *ExtIdleNotifierV1) GetIdleNotification(Timeout uint32, Seat *Seat) (*ExtIdleNotificationV1, error)

GetIdleNotification create a notification object

func (*ExtIdleNotifierV1) GetInputIdleNotification

func (p *ExtIdleNotifierV1) GetInputIdleNotification(Timeout uint32, Seat *Seat) (*ExtIdleNotificationV1, error)

GetInputIdleNotification create a notification object

type ForeignToplevelHandleV1

type ForeignToplevelHandleV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ForeignToplevelHandleV1 a mapped toplevel

func NewForeignToplevelHandleV1

func NewForeignToplevelHandleV1(ctx *Context) *ForeignToplevelHandleV1

NewForeignToplevelHandleV1 is a constructor for the ForeignToplevelHandleV1 object

func (*ForeignToplevelHandleV1) AddAppIdHandler

AddAppIdHandler adds the AppId handler

func (*ForeignToplevelHandleV1) AddClosedHandler

AddClosedHandler adds the Closed handler

func (*ForeignToplevelHandleV1) AddDoneHandler

AddDoneHandler adds the Done handler

func (*ForeignToplevelHandleV1) AddIdentifierHandler

AddIdentifierHandler adds the Identifier handler

func (*ForeignToplevelHandleV1) AddTitleHandler

AddTitleHandler adds the Title handler

func (*ForeignToplevelHandleV1) Destroy

func (p *ForeignToplevelHandleV1) Destroy() error

Destroy destroy the ext_foreign_toplevel_handle_v1 object

func (*ForeignToplevelHandleV1) Dispatch

func (p *ForeignToplevelHandleV1) Dispatch(event *Event)

Dispatch dispatches event for object ForeignToplevelHandleV1

func (*ForeignToplevelHandleV1) RemoveAppIdHandler

RemoveAppIdHandler removes the AppId handler

func (*ForeignToplevelHandleV1) RemoveClosedHandler

RemoveClosedHandler removes the Closed handler

func (*ForeignToplevelHandleV1) RemoveDoneHandler

RemoveDoneHandler removes the Done handler

func (*ForeignToplevelHandleV1) RemoveIdentifierHandler

RemoveIdentifierHandler removes the Identifier handler

func (*ForeignToplevelHandleV1) RemoveTitleHandler

RemoveTitleHandler removes the Title handler

type ForeignToplevelHandleV1AppIdEvent

type ForeignToplevelHandleV1AppIdEvent struct {
	// AppId is the
	AppId string
}

ForeignToplevelHandleV1AppIdEvent is the app_id change

type ForeignToplevelHandleV1AppIdHandler

type ForeignToplevelHandleV1AppIdHandler interface {
	HandleForeignToplevelHandleV1AppId(ForeignToplevelHandleV1AppIdEvent)
}

ForeignToplevelHandleV1AppIdHandler is the handler interface for ForeignToplevelHandleV1AppIdEvent

type ForeignToplevelHandleV1ClosedEvent

type ForeignToplevelHandleV1ClosedEvent struct {
}

ForeignToplevelHandleV1ClosedEvent is the the toplevel has been closed

type ForeignToplevelHandleV1ClosedHandler

type ForeignToplevelHandleV1ClosedHandler interface {
	HandleForeignToplevelHandleV1Closed(ForeignToplevelHandleV1ClosedEvent)
}

ForeignToplevelHandleV1ClosedHandler is the handler interface for ForeignToplevelHandleV1ClosedEvent

type ForeignToplevelHandleV1DoneEvent

type ForeignToplevelHandleV1DoneEvent struct {
}

ForeignToplevelHandleV1DoneEvent is the all information about the toplevel has been sent

type ForeignToplevelHandleV1DoneHandler

type ForeignToplevelHandleV1DoneHandler interface {
	HandleForeignToplevelHandleV1Done(ForeignToplevelHandleV1DoneEvent)
}

ForeignToplevelHandleV1DoneHandler is the handler interface for ForeignToplevelHandleV1DoneEvent

type ForeignToplevelHandleV1IdentifierEvent

type ForeignToplevelHandleV1IdentifierEvent struct {
	// Identifier is the
	Identifier string
}

ForeignToplevelHandleV1IdentifierEvent is the a stable identifier for a toplevel

type ForeignToplevelHandleV1IdentifierHandler

type ForeignToplevelHandleV1IdentifierHandler interface {
	HandleForeignToplevelHandleV1Identifier(ForeignToplevelHandleV1IdentifierEvent)
}

ForeignToplevelHandleV1IdentifierHandler is the handler interface for ForeignToplevelHandleV1IdentifierEvent

type ForeignToplevelHandleV1TitleEvent

type ForeignToplevelHandleV1TitleEvent struct {
	// Title is the
	Title string
}

ForeignToplevelHandleV1TitleEvent is the title change

type ForeignToplevelHandleV1TitleHandler

type ForeignToplevelHandleV1TitleHandler interface {
	HandleForeignToplevelHandleV1Title(ForeignToplevelHandleV1TitleEvent)
}

ForeignToplevelHandleV1TitleHandler is the handler interface for ForeignToplevelHandleV1TitleEvent

type ForeignToplevelImageCaptureSourceManagerV1

type ForeignToplevelImageCaptureSourceManagerV1 struct {
	BaseProxy
}

ForeignToplevelImageCaptureSourceManagerV1 image capture source manager for foreign toplevels

func NewForeignToplevelImageCaptureSourceManagerV1

func NewForeignToplevelImageCaptureSourceManagerV1(ctx *Context) *ForeignToplevelImageCaptureSourceManagerV1

NewForeignToplevelImageCaptureSourceManagerV1 is a constructor for the ForeignToplevelImageCaptureSourceManagerV1 object

func (*ForeignToplevelImageCaptureSourceManagerV1) CreateSource

CreateSource create source object for foreign toplevel

func (*ForeignToplevelImageCaptureSourceManagerV1) Destroy

Destroy delete this object

func (*ForeignToplevelImageCaptureSourceManagerV1) Dispatch

Dispatch dispatches event for object ForeignToplevelImageCaptureSourceManagerV1

type ForeignToplevelListV1

type ForeignToplevelListV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ForeignToplevelListV1 list toplevels

func NewForeignToplevelListV1

func NewForeignToplevelListV1(ctx *Context) *ForeignToplevelListV1

NewForeignToplevelListV1 is a constructor for the ForeignToplevelListV1 object

func (*ForeignToplevelListV1) AddFinishedHandler

AddFinishedHandler adds the Finished handler

func (*ForeignToplevelListV1) AddToplevelHandler

AddToplevelHandler adds the Toplevel handler

func (*ForeignToplevelListV1) Destroy

func (p *ForeignToplevelListV1) Destroy() error

Destroy destroy the ext_foreign_toplevel_list_v1 object

func (*ForeignToplevelListV1) Dispatch

func (p *ForeignToplevelListV1) Dispatch(event *Event)

Dispatch dispatches event for object ForeignToplevelListV1

func (*ForeignToplevelListV1) RemoveFinishedHandler

func (p *ForeignToplevelListV1) RemoveFinishedHandler(h ForeignToplevelListV1FinishedHandler)

RemoveFinishedHandler removes the Finished handler

func (*ForeignToplevelListV1) RemoveToplevelHandler

func (p *ForeignToplevelListV1) RemoveToplevelHandler(h ForeignToplevelListV1ToplevelHandler)

RemoveToplevelHandler removes the Toplevel handler

func (*ForeignToplevelListV1) Stop

func (p *ForeignToplevelListV1) Stop() error

Stop stop sending events

type ForeignToplevelListV1FinishedEvent

type ForeignToplevelListV1FinishedEvent struct {
}

ForeignToplevelListV1FinishedEvent is the the compositor has finished with the toplevel manager

type ForeignToplevelListV1FinishedHandler

type ForeignToplevelListV1FinishedHandler interface {
	HandleForeignToplevelListV1Finished(ForeignToplevelListV1FinishedEvent)
}

ForeignToplevelListV1FinishedHandler is the handler interface for ForeignToplevelListV1FinishedEvent

type ForeignToplevelListV1ToplevelEvent

type ForeignToplevelListV1ToplevelEvent struct {
	// Toplevel is the
	Toplevel *ForeignToplevelHandleV1
}

ForeignToplevelListV1ToplevelEvent is the a toplevel has been created

type ForeignToplevelListV1ToplevelHandler

type ForeignToplevelListV1ToplevelHandler interface {
	HandleForeignToplevelListV1Toplevel(ForeignToplevelListV1ToplevelEvent)
}

ForeignToplevelListV1ToplevelHandler is the handler interface for ForeignToplevelListV1ToplevelEvent

type GlobalShortcutV1

type GlobalShortcutV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

GlobalShortcutV1 a shortcut

func NewGlobalShortcutV1

func NewGlobalShortcutV1(ctx *Context) *GlobalShortcutV1

NewGlobalShortcutV1 is a constructor for the GlobalShortcutV1 object

func (*GlobalShortcutV1) AddPressedHandler

func (p *GlobalShortcutV1) AddPressedHandler(h GlobalShortcutV1PressedHandler)

AddPressedHandler adds the Pressed handler

func (*GlobalShortcutV1) AddReleasedHandler

func (p *GlobalShortcutV1) AddReleasedHandler(h GlobalShortcutV1ReleasedHandler)

AddReleasedHandler adds the Released handler

func (*GlobalShortcutV1) Destroy

func (p *GlobalShortcutV1) Destroy() error

Destroy delete this object, used or not

func (*GlobalShortcutV1) Dispatch

func (p *GlobalShortcutV1) Dispatch(event *Event)

Dispatch dispatches event for object GlobalShortcutV1

func (*GlobalShortcutV1) RemovePressedHandler

func (p *GlobalShortcutV1) RemovePressedHandler(h GlobalShortcutV1PressedHandler)

RemovePressedHandler removes the Pressed handler

func (*GlobalShortcutV1) RemoveReleasedHandler

func (p *GlobalShortcutV1) RemoveReleasedHandler(h GlobalShortcutV1ReleasedHandler)

RemoveReleasedHandler removes the Released handler

type GlobalShortcutV1PressedEvent

type GlobalShortcutV1PressedEvent struct {
	// TvSecHi is the high 32 bits of the seconds part of the timestamp
	TvSecHi uint32
	// TvSecLo is the low 32 bits of the seconds part of the timestamp
	TvSecLo uint32
	// TvNsec is the nanoseconds part of the timestamp
	TvNsec uint32
}

GlobalShortcutV1PressedEvent is the keystroke pressed

type GlobalShortcutV1PressedHandler

type GlobalShortcutV1PressedHandler interface {
	HandleGlobalShortcutV1Pressed(GlobalShortcutV1PressedEvent)
}

GlobalShortcutV1PressedHandler is the handler interface for GlobalShortcutV1PressedEvent

type GlobalShortcutV1ReleasedEvent

type GlobalShortcutV1ReleasedEvent struct {
	// TvSecHi is the high 32 bits of the seconds part of the timestamp
	TvSecHi uint32
	// TvSecLo is the low 32 bits of the seconds part of the timestamp
	TvSecLo uint32
	// TvNsec is the nanoseconds part of the timestamp
	TvNsec uint32
}

GlobalShortcutV1ReleasedEvent is the keystroke released

type GlobalShortcutV1ReleasedHandler

type GlobalShortcutV1ReleasedHandler interface {
	HandleGlobalShortcutV1Released(GlobalShortcutV1ReleasedEvent)
}

GlobalShortcutV1ReleasedHandler is the handler interface for GlobalShortcutV1ReleasedEvent

type GlobalShortcutsManagerV1

type GlobalShortcutsManagerV1 struct {
	BaseProxy
}

GlobalShortcutsManagerV1 manager to register global shortcuts

func NewGlobalShortcutsManagerV1

func NewGlobalShortcutsManagerV1(ctx *Context) *GlobalShortcutsManagerV1

NewGlobalShortcutsManagerV1 is a constructor for the GlobalShortcutsManagerV1 object

func (*GlobalShortcutsManagerV1) Destroy

func (p *GlobalShortcutsManagerV1) Destroy() error

Destroy destroy the manager

func (*GlobalShortcutsManagerV1) Dispatch

func (p *GlobalShortcutsManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object GlobalShortcutsManagerV1

func (*GlobalShortcutsManagerV1) RegisterShortcut

func (p *GlobalShortcutsManagerV1) RegisterShortcut(Id string, AppId string, Description string, TriggerDescription string) (*GlobalShortcutV1, error)

RegisterShortcut register a shortcut

type HotkeyManagerV1

type HotkeyManagerV1 struct {
	BaseProxy
}

HotkeyManagerV1 global hotkey factory

func NewHotkeyManagerV1

func NewHotkeyManagerV1(ctx *Context) *HotkeyManagerV1

NewHotkeyManagerV1 is a constructor for the HotkeyManagerV1 object

func (*HotkeyManagerV1) CreateHotkey

func (p *HotkeyManagerV1) CreateHotkey() (*HotkeyV1, error)

CreateHotkey create a hotkey

func (*HotkeyManagerV1) Destroy

func (p *HotkeyManagerV1) Destroy() error

Destroy destroy the manager

func (*HotkeyManagerV1) Dispatch

func (p *HotkeyManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object HotkeyManagerV1

func (*HotkeyManagerV1) SetAppId

func (p *HotkeyManagerV1) SetAppId(AppId string) error

SetAppId set the application identifier

type HotkeyV1

type HotkeyV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

HotkeyV1 a single global hotkey

func NewHotkeyV1

func NewHotkeyV1(ctx *Context) *HotkeyV1

NewHotkeyV1 is a constructor for the HotkeyV1 object

func (*HotkeyV1) AddBoundHandler

func (p *HotkeyV1) AddBoundHandler(h HotkeyV1BoundHandler)

AddBoundHandler adds the Bound handler

func (*HotkeyV1) AddDeniedHandler

func (p *HotkeyV1) AddDeniedHandler(h HotkeyV1DeniedHandler)

AddDeniedHandler adds the Denied handler

func (*HotkeyV1) AddReleasedHandler

func (p *HotkeyV1) AddReleasedHandler(h HotkeyV1ReleasedHandler)

AddReleasedHandler adds the Released handler

func (*HotkeyV1) AddRevokedHandler

func (p *HotkeyV1) AddRevokedHandler(h HotkeyV1RevokedHandler)

AddRevokedHandler adds the Revoked handler

func (*HotkeyV1) AddTriggeredHandler

func (p *HotkeyV1) AddTriggeredHandler(h HotkeyV1TriggeredHandler)

AddTriggeredHandler adds the Triggered handler

func (*HotkeyV1) Commit

func (p *HotkeyV1) Commit() error

Commit apply the hotkey

func (*HotkeyV1) Destroy

func (p *HotkeyV1) Destroy() error

Destroy release the hotkey

func (*HotkeyV1) Dispatch

func (p *HotkeyV1) Dispatch(event *Event)

Dispatch dispatches event for object HotkeyV1

func (*HotkeyV1) RemoveBoundHandler

func (p *HotkeyV1) RemoveBoundHandler(h HotkeyV1BoundHandler)

RemoveBoundHandler removes the Bound handler

func (*HotkeyV1) RemoveDeniedHandler

func (p *HotkeyV1) RemoveDeniedHandler(h HotkeyV1DeniedHandler)

RemoveDeniedHandler removes the Denied handler

func (*HotkeyV1) RemoveReleasedHandler

func (p *HotkeyV1) RemoveReleasedHandler(h HotkeyV1ReleasedHandler)

RemoveReleasedHandler removes the Released handler

func (*HotkeyV1) RemoveRevokedHandler

func (p *HotkeyV1) RemoveRevokedHandler(h HotkeyV1RevokedHandler)

RemoveRevokedHandler removes the Revoked handler

func (*HotkeyV1) RemoveTriggeredHandler

func (p *HotkeyV1) RemoveTriggeredHandler(h HotkeyV1TriggeredHandler)

RemoveTriggeredHandler removes the Triggered handler

func (*HotkeyV1) SetButtonTrigger

func (p *HotkeyV1) SetButtonTrigger(Button uint32, Modifiers uint32) error

SetButtonTrigger trigger on a pointer button

func (*HotkeyV1) SetDescription

func (p *HotkeyV1) SetDescription(Description string) error

SetDescription set the human-readable description

func (*HotkeyV1) SetKeyTrigger

func (p *HotkeyV1) SetKeyTrigger(Keysym uint32, Modifiers uint32) error

SetKeyTrigger trigger on a key

func (*HotkeyV1) SetSeat

func (p *HotkeyV1) SetSeat(Seat *Seat) error

SetSeat restrict the hotkey to one seat

type HotkeyV1BoundEvent

type HotkeyV1BoundEvent struct {
}

HotkeyV1BoundEvent is the the hotkey is now active

type HotkeyV1BoundHandler

type HotkeyV1BoundHandler interface {
	HandleHotkeyV1Bound(HotkeyV1BoundEvent)
}

HotkeyV1BoundHandler is the handler interface for HotkeyV1BoundEvent

type HotkeyV1DeniedEvent

type HotkeyV1DeniedEvent struct {
	// Reason is the why it was rejected
	Reason uint32
	// Message is the optional human-readable detail for display (may be empty)
	Message string
}

HotkeyV1DeniedEvent is the the commit was rejected

type HotkeyV1DeniedHandler

type HotkeyV1DeniedHandler interface {
	HandleHotkeyV1Denied(HotkeyV1DeniedEvent)
}

HotkeyV1DeniedHandler is the handler interface for HotkeyV1DeniedEvent

type HotkeyV1ReleasedEvent

type HotkeyV1ReleasedEvent struct {
	// Serial is the input serial for the activation
	Serial uint32
	// Time is the timestamp in milliseconds
	Time uint32
}

HotkeyV1ReleasedEvent is the the hotkey was released

type HotkeyV1ReleasedHandler

type HotkeyV1ReleasedHandler interface {
	HandleHotkeyV1Released(HotkeyV1ReleasedEvent)
}

HotkeyV1ReleasedHandler is the handler interface for HotkeyV1ReleasedEvent

type HotkeyV1RevokedEvent

type HotkeyV1RevokedEvent struct {
	// Message is the optional human-readable detail for display (may be empty)
	Message string
}

HotkeyV1RevokedEvent is the a previously active hotkey was withdrawn

type HotkeyV1RevokedHandler

type HotkeyV1RevokedHandler interface {
	HandleHotkeyV1Revoked(HotkeyV1RevokedEvent)
}

HotkeyV1RevokedHandler is the handler interface for HotkeyV1RevokedEvent

type HotkeyV1TriggeredEvent

type HotkeyV1TriggeredEvent struct {
	// Serial is the input serial for the activation
	Serial uint32
	// Time is the timestamp in milliseconds
	Time uint32
}

HotkeyV1TriggeredEvent is the the hotkey fired

type HotkeyV1TriggeredHandler

type HotkeyV1TriggeredHandler interface {
	HandleHotkeyV1Triggered(HotkeyV1TriggeredEvent)
}

HotkeyV1TriggeredHandler is the handler interface for HotkeyV1TriggeredEvent

type ImageCaptureSourceV1

type ImageCaptureSourceV1 struct {
	BaseProxy
}

ImageCaptureSourceV1 opaque image capture source object

func NewImageCaptureSourceV1

func NewImageCaptureSourceV1(ctx *Context) *ImageCaptureSourceV1

NewImageCaptureSourceV1 is a constructor for the ImageCaptureSourceV1 object

func (*ImageCaptureSourceV1) Destroy

func (p *ImageCaptureSourceV1) Destroy() error

Destroy delete this object

func (*ImageCaptureSourceV1) Dispatch

func (p *ImageCaptureSourceV1) Dispatch(event *Event)

Dispatch dispatches event for object ImageCaptureSourceV1

type ImageCopyCaptureCursorSessionV1

type ImageCopyCaptureCursorSessionV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ImageCopyCaptureCursorSessionV1 cursor capture session

func NewImageCopyCaptureCursorSessionV1

func NewImageCopyCaptureCursorSessionV1(ctx *Context) *ImageCopyCaptureCursorSessionV1

NewImageCopyCaptureCursorSessionV1 is a constructor for the ImageCopyCaptureCursorSessionV1 object

func (*ImageCopyCaptureCursorSessionV1) AddEnterHandler

AddEnterHandler adds the Enter handler

func (*ImageCopyCaptureCursorSessionV1) AddHotspotHandler

AddHotspotHandler adds the Hotspot handler

func (*ImageCopyCaptureCursorSessionV1) AddLeaveHandler

AddLeaveHandler adds the Leave handler

func (*ImageCopyCaptureCursorSessionV1) AddPositionHandler

AddPositionHandler adds the Position handler

func (*ImageCopyCaptureCursorSessionV1) Destroy

Destroy delete this object

func (*ImageCopyCaptureCursorSessionV1) Dispatch

func (p *ImageCopyCaptureCursorSessionV1) Dispatch(event *Event)

Dispatch dispatches event for object ImageCopyCaptureCursorSessionV1

func (*ImageCopyCaptureCursorSessionV1) GetCaptureSession

GetCaptureSession get image copy capturer session

func (*ImageCopyCaptureCursorSessionV1) RemoveEnterHandler

RemoveEnterHandler removes the Enter handler

func (*ImageCopyCaptureCursorSessionV1) RemoveHotspotHandler

RemoveHotspotHandler removes the Hotspot handler

func (*ImageCopyCaptureCursorSessionV1) RemoveLeaveHandler

RemoveLeaveHandler removes the Leave handler

func (*ImageCopyCaptureCursorSessionV1) RemovePositionHandler

RemovePositionHandler removes the Position handler

type ImageCopyCaptureCursorSessionV1EnterEvent

type ImageCopyCaptureCursorSessionV1EnterEvent struct {
}

ImageCopyCaptureCursorSessionV1EnterEvent is the cursor entered captured area

type ImageCopyCaptureCursorSessionV1EnterHandler

type ImageCopyCaptureCursorSessionV1EnterHandler interface {
	HandleImageCopyCaptureCursorSessionV1Enter(ImageCopyCaptureCursorSessionV1EnterEvent)
}

ImageCopyCaptureCursorSessionV1EnterHandler is the handler interface for ImageCopyCaptureCursorSessionV1EnterEvent

type ImageCopyCaptureCursorSessionV1HotspotEvent

type ImageCopyCaptureCursorSessionV1HotspotEvent struct {
	// X is the hotspot x coordinates
	X int32
	// Y is the hotspot y coordinates
	Y int32
}

ImageCopyCaptureCursorSessionV1HotspotEvent is the hotspot changed

type ImageCopyCaptureCursorSessionV1HotspotHandler

type ImageCopyCaptureCursorSessionV1HotspotHandler interface {
	HandleImageCopyCaptureCursorSessionV1Hotspot(ImageCopyCaptureCursorSessionV1HotspotEvent)
}

ImageCopyCaptureCursorSessionV1HotspotHandler is the handler interface for ImageCopyCaptureCursorSessionV1HotspotEvent

type ImageCopyCaptureCursorSessionV1LeaveEvent

type ImageCopyCaptureCursorSessionV1LeaveEvent struct {
}

ImageCopyCaptureCursorSessionV1LeaveEvent is the cursor left captured area

type ImageCopyCaptureCursorSessionV1LeaveHandler

type ImageCopyCaptureCursorSessionV1LeaveHandler interface {
	HandleImageCopyCaptureCursorSessionV1Leave(ImageCopyCaptureCursorSessionV1LeaveEvent)
}

ImageCopyCaptureCursorSessionV1LeaveHandler is the handler interface for ImageCopyCaptureCursorSessionV1LeaveEvent

type ImageCopyCaptureCursorSessionV1PositionEvent

type ImageCopyCaptureCursorSessionV1PositionEvent struct {
	// X is the position x coordinates
	X int32
	// Y is the position y coordinates
	Y int32
}

ImageCopyCaptureCursorSessionV1PositionEvent is the position changed

type ImageCopyCaptureCursorSessionV1PositionHandler

type ImageCopyCaptureCursorSessionV1PositionHandler interface {
	HandleImageCopyCaptureCursorSessionV1Position(ImageCopyCaptureCursorSessionV1PositionEvent)
}

ImageCopyCaptureCursorSessionV1PositionHandler is the handler interface for ImageCopyCaptureCursorSessionV1PositionEvent

type ImageCopyCaptureFrameV1

type ImageCopyCaptureFrameV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ImageCopyCaptureFrameV1 image capture frame

func NewImageCopyCaptureFrameV1

func NewImageCopyCaptureFrameV1(ctx *Context) *ImageCopyCaptureFrameV1

NewImageCopyCaptureFrameV1 is a constructor for the ImageCopyCaptureFrameV1 object

func (*ImageCopyCaptureFrameV1) AddDamageHandler

AddDamageHandler adds the Damage handler

func (*ImageCopyCaptureFrameV1) AddFailedHandler

AddFailedHandler adds the Failed handler

func (*ImageCopyCaptureFrameV1) AddPresentationTimeHandler

AddPresentationTimeHandler adds the PresentationTime handler

func (*ImageCopyCaptureFrameV1) AddReadyHandler

AddReadyHandler adds the Ready handler

func (*ImageCopyCaptureFrameV1) AddTransformHandler

AddTransformHandler adds the Transform handler

func (*ImageCopyCaptureFrameV1) AttachBuffer

func (p *ImageCopyCaptureFrameV1) AttachBuffer(Buffer *Buffer) error

AttachBuffer attach buffer to session

func (*ImageCopyCaptureFrameV1) Capture

func (p *ImageCopyCaptureFrameV1) Capture() error

Capture capture a frame

func (*ImageCopyCaptureFrameV1) DamageBuffer

func (p *ImageCopyCaptureFrameV1) DamageBuffer(X int32, Y int32, Width int32, Height int32) error

DamageBuffer damage buffer

func (*ImageCopyCaptureFrameV1) Destroy

func (p *ImageCopyCaptureFrameV1) Destroy() error

Destroy destroy this object

func (*ImageCopyCaptureFrameV1) Dispatch

func (p *ImageCopyCaptureFrameV1) Dispatch(event *Event)

Dispatch dispatches event for object ImageCopyCaptureFrameV1

func (*ImageCopyCaptureFrameV1) RemoveDamageHandler

RemoveDamageHandler removes the Damage handler

func (*ImageCopyCaptureFrameV1) RemoveFailedHandler

RemoveFailedHandler removes the Failed handler

func (*ImageCopyCaptureFrameV1) RemovePresentationTimeHandler

func (p *ImageCopyCaptureFrameV1) RemovePresentationTimeHandler(h ImageCopyCaptureFrameV1PresentationTimeHandler)

RemovePresentationTimeHandler removes the PresentationTime handler

func (*ImageCopyCaptureFrameV1) RemoveReadyHandler

RemoveReadyHandler removes the Ready handler

func (*ImageCopyCaptureFrameV1) RemoveTransformHandler

RemoveTransformHandler removes the Transform handler

func (*ImageCopyCaptureFrameV1) Reset

func (p *ImageCopyCaptureFrameV1) Reset()

Reset drops every handler of a retired ImageCopyCaptureFrameV1, which NewImageCopyCaptureFrameV1 reuses

type ImageCopyCaptureFrameV1DamageEvent

type ImageCopyCaptureFrameV1DamageEvent struct {
	// X is the damage x coordinate
	X int32
	// Y is the damage y coordinate
	Y int32
	// Width is the damage width
	Width int32
	// Height is the damage height
	Height int32
}

ImageCopyCaptureFrameV1DamageEvent is the buffer damaged region

type ImageCopyCaptureFrameV1DamageHandler

type ImageCopyCaptureFrameV1DamageHandler interface {
	HandleImageCopyCaptureFrameV1Damage(ImageCopyCaptureFrameV1DamageEvent)
}

ImageCopyCaptureFrameV1DamageHandler is the handler interface for ImageCopyCaptureFrameV1DamageEvent

type ImageCopyCaptureFrameV1FailedEvent

type ImageCopyCaptureFrameV1FailedEvent struct {
	// Reason is the
	Reason uint32
}

ImageCopyCaptureFrameV1FailedEvent is the capture failed

type ImageCopyCaptureFrameV1FailedHandler

type ImageCopyCaptureFrameV1FailedHandler interface {
	HandleImageCopyCaptureFrameV1Failed(ImageCopyCaptureFrameV1FailedEvent)
}

ImageCopyCaptureFrameV1FailedHandler is the handler interface for ImageCopyCaptureFrameV1FailedEvent

type ImageCopyCaptureFrameV1PresentationTimeEvent

type ImageCopyCaptureFrameV1PresentationTimeEvent struct {
	// TvSecHi is the high 32 bits of the seconds part of the timestamp
	TvSecHi uint32
	// TvSecLo is the low 32 bits of the seconds part of the timestamp
	TvSecLo uint32
	// TvNsec is the nanoseconds part of the timestamp
	TvNsec uint32
}

ImageCopyCaptureFrameV1PresentationTimeEvent is the presentation time of the frame

type ImageCopyCaptureFrameV1PresentationTimeHandler

type ImageCopyCaptureFrameV1PresentationTimeHandler interface {
	HandleImageCopyCaptureFrameV1PresentationTime(ImageCopyCaptureFrameV1PresentationTimeEvent)
}

ImageCopyCaptureFrameV1PresentationTimeHandler is the handler interface for ImageCopyCaptureFrameV1PresentationTimeEvent

type ImageCopyCaptureFrameV1ReadyEvent

type ImageCopyCaptureFrameV1ReadyEvent struct {
}

ImageCopyCaptureFrameV1ReadyEvent is the frame is available for reading

type ImageCopyCaptureFrameV1ReadyHandler

type ImageCopyCaptureFrameV1ReadyHandler interface {
	HandleImageCopyCaptureFrameV1Ready(ImageCopyCaptureFrameV1ReadyEvent)
}

ImageCopyCaptureFrameV1ReadyHandler is the handler interface for ImageCopyCaptureFrameV1ReadyEvent

type ImageCopyCaptureFrameV1TransformEvent

type ImageCopyCaptureFrameV1TransformEvent struct {
	// Transform is the
	Transform uint32
}

ImageCopyCaptureFrameV1TransformEvent is the buffer transform

type ImageCopyCaptureFrameV1TransformHandler

type ImageCopyCaptureFrameV1TransformHandler interface {
	HandleImageCopyCaptureFrameV1Transform(ImageCopyCaptureFrameV1TransformEvent)
}

ImageCopyCaptureFrameV1TransformHandler is the handler interface for ImageCopyCaptureFrameV1TransformEvent

type ImageCopyCaptureManagerV1

type ImageCopyCaptureManagerV1 struct {
	BaseProxy
}

ImageCopyCaptureManagerV1 manager to inform clients and begin capturing

func NewImageCopyCaptureManagerV1

func NewImageCopyCaptureManagerV1(ctx *Context) *ImageCopyCaptureManagerV1

NewImageCopyCaptureManagerV1 is a constructor for the ImageCopyCaptureManagerV1 object

func (*ImageCopyCaptureManagerV1) CreatePointerCursorSession

func (p *ImageCopyCaptureManagerV1) CreatePointerCursorSession(Source *ImageCaptureSourceV1, Pointer *Pointer) (*ImageCopyCaptureCursorSessionV1, error)

CreatePointerCursorSession capture the pointer cursor of an image capture source

func (*ImageCopyCaptureManagerV1) CreateSession

CreateSession capture an image capture source

func (*ImageCopyCaptureManagerV1) Destroy

func (p *ImageCopyCaptureManagerV1) Destroy() error

Destroy destroy the manager

func (*ImageCopyCaptureManagerV1) Dispatch

func (p *ImageCopyCaptureManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ImageCopyCaptureManagerV1

type ImageCopyCaptureSessionV1

type ImageCopyCaptureSessionV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ImageCopyCaptureSessionV1 image copy capture session

func NewImageCopyCaptureSessionV1

func NewImageCopyCaptureSessionV1(ctx *Context) *ImageCopyCaptureSessionV1

NewImageCopyCaptureSessionV1 is a constructor for the ImageCopyCaptureSessionV1 object

func (*ImageCopyCaptureSessionV1) AddBufferSizeHandler

AddBufferSizeHandler adds the BufferSize handler

func (*ImageCopyCaptureSessionV1) AddDmabufDeviceHandler

AddDmabufDeviceHandler adds the DmabufDevice handler

func (*ImageCopyCaptureSessionV1) AddDmabufFormatHandler

AddDmabufFormatHandler adds the DmabufFormat handler

func (*ImageCopyCaptureSessionV1) AddDoneHandler

AddDoneHandler adds the Done handler

func (*ImageCopyCaptureSessionV1) AddShmFormatHandler

AddShmFormatHandler adds the ShmFormat handler

func (*ImageCopyCaptureSessionV1) AddStoppedHandler

AddStoppedHandler adds the Stopped handler

func (*ImageCopyCaptureSessionV1) CreateFrame

CreateFrame create a frame

func (*ImageCopyCaptureSessionV1) Destroy

func (p *ImageCopyCaptureSessionV1) Destroy() error

Destroy delete this object

func (*ImageCopyCaptureSessionV1) Dispatch

func (p *ImageCopyCaptureSessionV1) Dispatch(event *Event)

Dispatch dispatches event for object ImageCopyCaptureSessionV1

func (*ImageCopyCaptureSessionV1) RemoveBufferSizeHandler

RemoveBufferSizeHandler removes the BufferSize handler

func (*ImageCopyCaptureSessionV1) RemoveDmabufDeviceHandler

RemoveDmabufDeviceHandler removes the DmabufDevice handler

func (*ImageCopyCaptureSessionV1) RemoveDmabufFormatHandler

RemoveDmabufFormatHandler removes the DmabufFormat handler

func (*ImageCopyCaptureSessionV1) RemoveDoneHandler

RemoveDoneHandler removes the Done handler

func (*ImageCopyCaptureSessionV1) RemoveShmFormatHandler

RemoveShmFormatHandler removes the ShmFormat handler

func (*ImageCopyCaptureSessionV1) RemoveStoppedHandler

RemoveStoppedHandler removes the Stopped handler

type ImageCopyCaptureSessionV1BufferSizeEvent

type ImageCopyCaptureSessionV1BufferSizeEvent struct {
	// Width is the buffer width
	Width uint32
	// Height is the buffer height
	Height uint32
}

ImageCopyCaptureSessionV1BufferSizeEvent is the image capture source dimensions

type ImageCopyCaptureSessionV1BufferSizeHandler

type ImageCopyCaptureSessionV1BufferSizeHandler interface {
	HandleImageCopyCaptureSessionV1BufferSize(ImageCopyCaptureSessionV1BufferSizeEvent)
}

ImageCopyCaptureSessionV1BufferSizeHandler is the handler interface for ImageCopyCaptureSessionV1BufferSizeEvent

type ImageCopyCaptureSessionV1DmabufDeviceEvent

type ImageCopyCaptureSessionV1DmabufDeviceEvent struct {
	// Device is the device dev_t value
	Device []int32
}

ImageCopyCaptureSessionV1DmabufDeviceEvent is the dma-buf device

type ImageCopyCaptureSessionV1DmabufDeviceHandler

type ImageCopyCaptureSessionV1DmabufDeviceHandler interface {
	HandleImageCopyCaptureSessionV1DmabufDevice(ImageCopyCaptureSessionV1DmabufDeviceEvent)
}

ImageCopyCaptureSessionV1DmabufDeviceHandler is the handler interface for ImageCopyCaptureSessionV1DmabufDeviceEvent

type ImageCopyCaptureSessionV1DmabufFormatEvent

type ImageCopyCaptureSessionV1DmabufFormatEvent struct {
	// Format is the drm format code
	Format uint32
	// Modifiers is the drm format modifiers
	Modifiers []int32
}

ImageCopyCaptureSessionV1DmabufFormatEvent is the dma-buf format

type ImageCopyCaptureSessionV1DmabufFormatHandler

type ImageCopyCaptureSessionV1DmabufFormatHandler interface {
	HandleImageCopyCaptureSessionV1DmabufFormat(ImageCopyCaptureSessionV1DmabufFormatEvent)
}

ImageCopyCaptureSessionV1DmabufFormatHandler is the handler interface for ImageCopyCaptureSessionV1DmabufFormatEvent

type ImageCopyCaptureSessionV1DoneEvent

type ImageCopyCaptureSessionV1DoneEvent struct {
}

ImageCopyCaptureSessionV1DoneEvent is the all constraints have been sent

type ImageCopyCaptureSessionV1DoneHandler

type ImageCopyCaptureSessionV1DoneHandler interface {
	HandleImageCopyCaptureSessionV1Done(ImageCopyCaptureSessionV1DoneEvent)
}

ImageCopyCaptureSessionV1DoneHandler is the handler interface for ImageCopyCaptureSessionV1DoneEvent

type ImageCopyCaptureSessionV1ShmFormatEvent

type ImageCopyCaptureSessionV1ShmFormatEvent struct {
	// Format is the shm format
	Format uint32
}

ImageCopyCaptureSessionV1ShmFormatEvent is the shm buffer format

type ImageCopyCaptureSessionV1ShmFormatHandler

type ImageCopyCaptureSessionV1ShmFormatHandler interface {
	HandleImageCopyCaptureSessionV1ShmFormat(ImageCopyCaptureSessionV1ShmFormatEvent)
}

ImageCopyCaptureSessionV1ShmFormatHandler is the handler interface for ImageCopyCaptureSessionV1ShmFormatEvent

type ImageCopyCaptureSessionV1StoppedEvent

type ImageCopyCaptureSessionV1StoppedEvent struct {
}

ImageCopyCaptureSessionV1StoppedEvent is the session is no longer available

type ImageCopyCaptureSessionV1StoppedHandler

type ImageCopyCaptureSessionV1StoppedHandler interface {
	HandleImageCopyCaptureSessionV1Stopped(ImageCopyCaptureSessionV1StoppedEvent)
}

ImageCopyCaptureSessionV1StoppedHandler is the handler interface for ImageCopyCaptureSessionV1StoppedEvent

type LysCaptureHintManagerV1

type LysCaptureHintManagerV1 struct {
	BaseProxy
}

LysCaptureHintManagerV1 declares captures one-shot

func NewLysCaptureHintManagerV1

func NewLysCaptureHintManagerV1(ctx *Context) *LysCaptureHintManagerV1

NewLysCaptureHintManagerV1 is a constructor for the LysCaptureHintManagerV1 object

func (*LysCaptureHintManagerV1) Destroy

func (p *LysCaptureHintManagerV1) Destroy() error

Destroy destroy the manager

func (*LysCaptureHintManagerV1) Dispatch

func (p *LysCaptureHintManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object LysCaptureHintManagerV1

func (*LysCaptureHintManagerV1) OneshotScreencopy

func (p *LysCaptureHintManagerV1) OneshotScreencopy(Frame *ZwlrScreencopyFrameV1) error

OneshotScreencopy declare a screencopy frame one-shot

func (*LysCaptureHintManagerV1) OneshotSession

func (p *LysCaptureHintManagerV1) OneshotSession(Session *ImageCopyCaptureSessionV1) error

OneshotSession declare an image copy capture session one-shot

type LysDynamicCaptureSourceManagerV1

type LysDynamicCaptureSourceManagerV1 struct {
	BaseProxy
}

LysDynamicCaptureSourceManagerV1 creates dynamic capture sources

func NewLysDynamicCaptureSourceManagerV1

func NewLysDynamicCaptureSourceManagerV1(ctx *Context) *LysDynamicCaptureSourceManagerV1

NewLysDynamicCaptureSourceManagerV1 is a constructor for the LysDynamicCaptureSourceManagerV1 object

func (*LysDynamicCaptureSourceManagerV1) CreateSource

CreateSource create a source that follows the cast target

func (*LysDynamicCaptureSourceManagerV1) Destroy

Destroy destroy the manager

func (*LysDynamicCaptureSourceManagerV1) Dispatch

func (p *LysDynamicCaptureSourceManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object LysDynamicCaptureSourceManagerV1

type LysEscapeArmV1

type LysEscapeArmV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

LysEscapeArmV1 a claim on one Escape press

func NewLysEscapeArmV1

func NewLysEscapeArmV1(ctx *Context) *LysEscapeArmV1

NewLysEscapeArmV1 is a constructor for the LysEscapeArmV1 object

func (*LysEscapeArmV1) AddPressedHandler

func (p *LysEscapeArmV1) AddPressedHandler(h LysEscapeArmV1PressedHandler)

AddPressedHandler adds the Pressed handler

func (*LysEscapeArmV1) Destroy

func (p *LysEscapeArmV1) Destroy() error

Destroy disarm

func (*LysEscapeArmV1) Dispatch

func (p *LysEscapeArmV1) Dispatch(event *Event)

Dispatch dispatches event for object LysEscapeArmV1

func (*LysEscapeArmV1) RemovePressedHandler

func (p *LysEscapeArmV1) RemovePressedHandler(h LysEscapeArmV1PressedHandler)

RemovePressedHandler removes the Pressed handler

type LysEscapeArmV1PressedEvent

type LysEscapeArmV1PressedEvent struct {
}

LysEscapeArmV1PressedEvent is the the press was taken

type LysEscapeArmV1PressedHandler

type LysEscapeArmV1PressedHandler interface {
	HandleLysEscapeArmV1Pressed(LysEscapeArmV1PressedEvent)
}

LysEscapeArmV1PressedHandler is the handler interface for LysEscapeArmV1PressedEvent

type LysEscapeManagerV1

type LysEscapeManagerV1 struct {
	BaseProxy
}

LysEscapeManagerV1 creates escape arms

func NewLysEscapeManagerV1

func NewLysEscapeManagerV1(ctx *Context) *LysEscapeManagerV1

NewLysEscapeManagerV1 is a constructor for the LysEscapeManagerV1 object

func (*LysEscapeManagerV1) Arm

Arm take the next Escape press

func (*LysEscapeManagerV1) Destroy

func (p *LysEscapeManagerV1) Destroy() error

Destroy destroy the manager

func (*LysEscapeManagerV1) Dispatch

func (p *LysEscapeManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object LysEscapeManagerV1

type LysVirtualTouchManagerV1

type LysVirtualTouchManagerV1 struct {
	BaseProxy
}

LysVirtualTouchManagerV1 creates virtual touch devices

func NewLysVirtualTouchManagerV1

func NewLysVirtualTouchManagerV1(ctx *Context) *LysVirtualTouchManagerV1

NewLysVirtualTouchManagerV1 is a constructor for the LysVirtualTouchManagerV1 object

func (*LysVirtualTouchManagerV1) CreateVirtualTouch

func (p *LysVirtualTouchManagerV1) CreateVirtualTouch(Seat *Seat) (*LysVirtualTouchV1, error)

CreateVirtualTouch create a virtual touch device

func (*LysVirtualTouchManagerV1) Destroy

func (p *LysVirtualTouchManagerV1) Destroy() error

Destroy destroy the manager

func (*LysVirtualTouchManagerV1) Dispatch

func (p *LysVirtualTouchManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object LysVirtualTouchManagerV1

type LysVirtualTouchV1

type LysVirtualTouchV1 struct {
	BaseProxy
}

LysVirtualTouchV1 a virtual touchscreen spanning the output layout

func NewLysVirtualTouchV1

func NewLysVirtualTouchV1(ctx *Context) *LysVirtualTouchV1

NewLysVirtualTouchV1 is a constructor for the LysVirtualTouchV1 object

func (*LysVirtualTouchV1) Cancel

func (p *LysVirtualTouchV1) Cancel() error

Cancel every touch point of the device is cancelled

func (*LysVirtualTouchV1) Destroy

func (p *LysVirtualTouchV1) Destroy() error

Destroy destroy the device

func (*LysVirtualTouchV1) Dispatch

func (p *LysVirtualTouchV1) Dispatch(event *Event)

Dispatch dispatches event for object LysVirtualTouchV1

func (*LysVirtualTouchV1) Down

func (p *LysVirtualTouchV1) Down(Time uint32, Id uint32, X uint32, Y uint32, XExtent uint32, YExtent uint32) error

Down a touch point goes down

func (*LysVirtualTouchV1) Frame

func (p *LysVirtualTouchV1) Frame() error

Frame the end of a set of changes

func (*LysVirtualTouchV1) Motion

func (p *LysVirtualTouchV1) Motion(Time uint32, Id uint32, X uint32, Y uint32, XExtent uint32, YExtent uint32) error

Motion a touch point moves

func (*LysVirtualTouchV1) Up

func (p *LysVirtualTouchV1) Up(Time uint32, Id uint32) error

Up a touch point lifts

type Output

type Output = wl.Output

Output is a wl_output.

type OutputImageCaptureSourceManagerV1

type OutputImageCaptureSourceManagerV1 struct {
	BaseProxy
}

OutputImageCaptureSourceManagerV1 image capture source manager for outputs

func NewOutputImageCaptureSourceManagerV1

func NewOutputImageCaptureSourceManagerV1(ctx *Context) *OutputImageCaptureSourceManagerV1

NewOutputImageCaptureSourceManagerV1 is a constructor for the OutputImageCaptureSourceManagerV1 object

func (*OutputImageCaptureSourceManagerV1) CreateSource

CreateSource create source object for output

func (*OutputImageCaptureSourceManagerV1) Destroy

Destroy delete this object

func (*OutputImageCaptureSourceManagerV1) Dispatch

func (p *OutputImageCaptureSourceManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object OutputImageCaptureSourceManagerV1

type Pointer

type Pointer = wl.Pointer

Pointer is a wl_pointer: ext-image-copy-capture's cursor sessions capture the cursor of one.

type Region

type Region = wl.Region

Region is a wl_region: pointer confinement takes one.

type Seat

type Seat = wl.Seat

Seat is a wl_seat: the primary selection device hangs off it.

type SessionLockManagerV1

type SessionLockManagerV1 struct {
	BaseProxy
}

SessionLockManagerV1 used to lock the session

func NewSessionLockManagerV1

func NewSessionLockManagerV1(ctx *Context) *SessionLockManagerV1

NewSessionLockManagerV1 is a constructor for the SessionLockManagerV1 object

func (*SessionLockManagerV1) Destroy

func (p *SessionLockManagerV1) Destroy() error

Destroy destroy the session lock manager object

func (*SessionLockManagerV1) Dispatch

func (p *SessionLockManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object SessionLockManagerV1

func (*SessionLockManagerV1) Lock

Lock attempt to lock the session

type SessionLockSurfaceV1

type SessionLockSurfaceV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

SessionLockSurfaceV1 a surface displayed while the session is locked

func NewSessionLockSurfaceV1

func NewSessionLockSurfaceV1(ctx *Context) *SessionLockSurfaceV1

NewSessionLockSurfaceV1 is a constructor for the SessionLockSurfaceV1 object

func (*SessionLockSurfaceV1) AckConfigure

func (p *SessionLockSurfaceV1) AckConfigure(Serial uint32) error

AckConfigure ack a configure event

func (*SessionLockSurfaceV1) AddConfigureHandler

AddConfigureHandler adds the Configure handler

func (*SessionLockSurfaceV1) Destroy

func (p *SessionLockSurfaceV1) Destroy() error

Destroy destroy the lock surface object

func (*SessionLockSurfaceV1) Dispatch

func (p *SessionLockSurfaceV1) Dispatch(event *Event)

Dispatch dispatches event for object SessionLockSurfaceV1

func (*SessionLockSurfaceV1) RemoveConfigureHandler

func (p *SessionLockSurfaceV1) RemoveConfigureHandler(h SessionLockSurfaceV1ConfigureHandler)

RemoveConfigureHandler removes the Configure handler

type SessionLockSurfaceV1ConfigureEvent

type SessionLockSurfaceV1ConfigureEvent struct {
	// Serial is the serial for use in ack_configure
	Serial uint32
	// Width is the
	Width uint32
	// Height is the
	Height uint32
}

SessionLockSurfaceV1ConfigureEvent is the the client should resize its surface

type SessionLockSurfaceV1ConfigureHandler

type SessionLockSurfaceV1ConfigureHandler interface {
	HandleSessionLockSurfaceV1Configure(SessionLockSurfaceV1ConfigureEvent)
}

SessionLockSurfaceV1ConfigureHandler is the handler interface for SessionLockSurfaceV1ConfigureEvent

type SessionLockV1

type SessionLockV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

SessionLockV1 manage lock state and create lock surfaces

func NewSessionLockV1

func NewSessionLockV1(ctx *Context) *SessionLockV1

NewSessionLockV1 is a constructor for the SessionLockV1 object

func (*SessionLockV1) AddFinishedHandler

func (p *SessionLockV1) AddFinishedHandler(h SessionLockV1FinishedHandler)

AddFinishedHandler adds the Finished handler

func (*SessionLockV1) AddLockedHandler

func (p *SessionLockV1) AddLockedHandler(h SessionLockV1LockedHandler)

AddLockedHandler adds the Locked handler

func (*SessionLockV1) Destroy

func (p *SessionLockV1) Destroy() error

Destroy destroy the session lock

func (*SessionLockV1) Dispatch

func (p *SessionLockV1) Dispatch(event *Event)

Dispatch dispatches event for object SessionLockV1

func (*SessionLockV1) GetLockSurface

func (p *SessionLockV1) GetLockSurface(Surface *Surface, Output *Output) (*SessionLockSurfaceV1, error)

GetLockSurface create a lock surface for a given output

func (*SessionLockV1) RemoveFinishedHandler

func (p *SessionLockV1) RemoveFinishedHandler(h SessionLockV1FinishedHandler)

RemoveFinishedHandler removes the Finished handler

func (*SessionLockV1) RemoveLockedHandler

func (p *SessionLockV1) RemoveLockedHandler(h SessionLockV1LockedHandler)

RemoveLockedHandler removes the Locked handler

func (*SessionLockV1) UnlockAndDestroy

func (p *SessionLockV1) UnlockAndDestroy() error

UnlockAndDestroy unlock the session, destroying the object

type SessionLockV1FinishedEvent

type SessionLockV1FinishedEvent struct {
}

SessionLockV1FinishedEvent is the the session lock object should be destroyed

type SessionLockV1FinishedHandler

type SessionLockV1FinishedHandler interface {
	HandleSessionLockV1Finished(SessionLockV1FinishedEvent)
}

SessionLockV1FinishedHandler is the handler interface for SessionLockV1FinishedEvent

type SessionLockV1LockedEvent

type SessionLockV1LockedEvent struct {
}

SessionLockV1LockedEvent is the session successfully locked

type SessionLockV1LockedHandler

type SessionLockV1LockedHandler interface {
	HandleSessionLockV1Locked(SessionLockV1LockedEvent)
}

SessionLockV1LockedHandler is the handler interface for SessionLockV1LockedEvent

type Surface

type Surface = wl.Surface

Surface is a wl_surface.

type Toplevel

type Toplevel = xdg.Toplevel

Toplevel is the xdg_toplevel role; the xdg-dialog binding registers dialogs against it.

type ToplevelExportFrameV1

type ToplevelExportFrameV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ToplevelExportFrameV1 a frame ready for copy

func NewToplevelExportFrameV1

func NewToplevelExportFrameV1(ctx *Context) *ToplevelExportFrameV1

NewToplevelExportFrameV1 is a constructor for the ToplevelExportFrameV1 object

func (*ToplevelExportFrameV1) AddBufferDoneHandler

AddBufferDoneHandler adds the BufferDone handler

func (*ToplevelExportFrameV1) AddBufferHandler

AddBufferHandler adds the Buffer handler

func (*ToplevelExportFrameV1) AddDamageHandler

AddDamageHandler adds the Damage handler

func (*ToplevelExportFrameV1) AddFailedHandler

AddFailedHandler adds the Failed handler

func (*ToplevelExportFrameV1) AddFlagsHandler

AddFlagsHandler adds the Flags handler

func (*ToplevelExportFrameV1) AddLinuxDmabufHandler

AddLinuxDmabufHandler adds the LinuxDmabuf handler

func (*ToplevelExportFrameV1) AddReadyHandler

AddReadyHandler adds the Ready handler

func (*ToplevelExportFrameV1) Copy

func (p *ToplevelExportFrameV1) Copy(Buffer *Buffer, IgnoreDamage int32) error

Copy copy the frame

func (*ToplevelExportFrameV1) Destroy

func (p *ToplevelExportFrameV1) Destroy() error

Destroy delete this object, used or not

func (*ToplevelExportFrameV1) Dispatch

func (p *ToplevelExportFrameV1) Dispatch(event *Event)

Dispatch dispatches event for object ToplevelExportFrameV1

func (*ToplevelExportFrameV1) RemoveBufferDoneHandler

func (p *ToplevelExportFrameV1) RemoveBufferDoneHandler(h ToplevelExportFrameV1BufferDoneHandler)

RemoveBufferDoneHandler removes the BufferDone handler

func (*ToplevelExportFrameV1) RemoveBufferHandler

RemoveBufferHandler removes the Buffer handler

func (*ToplevelExportFrameV1) RemoveDamageHandler

RemoveDamageHandler removes the Damage handler

func (*ToplevelExportFrameV1) RemoveFailedHandler

RemoveFailedHandler removes the Failed handler

func (*ToplevelExportFrameV1) RemoveFlagsHandler

RemoveFlagsHandler removes the Flags handler

func (*ToplevelExportFrameV1) RemoveLinuxDmabufHandler

func (p *ToplevelExportFrameV1) RemoveLinuxDmabufHandler(h ToplevelExportFrameV1LinuxDmabufHandler)

RemoveLinuxDmabufHandler removes the LinuxDmabuf handler

func (*ToplevelExportFrameV1) RemoveReadyHandler

RemoveReadyHandler removes the Ready handler

type ToplevelExportFrameV1BufferDoneEvent

type ToplevelExportFrameV1BufferDoneEvent struct {
}

ToplevelExportFrameV1BufferDoneEvent is the all buffer types reported

type ToplevelExportFrameV1BufferDoneHandler

type ToplevelExportFrameV1BufferDoneHandler interface {
	HandleToplevelExportFrameV1BufferDone(ToplevelExportFrameV1BufferDoneEvent)
}

ToplevelExportFrameV1BufferDoneHandler is the handler interface for ToplevelExportFrameV1BufferDoneEvent

type ToplevelExportFrameV1BufferEvent

type ToplevelExportFrameV1BufferEvent struct {
	// Format is the buffer format
	Format uint32
	// Width is the buffer width
	Width uint32
	// Height is the buffer height
	Height uint32
	// Stride is the buffer stride
	Stride uint32
}

ToplevelExportFrameV1BufferEvent is the wl_shm buffer information

type ToplevelExportFrameV1BufferHandler

type ToplevelExportFrameV1BufferHandler interface {
	HandleToplevelExportFrameV1Buffer(ToplevelExportFrameV1BufferEvent)
}

ToplevelExportFrameV1BufferHandler is the handler interface for ToplevelExportFrameV1BufferEvent

type ToplevelExportFrameV1DamageEvent

type ToplevelExportFrameV1DamageEvent struct {
	// X is the damaged x coordinates
	X uint32
	// Y is the damaged y coordinates
	Y uint32
	// Width is the current width
	Width uint32
	// Height is the current height
	Height uint32
}

ToplevelExportFrameV1DamageEvent is the carries the coordinates of the damaged region

type ToplevelExportFrameV1DamageHandler

type ToplevelExportFrameV1DamageHandler interface {
	HandleToplevelExportFrameV1Damage(ToplevelExportFrameV1DamageEvent)
}

ToplevelExportFrameV1DamageHandler is the handler interface for ToplevelExportFrameV1DamageEvent

type ToplevelExportFrameV1FailedEvent

type ToplevelExportFrameV1FailedEvent struct {
}

ToplevelExportFrameV1FailedEvent is the frame copy failed

type ToplevelExportFrameV1FailedHandler

type ToplevelExportFrameV1FailedHandler interface {
	HandleToplevelExportFrameV1Failed(ToplevelExportFrameV1FailedEvent)
}

ToplevelExportFrameV1FailedHandler is the handler interface for ToplevelExportFrameV1FailedEvent

type ToplevelExportFrameV1FlagsEvent

type ToplevelExportFrameV1FlagsEvent struct {
	// Flags is the frame flags
	Flags uint32
}

ToplevelExportFrameV1FlagsEvent is the frame flags

type ToplevelExportFrameV1FlagsHandler

type ToplevelExportFrameV1FlagsHandler interface {
	HandleToplevelExportFrameV1Flags(ToplevelExportFrameV1FlagsEvent)
}

ToplevelExportFrameV1FlagsHandler is the handler interface for ToplevelExportFrameV1FlagsEvent

type ToplevelExportFrameV1LinuxDmabufEvent

type ToplevelExportFrameV1LinuxDmabufEvent struct {
	// Format is the fourcc pixel format
	Format uint32
	// Width is the buffer width
	Width uint32
	// Height is the buffer height
	Height uint32
}

ToplevelExportFrameV1LinuxDmabufEvent is the linux-dmabuf buffer information

type ToplevelExportFrameV1LinuxDmabufHandler

type ToplevelExportFrameV1LinuxDmabufHandler interface {
	HandleToplevelExportFrameV1LinuxDmabuf(ToplevelExportFrameV1LinuxDmabufEvent)
}

ToplevelExportFrameV1LinuxDmabufHandler is the handler interface for ToplevelExportFrameV1LinuxDmabufEvent

type ToplevelExportFrameV1ReadyEvent

type ToplevelExportFrameV1ReadyEvent struct {
	// TvSecHi is the high 32 bits of the seconds part of the timestamp
	TvSecHi uint32
	// TvSecLo is the low 32 bits of the seconds part of the timestamp
	TvSecLo uint32
	// TvNsec is the nanoseconds part of the timestamp
	TvNsec uint32
}

ToplevelExportFrameV1ReadyEvent is the indicates frame is available for reading

type ToplevelExportFrameV1ReadyHandler

type ToplevelExportFrameV1ReadyHandler interface {
	HandleToplevelExportFrameV1Ready(ToplevelExportFrameV1ReadyEvent)
}

ToplevelExportFrameV1ReadyHandler is the handler interface for ToplevelExportFrameV1ReadyEvent

type ToplevelExportManagerV1

type ToplevelExportManagerV1 struct {
	BaseProxy
}

ToplevelExportManagerV1 manager to inform clients and begin capturing

func NewToplevelExportManagerV1

func NewToplevelExportManagerV1(ctx *Context) *ToplevelExportManagerV1

NewToplevelExportManagerV1 is a constructor for the ToplevelExportManagerV1 object

func (*ToplevelExportManagerV1) CaptureToplevel

func (p *ToplevelExportManagerV1) CaptureToplevel(OverlayCursor int32, Handle uint32) (*ToplevelExportFrameV1, error)

CaptureToplevel capture a toplevel

func (*ToplevelExportManagerV1) CaptureToplevelWithWlrToplevelHandle

func (p *ToplevelExportManagerV1) CaptureToplevelWithWlrToplevelHandle(OverlayCursor int32, Handle *ZwlrForeignToplevelHandleV1) (*ToplevelExportFrameV1, error)

CaptureToplevelWithWlrToplevelHandle capture a toplevel

func (*ToplevelExportManagerV1) Destroy

func (p *ToplevelExportManagerV1) Destroy() error

Destroy destroy the manager

func (*ToplevelExportManagerV1) Dispatch

func (p *ToplevelExportManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ToplevelExportManagerV1

type ToplevelIconManagerV1

type ToplevelIconManagerV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ToplevelIconManagerV1 interface to manage toplevel icons

func NewToplevelIconManagerV1

func NewToplevelIconManagerV1(ctx *Context) *ToplevelIconManagerV1

NewToplevelIconManagerV1 is a constructor for the ToplevelIconManagerV1 object

func (*ToplevelIconManagerV1) AddDoneHandler

AddDoneHandler adds the Done handler

func (*ToplevelIconManagerV1) AddIconSizeHandler

AddIconSizeHandler adds the IconSize handler

func (*ToplevelIconManagerV1) CreateIcon

func (p *ToplevelIconManagerV1) CreateIcon() (*ToplevelIconV1, error)

CreateIcon create a new icon instance

func (*ToplevelIconManagerV1) Destroy

func (p *ToplevelIconManagerV1) Destroy() error

Destroy destroy the toplevel icon manager

func (*ToplevelIconManagerV1) Dispatch

func (p *ToplevelIconManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ToplevelIconManagerV1

func (*ToplevelIconManagerV1) RemoveDoneHandler

RemoveDoneHandler removes the Done handler

func (*ToplevelIconManagerV1) RemoveIconSizeHandler

func (p *ToplevelIconManagerV1) RemoveIconSizeHandler(h ToplevelIconManagerV1IconSizeHandler)

RemoveIconSizeHandler removes the IconSize handler

func (*ToplevelIconManagerV1) SetIcon

func (p *ToplevelIconManagerV1) SetIcon(Toplevel *Toplevel, Icon *ToplevelIconV1) error

SetIcon set an icon on a toplevel window

type ToplevelIconManagerV1DoneEvent

type ToplevelIconManagerV1DoneEvent struct {
}

ToplevelIconManagerV1DoneEvent is the all information has been sent

type ToplevelIconManagerV1DoneHandler

type ToplevelIconManagerV1DoneHandler interface {
	HandleToplevelIconManagerV1Done(ToplevelIconManagerV1DoneEvent)
}

ToplevelIconManagerV1DoneHandler is the handler interface for ToplevelIconManagerV1DoneEvent

type ToplevelIconManagerV1IconSizeEvent

type ToplevelIconManagerV1IconSizeEvent struct {
	// Size is the the edge size of the square icon in surface-local coordinates, e.g. 64
	Size int32
}

ToplevelIconManagerV1IconSizeEvent is the describes a supported & preferred icon size

type ToplevelIconManagerV1IconSizeHandler

type ToplevelIconManagerV1IconSizeHandler interface {
	HandleToplevelIconManagerV1IconSize(ToplevelIconManagerV1IconSizeEvent)
}

ToplevelIconManagerV1IconSizeHandler is the handler interface for ToplevelIconManagerV1IconSizeEvent

type ToplevelIconV1

type ToplevelIconV1 struct {
	BaseProxy
}

ToplevelIconV1 a toplevel window icon

func NewToplevelIconV1

func NewToplevelIconV1(ctx *Context) *ToplevelIconV1

NewToplevelIconV1 is a constructor for the ToplevelIconV1 object

func (*ToplevelIconV1) AddBuffer

func (p *ToplevelIconV1) AddBuffer(Buffer *Buffer, Scale int32) error

AddBuffer add icon data from a pixel buffer

func (*ToplevelIconV1) Destroy

func (p *ToplevelIconV1) Destroy() error

Destroy destroy the icon object

func (*ToplevelIconV1) Dispatch

func (p *ToplevelIconV1) Dispatch(event *Event)

Dispatch dispatches event for object ToplevelIconV1

func (*ToplevelIconV1) SetName

func (p *ToplevelIconV1) SetName(IconName string) error

SetName set an icon name

type WmDialogV1

type WmDialogV1 struct {
	BaseProxy
}

WmDialogV1 create dialogs related to other toplevels

func NewWmDialogV1

func NewWmDialogV1(ctx *Context) *WmDialogV1

NewWmDialogV1 is a constructor for the WmDialogV1 object

func (*WmDialogV1) Destroy

func (p *WmDialogV1) Destroy() error

Destroy destroy the dialog manager object

func (*WmDialogV1) Dispatch

func (p *WmDialogV1) Dispatch(event *Event)

Dispatch dispatches event for object WmDialogV1

func (*WmDialogV1) GetDialog

func (p *WmDialogV1) GetDialog(Toplevel *Toplevel) (*DialogV1, error)

GetDialog create a dialog object

type WpAlphaModifierSurfaceV1

type WpAlphaModifierSurfaceV1 struct {
	BaseProxy
}

WpAlphaModifierSurfaceV1 alpha modifier object for a surface

func NewWpAlphaModifierSurfaceV1

func NewWpAlphaModifierSurfaceV1(ctx *Context) *WpAlphaModifierSurfaceV1

NewWpAlphaModifierSurfaceV1 is a constructor for the WpAlphaModifierSurfaceV1 object

func (*WpAlphaModifierSurfaceV1) Destroy

func (p *WpAlphaModifierSurfaceV1) Destroy() error

Destroy destroy the alpha modifier object

func (*WpAlphaModifierSurfaceV1) Dispatch

func (p *WpAlphaModifierSurfaceV1) Dispatch(event *Event)

Dispatch dispatches event for object WpAlphaModifierSurfaceV1

func (*WpAlphaModifierSurfaceV1) SetMultiplier

func (p *WpAlphaModifierSurfaceV1) SetMultiplier(Factor uint32) error

SetMultiplier specify the alpha multiplier

type WpAlphaModifierV1

type WpAlphaModifierV1 struct {
	BaseProxy
}

WpAlphaModifierV1 surface alpha modifier manager

func NewWpAlphaModifierV1

func NewWpAlphaModifierV1(ctx *Context) *WpAlphaModifierV1

NewWpAlphaModifierV1 is a constructor for the WpAlphaModifierV1 object

func (*WpAlphaModifierV1) Destroy

func (p *WpAlphaModifierV1) Destroy() error

Destroy destroy the alpha modifier manager object

func (*WpAlphaModifierV1) Dispatch

func (p *WpAlphaModifierV1) Dispatch(event *Event)

Dispatch dispatches event for object WpAlphaModifierV1

func (*WpAlphaModifierV1) GetSurface

func (p *WpAlphaModifierV1) GetSurface(Surface *Surface) (*WpAlphaModifierSurfaceV1, error)

GetSurface create a new alpha modifier surface object

type WpColorRepresentationManagerV1

type WpColorRepresentationManagerV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

WpColorRepresentationManagerV1 color representation manager singleton

func NewWpColorRepresentationManagerV1

func NewWpColorRepresentationManagerV1(ctx *Context) *WpColorRepresentationManagerV1

NewWpColorRepresentationManagerV1 is a constructor for the WpColorRepresentationManagerV1 object

func (*WpColorRepresentationManagerV1) AddDoneHandler

AddDoneHandler adds the Done handler

func (*WpColorRepresentationManagerV1) AddSupportedAlphaModeHandler

AddSupportedAlphaModeHandler adds the SupportedAlphaMode handler

func (*WpColorRepresentationManagerV1) AddSupportedCoefficientsAndRangesHandler

AddSupportedCoefficientsAndRangesHandler adds the SupportedCoefficientsAndRanges handler

func (*WpColorRepresentationManagerV1) Destroy

Destroy destroy the manager

func (*WpColorRepresentationManagerV1) Dispatch

func (p *WpColorRepresentationManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object WpColorRepresentationManagerV1

func (*WpColorRepresentationManagerV1) GetSurface

GetSurface create a color representation interface for a wl_surface

func (*WpColorRepresentationManagerV1) RemoveDoneHandler

RemoveDoneHandler removes the Done handler

func (*WpColorRepresentationManagerV1) RemoveSupportedAlphaModeHandler

RemoveSupportedAlphaModeHandler removes the SupportedAlphaMode handler

func (*WpColorRepresentationManagerV1) RemoveSupportedCoefficientsAndRangesHandler

RemoveSupportedCoefficientsAndRangesHandler removes the SupportedCoefficientsAndRanges handler

type WpColorRepresentationManagerV1DoneEvent

type WpColorRepresentationManagerV1DoneEvent struct {
}

WpColorRepresentationManagerV1DoneEvent is the all features have been sent

type WpColorRepresentationManagerV1DoneHandler

type WpColorRepresentationManagerV1DoneHandler interface {
	HandleWpColorRepresentationManagerV1Done(WpColorRepresentationManagerV1DoneEvent)
}

WpColorRepresentationManagerV1DoneHandler is the handler interface for WpColorRepresentationManagerV1DoneEvent

type WpColorRepresentationManagerV1SupportedAlphaModeEvent

type WpColorRepresentationManagerV1SupportedAlphaModeEvent struct {
	// AlphaMode is the supported alpha mode
	AlphaMode uint32
}

WpColorRepresentationManagerV1SupportedAlphaModeEvent is the supported alpha modes

type WpColorRepresentationManagerV1SupportedAlphaModeHandler

type WpColorRepresentationManagerV1SupportedAlphaModeHandler interface {
	HandleWpColorRepresentationManagerV1SupportedAlphaMode(WpColorRepresentationManagerV1SupportedAlphaModeEvent)
}

WpColorRepresentationManagerV1SupportedAlphaModeHandler is the handler interface for WpColorRepresentationManagerV1SupportedAlphaModeEvent

type WpColorRepresentationManagerV1SupportedCoefficientsAndRangesEvent

type WpColorRepresentationManagerV1SupportedCoefficientsAndRangesEvent struct {
	// Coefficients is the supported matrix coefficients
	Coefficients uint32
	// Range is the full range flag
	Range uint32
}

WpColorRepresentationManagerV1SupportedCoefficientsAndRangesEvent is the supported matrix coefficients and ranges

type WpColorRepresentationManagerV1SupportedCoefficientsAndRangesHandler

type WpColorRepresentationManagerV1SupportedCoefficientsAndRangesHandler interface {
	HandleWpColorRepresentationManagerV1SupportedCoefficientsAndRanges(WpColorRepresentationManagerV1SupportedCoefficientsAndRangesEvent)
}

WpColorRepresentationManagerV1SupportedCoefficientsAndRangesHandler is the handler interface for WpColorRepresentationManagerV1SupportedCoefficientsAndRangesEvent

type WpColorRepresentationSurfaceV1

type WpColorRepresentationSurfaceV1 struct {
	BaseProxy
}

WpColorRepresentationSurfaceV1 color representation extension to a surface

func NewWpColorRepresentationSurfaceV1

func NewWpColorRepresentationSurfaceV1(ctx *Context) *WpColorRepresentationSurfaceV1

NewWpColorRepresentationSurfaceV1 is a constructor for the WpColorRepresentationSurfaceV1 object

func (*WpColorRepresentationSurfaceV1) Destroy

Destroy destroy the color representation

func (*WpColorRepresentationSurfaceV1) Dispatch

func (p *WpColorRepresentationSurfaceV1) Dispatch(event *Event)

Dispatch dispatches event for object WpColorRepresentationSurfaceV1

func (*WpColorRepresentationSurfaceV1) SetAlphaMode

func (p *WpColorRepresentationSurfaceV1) SetAlphaMode(AlphaMode uint32) error

SetAlphaMode set the surface alpha mode

func (*WpColorRepresentationSurfaceV1) SetChromaLocation

func (p *WpColorRepresentationSurfaceV1) SetChromaLocation(ChromaLocation uint32) error

SetChromaLocation set the chroma location

func (*WpColorRepresentationSurfaceV1) SetCoefficientsAndRange

func (p *WpColorRepresentationSurfaceV1) SetCoefficientsAndRange(Coefficients uint32, Range uint32) error

SetCoefficientsAndRange set the matrix coefficients and range

type WpContentTypeManagerV1

type WpContentTypeManagerV1 struct {
	BaseProxy
}

WpContentTypeManagerV1 surface content type manager

func NewWpContentTypeManagerV1

func NewWpContentTypeManagerV1(ctx *Context) *WpContentTypeManagerV1

NewWpContentTypeManagerV1 is a constructor for the WpContentTypeManagerV1 object

func (*WpContentTypeManagerV1) Destroy

func (p *WpContentTypeManagerV1) Destroy() error

Destroy destroy the content type manager object

func (*WpContentTypeManagerV1) Dispatch

func (p *WpContentTypeManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object WpContentTypeManagerV1

func (*WpContentTypeManagerV1) GetSurfaceType

func (p *WpContentTypeManagerV1) GetSurfaceType(Surface *Surface) (*WpContentTypeV1, error)

GetSurfaceType create a new content type object

type WpContentTypeV1

type WpContentTypeV1 struct {
	BaseProxy
}

WpContentTypeV1 content type object for a surface

func NewWpContentTypeV1

func NewWpContentTypeV1(ctx *Context) *WpContentTypeV1

NewWpContentTypeV1 is a constructor for the WpContentTypeV1 object

func (*WpContentTypeV1) Destroy

func (p *WpContentTypeV1) Destroy() error

Destroy destroy the content type object

func (*WpContentTypeV1) Dispatch

func (p *WpContentTypeV1) Dispatch(event *Event)

Dispatch dispatches event for object WpContentTypeV1

func (*WpContentTypeV1) SetType

func (p *WpContentTypeV1) SetType(Type uint32) error

SetType specify the content type

type WpCursorShapeDeviceV1

type WpCursorShapeDeviceV1 struct {
	BaseProxy
}

WpCursorShapeDeviceV1 cursor shape for a device

func NewWpCursorShapeDeviceV1

func NewWpCursorShapeDeviceV1(ctx *Context) *WpCursorShapeDeviceV1

NewWpCursorShapeDeviceV1 is a constructor for the WpCursorShapeDeviceV1 object

func (*WpCursorShapeDeviceV1) Destroy

func (p *WpCursorShapeDeviceV1) Destroy() error

Destroy destroy the cursor shape device

func (*WpCursorShapeDeviceV1) Dispatch

func (p *WpCursorShapeDeviceV1) Dispatch(event *Event)

Dispatch dispatches event for object WpCursorShapeDeviceV1

func (*WpCursorShapeDeviceV1) SetShape

func (p *WpCursorShapeDeviceV1) SetShape(Serial uint32, Shape uint32) error

SetShape set device cursor to the shape

type WpCursorShapeManagerV1

type WpCursorShapeManagerV1 struct {
	BaseProxy
}

WpCursorShapeManagerV1 cursor shape manager

func NewWpCursorShapeManagerV1

func NewWpCursorShapeManagerV1(ctx *Context) *WpCursorShapeManagerV1

NewWpCursorShapeManagerV1 is a constructor for the WpCursorShapeManagerV1 object

func (*WpCursorShapeManagerV1) Destroy

func (p *WpCursorShapeManagerV1) Destroy() error

Destroy destroy the manager

func (*WpCursorShapeManagerV1) Dispatch

func (p *WpCursorShapeManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object WpCursorShapeManagerV1

func (*WpCursorShapeManagerV1) GetPointer

func (p *WpCursorShapeManagerV1) GetPointer(Pointer *Pointer) (*WpCursorShapeDeviceV1, error)

GetPointer manage the cursor shape of a pointer device

func (*WpCursorShapeManagerV1) GetTabletToolV2

func (p *WpCursorShapeManagerV1) GetTabletToolV2(TabletTool *ZwpTabletToolV2) (*WpCursorShapeDeviceV1, error)

GetTabletToolV2 manage the cursor shape of a tablet tool device

type WpDrmSyncobjManagerV1

type WpDrmSyncobjManagerV1 struct {
	BaseProxy
}

WpDrmSyncobjManagerV1 global for providing explicit synchronization

func NewWpDrmSyncobjManagerV1

func NewWpDrmSyncobjManagerV1(ctx *Context) *WpDrmSyncobjManagerV1

NewWpDrmSyncobjManagerV1 is a constructor for the WpDrmSyncobjManagerV1 object

func (*WpDrmSyncobjManagerV1) Destroy

func (p *WpDrmSyncobjManagerV1) Destroy() error

Destroy destroy explicit synchronization factory object

func (*WpDrmSyncobjManagerV1) Dispatch

func (p *WpDrmSyncobjManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object WpDrmSyncobjManagerV1

func (*WpDrmSyncobjManagerV1) GetSurface

func (p *WpDrmSyncobjManagerV1) GetSurface(Surface *Surface) (*WpDrmSyncobjSurfaceV1, error)

GetSurface extend surface interface for explicit synchronization

func (*WpDrmSyncobjManagerV1) ImportTimeline

func (p *WpDrmSyncobjManagerV1) ImportTimeline(Fd uintptr) (*WpDrmSyncobjTimelineV1, error)

ImportTimeline import a DRM syncobj timeline

type WpDrmSyncobjSurfaceV1

type WpDrmSyncobjSurfaceV1 struct {
	BaseProxy
}

WpDrmSyncobjSurfaceV1 per-surface explicit synchronization

func NewWpDrmSyncobjSurfaceV1

func NewWpDrmSyncobjSurfaceV1(ctx *Context) *WpDrmSyncobjSurfaceV1

NewWpDrmSyncobjSurfaceV1 is a constructor for the WpDrmSyncobjSurfaceV1 object

func (*WpDrmSyncobjSurfaceV1) Destroy

func (p *WpDrmSyncobjSurfaceV1) Destroy() error

Destroy destroy the surface synchronization object

func (*WpDrmSyncobjSurfaceV1) Dispatch

func (p *WpDrmSyncobjSurfaceV1) Dispatch(event *Event)

Dispatch dispatches event for object WpDrmSyncobjSurfaceV1

func (*WpDrmSyncobjSurfaceV1) SetAcquirePoint

func (p *WpDrmSyncobjSurfaceV1) SetAcquirePoint(Timeline *WpDrmSyncobjTimelineV1, PointHi uint32, PointLo uint32) error

SetAcquirePoint set the acquire timeline point

func (*WpDrmSyncobjSurfaceV1) SetReleasePoint

func (p *WpDrmSyncobjSurfaceV1) SetReleasePoint(Timeline *WpDrmSyncobjTimelineV1, PointHi uint32, PointLo uint32) error

SetReleasePoint set the release timeline point

type WpDrmSyncobjTimelineV1

type WpDrmSyncobjTimelineV1 struct {
	BaseProxy
}

WpDrmSyncobjTimelineV1 synchronization object timeline

func NewWpDrmSyncobjTimelineV1

func NewWpDrmSyncobjTimelineV1(ctx *Context) *WpDrmSyncobjTimelineV1

NewWpDrmSyncobjTimelineV1 is a constructor for the WpDrmSyncobjTimelineV1 object

func (*WpDrmSyncobjTimelineV1) Destroy

func (p *WpDrmSyncobjTimelineV1) Destroy() error

Destroy destroy the timeline

func (*WpDrmSyncobjTimelineV1) Dispatch

func (p *WpDrmSyncobjTimelineV1) Dispatch(event *Event)

Dispatch dispatches event for object WpDrmSyncobjTimelineV1

type WpPresentation

type WpPresentation struct {
	BaseProxy
	// contains filtered or unexported fields
}

WpPresentation timed presentation related wl_surface requests

func NewWpPresentation

func NewWpPresentation(ctx *Context) *WpPresentation

NewWpPresentation is a constructor for the WpPresentation object

func (*WpPresentation) AddClockIdHandler

func (p *WpPresentation) AddClockIdHandler(h WpPresentationClockIdHandler)

AddClockIdHandler adds the ClockId handler

func (*WpPresentation) Destroy

func (p *WpPresentation) Destroy() error

Destroy unbind from the presentation interface

func (*WpPresentation) Dispatch

func (p *WpPresentation) Dispatch(event *Event)

Dispatch dispatches event for object WpPresentation

func (*WpPresentation) Feedback

func (p *WpPresentation) Feedback(Surface *Surface) (*WpPresentationFeedback, error)

Feedback request presentation feedback information

func (*WpPresentation) RemoveClockIdHandler

func (p *WpPresentation) RemoveClockIdHandler(h WpPresentationClockIdHandler)

RemoveClockIdHandler removes the ClockId handler

type WpPresentationClockIdEvent

type WpPresentationClockIdEvent struct {
	// ClkId is the platform clock identifier
	ClkId uint32
}

WpPresentationClockIdEvent is the clock ID for timestamps

type WpPresentationClockIdHandler

type WpPresentationClockIdHandler interface {
	HandleWpPresentationClockId(WpPresentationClockIdEvent)
}

WpPresentationClockIdHandler is the handler interface for WpPresentationClockIdEvent

type WpPresentationFeedback

type WpPresentationFeedback struct {
	BaseProxy
	// contains filtered or unexported fields
}

WpPresentationFeedback presentation time feedback event

func NewWpPresentationFeedback

func NewWpPresentationFeedback(ctx *Context) *WpPresentationFeedback

NewWpPresentationFeedback is a constructor for the WpPresentationFeedback object

func (*WpPresentationFeedback) AddDiscardedHandler

AddDiscardedHandler adds the Discarded handler

func (*WpPresentationFeedback) AddPresentedHandler

AddPresentedHandler adds the Presented handler

func (*WpPresentationFeedback) AddSyncOutputHandler

AddSyncOutputHandler adds the SyncOutput handler

func (*WpPresentationFeedback) Dispatch

func (p *WpPresentationFeedback) Dispatch(event *Event)

Dispatch dispatches event for object WpPresentationFeedback

func (*WpPresentationFeedback) RemoveDiscardedHandler

RemoveDiscardedHandler removes the Discarded handler

func (*WpPresentationFeedback) RemovePresentedHandler

RemovePresentedHandler removes the Presented handler

func (*WpPresentationFeedback) RemoveSyncOutputHandler

RemoveSyncOutputHandler removes the SyncOutput handler

type WpPresentationFeedbackDiscardedEvent

type WpPresentationFeedbackDiscardedEvent struct {
}

WpPresentationFeedbackDiscardedEvent is the the content update was not displayed

type WpPresentationFeedbackDiscardedHandler

type WpPresentationFeedbackDiscardedHandler interface {
	HandleWpPresentationFeedbackDiscarded(WpPresentationFeedbackDiscardedEvent)
}

WpPresentationFeedbackDiscardedHandler is the handler interface for WpPresentationFeedbackDiscardedEvent

type WpPresentationFeedbackPresentedEvent

type WpPresentationFeedbackPresentedEvent struct {
	// TvSecHi is the high 32 bits of the seconds part of the presentation timestamp
	TvSecHi uint32
	// TvSecLo is the low 32 bits of the seconds part of the presentation timestamp
	TvSecLo uint32
	// TvNsec is the nanoseconds part of the presentation timestamp
	TvNsec uint32
	// Refresh is the nanoseconds till next refresh
	Refresh uint32
	// SeqHi is the high 32 bits of refresh counter
	SeqHi uint32
	// SeqLo is the low 32 bits of refresh counter
	SeqLo uint32
	// Flags is the combination of 'kind' values
	Flags uint32
}

WpPresentationFeedbackPresentedEvent is the the content update was displayed

type WpPresentationFeedbackPresentedHandler

type WpPresentationFeedbackPresentedHandler interface {
	HandleWpPresentationFeedbackPresented(WpPresentationFeedbackPresentedEvent)
}

WpPresentationFeedbackPresentedHandler is the handler interface for WpPresentationFeedbackPresentedEvent

type WpPresentationFeedbackSyncOutputEvent

type WpPresentationFeedbackSyncOutputEvent struct {
	// Output is the presentation output
	Output *Output
}

WpPresentationFeedbackSyncOutputEvent is the presentation synchronized to this output

type WpPresentationFeedbackSyncOutputHandler

type WpPresentationFeedbackSyncOutputHandler interface {
	HandleWpPresentationFeedbackSyncOutput(WpPresentationFeedbackSyncOutputEvent)
}

WpPresentationFeedbackSyncOutputHandler is the handler interface for WpPresentationFeedbackSyncOutputEvent

type WpScaleManagerV1

type WpScaleManagerV1 struct {
	BaseProxy
}

WpScaleManagerV1 fractional surface scale information

func NewWpScaleManagerV1

func NewWpScaleManagerV1(ctx *Context) *WpScaleManagerV1

NewWpScaleManagerV1 is a constructor for the WpScaleManagerV1 object

func (*WpScaleManagerV1) Destroy

func (p *WpScaleManagerV1) Destroy() error

Destroy unbind the fractional surface scale interface

func (*WpScaleManagerV1) Dispatch

func (p *WpScaleManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object WpScaleManagerV1

func (*WpScaleManagerV1) GetScale

func (p *WpScaleManagerV1) GetScale(Surface *Surface) (*WpScaleV1, error)

GetScale extend surface interface for scale information

type WpScaleV1

type WpScaleV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

WpScaleV1 fractional scale interface to a wl_surface

func NewWpScaleV1

func NewWpScaleV1(ctx *Context) *WpScaleV1

NewWpScaleV1 is a constructor for the WpScaleV1 object

func (*WpScaleV1) AddPreferredScaleHandler

func (p *WpScaleV1) AddPreferredScaleHandler(h WpScaleV1PreferredScaleHandler)

AddPreferredScaleHandler adds the PreferredScale handler

func (*WpScaleV1) Destroy

func (p *WpScaleV1) Destroy() error

Destroy remove surface scale information for surface

func (*WpScaleV1) Dispatch

func (p *WpScaleV1) Dispatch(event *Event)

Dispatch dispatches event for object WpScaleV1

func (*WpScaleV1) RemovePreferredScaleHandler

func (p *WpScaleV1) RemovePreferredScaleHandler(h WpScaleV1PreferredScaleHandler)

RemovePreferredScaleHandler removes the PreferredScale handler

type WpScaleV1PreferredScaleEvent

type WpScaleV1PreferredScaleEvent struct {
	// Scale is the the new preferred scale
	Scale uint32
}

WpScaleV1PreferredScaleEvent is the notify of new preferred scale

type WpScaleV1PreferredScaleHandler

type WpScaleV1PreferredScaleHandler interface {
	HandleWpScaleV1PreferredScale(WpScaleV1PreferredScaleEvent)
}

WpScaleV1PreferredScaleHandler is the handler interface for WpScaleV1PreferredScaleEvent

type WpViewport

type WpViewport struct {
	BaseProxy
}

WpViewport crop and scale interface to a wl_surface

func NewWpViewport

func NewWpViewport(ctx *Context) *WpViewport

NewWpViewport is a constructor for the WpViewport object

func (*WpViewport) DeferredRequest

func (p *WpViewport) DeferredRequest(opcode uint32) bool

DeferredRequest is true of set_source and set_destination: double buffered state a wl_surface commit applies.

func (*WpViewport) Destroy

func (p *WpViewport) Destroy() error

Destroy remove scaling and cropping from the surface

func (*WpViewport) Dispatch

func (p *WpViewport) Dispatch(event *Event)

Dispatch dispatches event for object WpViewport

func (*WpViewport) SetDestination

func (p *WpViewport) SetDestination(Width int32, Height int32) error

SetDestination set the surface size for scaling

func (*WpViewport) SetSource

func (p *WpViewport) SetSource(X float32, Y float32, Width float32, Height float32) error

SetSource set the source rectangle for cropping

type WpViewporter

type WpViewporter struct {
	BaseProxy
}

WpViewporter surface cropping and scaling

func NewWpViewporter

func NewWpViewporter(ctx *Context) *WpViewporter

NewWpViewporter is a constructor for the WpViewporter object

func (*WpViewporter) Destroy

func (p *WpViewporter) Destroy() error

Destroy unbind from the cropping and scaling interface

func (*WpViewporter) Dispatch

func (p *WpViewporter) Dispatch(event *Event)

Dispatch dispatches event for object WpViewporter

func (*WpViewporter) GetViewport

func (p *WpViewporter) GetViewport(Surface *Surface) (*WpViewport, error)

GetViewport extend surface interface for crop and scale

type XdgPopup

type XdgPopup = xdg.Popup

XdgPopup is the xdg_popup role; popups created from a layer surface use it.

type XdgSystemBellV1

type XdgSystemBellV1 struct {
	BaseProxy
}

XdgSystemBellV1 system bell

func NewXdgSystemBellV1

func NewXdgSystemBellV1(ctx *Context) *XdgSystemBellV1

NewXdgSystemBellV1 is a constructor for the XdgSystemBellV1 object

func (*XdgSystemBellV1) Destroy

func (p *XdgSystemBellV1) Destroy() error

Destroy destroy the system bell object

func (*XdgSystemBellV1) Dispatch

func (p *XdgSystemBellV1) Dispatch(event *Event)

Dispatch dispatches event for object XdgSystemBellV1

func (*XdgSystemBellV1) Ring

func (p *XdgSystemBellV1) Ring(Surface *Surface) error

Ring ring the system bell

type ZwlrDataControlDeviceV1

type ZwlrDataControlDeviceV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwlrDataControlDeviceV1 manage a data device for a seat

func NewZwlrDataControlDeviceV1

func NewZwlrDataControlDeviceV1(ctx *Context) *ZwlrDataControlDeviceV1

NewZwlrDataControlDeviceV1 is a constructor for the ZwlrDataControlDeviceV1 object

func (*ZwlrDataControlDeviceV1) AddDataOfferHandler

AddDataOfferHandler adds the DataOffer handler

func (*ZwlrDataControlDeviceV1) AddFinishedHandler

AddFinishedHandler adds the Finished handler

func (*ZwlrDataControlDeviceV1) AddPrimarySelectionHandler

AddPrimarySelectionHandler adds the PrimarySelection handler

func (*ZwlrDataControlDeviceV1) AddSelectionHandler

AddSelectionHandler adds the Selection handler

func (*ZwlrDataControlDeviceV1) Destroy

func (p *ZwlrDataControlDeviceV1) Destroy() error

Destroy destroy this data device

func (*ZwlrDataControlDeviceV1) Dispatch

func (p *ZwlrDataControlDeviceV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrDataControlDeviceV1

func (*ZwlrDataControlDeviceV1) RemoveDataOfferHandler

RemoveDataOfferHandler removes the DataOffer handler

func (*ZwlrDataControlDeviceV1) RemoveFinishedHandler

RemoveFinishedHandler removes the Finished handler

func (*ZwlrDataControlDeviceV1) RemovePrimarySelectionHandler

func (p *ZwlrDataControlDeviceV1) RemovePrimarySelectionHandler(h ZwlrDataControlDeviceV1PrimarySelectionHandler)

RemovePrimarySelectionHandler removes the PrimarySelection handler

func (*ZwlrDataControlDeviceV1) RemoveSelectionHandler

RemoveSelectionHandler removes the Selection handler

func (*ZwlrDataControlDeviceV1) SetPrimarySelection

func (p *ZwlrDataControlDeviceV1) SetPrimarySelection(Source *ZwlrDataControlSourceV1) error

SetPrimarySelection copy data to the primary selection

func (*ZwlrDataControlDeviceV1) SetSelection

func (p *ZwlrDataControlDeviceV1) SetSelection(Source *ZwlrDataControlSourceV1) error

SetSelection copy data to the selection

type ZwlrDataControlDeviceV1DataOfferEvent

type ZwlrDataControlDeviceV1DataOfferEvent struct {
	// Id is the
	Id *ZwlrDataControlOfferV1
}

ZwlrDataControlDeviceV1DataOfferEvent is the introduce a new wlr_data_control_offer

type ZwlrDataControlDeviceV1DataOfferHandler

type ZwlrDataControlDeviceV1DataOfferHandler interface {
	HandleZwlrDataControlDeviceV1DataOffer(ZwlrDataControlDeviceV1DataOfferEvent)
}

ZwlrDataControlDeviceV1DataOfferHandler is the handler interface for ZwlrDataControlDeviceV1DataOfferEvent

type ZwlrDataControlDeviceV1FinishedEvent

type ZwlrDataControlDeviceV1FinishedEvent struct {
}

ZwlrDataControlDeviceV1FinishedEvent is the this data control is no longer valid

type ZwlrDataControlDeviceV1FinishedHandler

type ZwlrDataControlDeviceV1FinishedHandler interface {
	HandleZwlrDataControlDeviceV1Finished(ZwlrDataControlDeviceV1FinishedEvent)
}

ZwlrDataControlDeviceV1FinishedHandler is the handler interface for ZwlrDataControlDeviceV1FinishedEvent

type ZwlrDataControlDeviceV1PrimarySelectionEvent

type ZwlrDataControlDeviceV1PrimarySelectionEvent struct {
	// Id is the
	Id *ZwlrDataControlOfferV1
}

ZwlrDataControlDeviceV1PrimarySelectionEvent is the advertise new primary selection

type ZwlrDataControlDeviceV1PrimarySelectionHandler

type ZwlrDataControlDeviceV1PrimarySelectionHandler interface {
	HandleZwlrDataControlDeviceV1PrimarySelection(ZwlrDataControlDeviceV1PrimarySelectionEvent)
}

ZwlrDataControlDeviceV1PrimarySelectionHandler is the handler interface for ZwlrDataControlDeviceV1PrimarySelectionEvent

type ZwlrDataControlDeviceV1SelectionEvent

type ZwlrDataControlDeviceV1SelectionEvent struct {
	// Id is the
	Id *ZwlrDataControlOfferV1
}

ZwlrDataControlDeviceV1SelectionEvent is the advertise new selection

type ZwlrDataControlDeviceV1SelectionHandler

type ZwlrDataControlDeviceV1SelectionHandler interface {
	HandleZwlrDataControlDeviceV1Selection(ZwlrDataControlDeviceV1SelectionEvent)
}

ZwlrDataControlDeviceV1SelectionHandler is the handler interface for ZwlrDataControlDeviceV1SelectionEvent

type ZwlrDataControlManagerV1

type ZwlrDataControlManagerV1 struct {
	BaseProxy
}

ZwlrDataControlManagerV1 manager to control data devices

func NewZwlrDataControlManagerV1

func NewZwlrDataControlManagerV1(ctx *Context) *ZwlrDataControlManagerV1

NewZwlrDataControlManagerV1 is a constructor for the ZwlrDataControlManagerV1 object

func (*ZwlrDataControlManagerV1) CreateDataSource

func (p *ZwlrDataControlManagerV1) CreateDataSource() (*ZwlrDataControlSourceV1, error)

CreateDataSource create a new data source

func (*ZwlrDataControlManagerV1) Destroy

func (p *ZwlrDataControlManagerV1) Destroy() error

Destroy destroy the manager

func (*ZwlrDataControlManagerV1) Dispatch

func (p *ZwlrDataControlManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrDataControlManagerV1

func (*ZwlrDataControlManagerV1) GetDataDevice

func (p *ZwlrDataControlManagerV1) GetDataDevice(Seat *Seat) (*ZwlrDataControlDeviceV1, error)

GetDataDevice get a data device for a seat

type ZwlrDataControlOfferV1

type ZwlrDataControlOfferV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwlrDataControlOfferV1 offer to transfer data

func NewZwlrDataControlOfferV1

func NewZwlrDataControlOfferV1(ctx *Context) *ZwlrDataControlOfferV1

NewZwlrDataControlOfferV1 is a constructor for the ZwlrDataControlOfferV1 object

func (*ZwlrDataControlOfferV1) AddOfferHandler

AddOfferHandler adds the Offer handler

func (*ZwlrDataControlOfferV1) Destroy

func (p *ZwlrDataControlOfferV1) Destroy() error

Destroy destroy this offer

func (*ZwlrDataControlOfferV1) Dispatch

func (p *ZwlrDataControlOfferV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrDataControlOfferV1

func (*ZwlrDataControlOfferV1) Receive

func (p *ZwlrDataControlOfferV1) Receive(MimeType string, Fd uintptr) error

Receive request that the data is transferred

func (*ZwlrDataControlOfferV1) RemoveOfferHandler

RemoveOfferHandler removes the Offer handler

type ZwlrDataControlOfferV1OfferEvent

type ZwlrDataControlOfferV1OfferEvent struct {
	// MimeType is the offered MIME type
	MimeType string
}

ZwlrDataControlOfferV1OfferEvent is the advertise offered MIME type

type ZwlrDataControlOfferV1OfferHandler

type ZwlrDataControlOfferV1OfferHandler interface {
	HandleZwlrDataControlOfferV1Offer(ZwlrDataControlOfferV1OfferEvent)
}

ZwlrDataControlOfferV1OfferHandler is the handler interface for ZwlrDataControlOfferV1OfferEvent

type ZwlrDataControlSourceV1

type ZwlrDataControlSourceV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwlrDataControlSourceV1 offer to transfer data

func NewZwlrDataControlSourceV1

func NewZwlrDataControlSourceV1(ctx *Context) *ZwlrDataControlSourceV1

NewZwlrDataControlSourceV1 is a constructor for the ZwlrDataControlSourceV1 object

func (*ZwlrDataControlSourceV1) AddCancelledHandler

AddCancelledHandler adds the Cancelled handler

func (*ZwlrDataControlSourceV1) AddSendHandler

AddSendHandler adds the Send handler

func (*ZwlrDataControlSourceV1) Destroy

func (p *ZwlrDataControlSourceV1) Destroy() error

Destroy destroy this source

func (*ZwlrDataControlSourceV1) Dispatch

func (p *ZwlrDataControlSourceV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrDataControlSourceV1

func (*ZwlrDataControlSourceV1) EventFDs

func (p *ZwlrDataControlSourceV1) EventFDs(opcode uint32) int

EventFDs returns how many fds the event with opcode carries

func (*ZwlrDataControlSourceV1) Offer

func (p *ZwlrDataControlSourceV1) Offer(MimeType string) error

Offer add an offered MIME type

func (*ZwlrDataControlSourceV1) RemoveCancelledHandler

RemoveCancelledHandler removes the Cancelled handler

func (*ZwlrDataControlSourceV1) RemoveSendHandler

RemoveSendHandler removes the Send handler

type ZwlrDataControlSourceV1CancelledEvent

type ZwlrDataControlSourceV1CancelledEvent struct {
}

ZwlrDataControlSourceV1CancelledEvent is the selection was cancelled

type ZwlrDataControlSourceV1CancelledHandler

type ZwlrDataControlSourceV1CancelledHandler interface {
	HandleZwlrDataControlSourceV1Cancelled(ZwlrDataControlSourceV1CancelledEvent)
}

ZwlrDataControlSourceV1CancelledHandler is the handler interface for ZwlrDataControlSourceV1CancelledEvent

type ZwlrDataControlSourceV1SendEvent

type ZwlrDataControlSourceV1SendEvent struct {
	// MimeType is the MIME type for the data
	MimeType string
	// Fd is the file descriptor for the data
	Fd uintptr
	// FdError is the file descriptor for the data (error)
	FdError error
}

ZwlrDataControlSourceV1SendEvent is the send the data

type ZwlrDataControlSourceV1SendHandler

type ZwlrDataControlSourceV1SendHandler interface {
	HandleZwlrDataControlSourceV1Send(ZwlrDataControlSourceV1SendEvent)
}

ZwlrDataControlSourceV1SendHandler is the handler interface for ZwlrDataControlSourceV1SendEvent

type ZwlrForeignToplevelHandleV1

type ZwlrForeignToplevelHandleV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwlrForeignToplevelHandleV1 an opened toplevel

func NewZwlrForeignToplevelHandleV1

func NewZwlrForeignToplevelHandleV1(ctx *Context) *ZwlrForeignToplevelHandleV1

NewZwlrForeignToplevelHandleV1 is a constructor for the ZwlrForeignToplevelHandleV1 object

func (*ZwlrForeignToplevelHandleV1) Activate

func (p *ZwlrForeignToplevelHandleV1) Activate(Seat *Seat) error

Activate activate the toplevel

func (*ZwlrForeignToplevelHandleV1) AddAppIdHandler

AddAppIdHandler adds the AppId handler

func (*ZwlrForeignToplevelHandleV1) AddClosedHandler

AddClosedHandler adds the Closed handler

func (*ZwlrForeignToplevelHandleV1) AddDoneHandler

AddDoneHandler adds the Done handler

func (*ZwlrForeignToplevelHandleV1) AddOutputEnterHandler

AddOutputEnterHandler adds the OutputEnter handler

func (*ZwlrForeignToplevelHandleV1) AddOutputLeaveHandler

AddOutputLeaveHandler adds the OutputLeave handler

func (*ZwlrForeignToplevelHandleV1) AddParentHandler

AddParentHandler adds the Parent handler

func (*ZwlrForeignToplevelHandleV1) AddStateHandler

AddStateHandler adds the State handler

func (*ZwlrForeignToplevelHandleV1) AddTitleHandler

AddTitleHandler adds the Title handler

func (*ZwlrForeignToplevelHandleV1) Close

Close request that the toplevel be closed

func (*ZwlrForeignToplevelHandleV1) Destroy

func (p *ZwlrForeignToplevelHandleV1) Destroy() error

Destroy destroy the zwlr_foreign_toplevel_handle_v1 object

func (*ZwlrForeignToplevelHandleV1) Dispatch

func (p *ZwlrForeignToplevelHandleV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrForeignToplevelHandleV1

func (*ZwlrForeignToplevelHandleV1) RemoveAppIdHandler

RemoveAppIdHandler removes the AppId handler

func (*ZwlrForeignToplevelHandleV1) RemoveClosedHandler

RemoveClosedHandler removes the Closed handler

func (*ZwlrForeignToplevelHandleV1) RemoveDoneHandler

RemoveDoneHandler removes the Done handler

func (*ZwlrForeignToplevelHandleV1) RemoveOutputEnterHandler

RemoveOutputEnterHandler removes the OutputEnter handler

func (*ZwlrForeignToplevelHandleV1) RemoveOutputLeaveHandler

RemoveOutputLeaveHandler removes the OutputLeave handler

func (*ZwlrForeignToplevelHandleV1) RemoveParentHandler

RemoveParentHandler removes the Parent handler

func (*ZwlrForeignToplevelHandleV1) RemoveStateHandler

RemoveStateHandler removes the State handler

func (*ZwlrForeignToplevelHandleV1) RemoveTitleHandler

RemoveTitleHandler removes the Title handler

func (*ZwlrForeignToplevelHandleV1) SetFullscreen

func (p *ZwlrForeignToplevelHandleV1) SetFullscreen(Output *Output) error

SetFullscreen request that the toplevel be fullscreened

func (*ZwlrForeignToplevelHandleV1) SetMaximized

func (p *ZwlrForeignToplevelHandleV1) SetMaximized() error

SetMaximized requests that the toplevel be maximized

func (*ZwlrForeignToplevelHandleV1) SetMinimized

func (p *ZwlrForeignToplevelHandleV1) SetMinimized() error

SetMinimized requests that the toplevel be minimized

func (*ZwlrForeignToplevelHandleV1) SetRectangle

func (p *ZwlrForeignToplevelHandleV1) SetRectangle(Surface *Surface, X int32, Y int32, Width int32, Height int32) error

SetRectangle the rectangle which represents the toplevel

func (*ZwlrForeignToplevelHandleV1) UnsetFullscreen

func (p *ZwlrForeignToplevelHandleV1) UnsetFullscreen() error

UnsetFullscreen request that the toplevel be unfullscreened

func (*ZwlrForeignToplevelHandleV1) UnsetMaximized

func (p *ZwlrForeignToplevelHandleV1) UnsetMaximized() error

UnsetMaximized requests that the toplevel be unmaximized

func (*ZwlrForeignToplevelHandleV1) UnsetMinimized

func (p *ZwlrForeignToplevelHandleV1) UnsetMinimized() error

UnsetMinimized requests that the toplevel be unminimized

type ZwlrForeignToplevelHandleV1AppIdEvent

type ZwlrForeignToplevelHandleV1AppIdEvent struct {
	// AppId is the
	AppId string
}

ZwlrForeignToplevelHandleV1AppIdEvent is the app-id change

type ZwlrForeignToplevelHandleV1AppIdHandler

type ZwlrForeignToplevelHandleV1AppIdHandler interface {
	HandleZwlrForeignToplevelHandleV1AppId(ZwlrForeignToplevelHandleV1AppIdEvent)
}

ZwlrForeignToplevelHandleV1AppIdHandler is the handler interface for ZwlrForeignToplevelHandleV1AppIdEvent

type ZwlrForeignToplevelHandleV1ClosedEvent

type ZwlrForeignToplevelHandleV1ClosedEvent struct {
}

ZwlrForeignToplevelHandleV1ClosedEvent is the this toplevel has been destroyed

type ZwlrForeignToplevelHandleV1ClosedHandler

type ZwlrForeignToplevelHandleV1ClosedHandler interface {
	HandleZwlrForeignToplevelHandleV1Closed(ZwlrForeignToplevelHandleV1ClosedEvent)
}

ZwlrForeignToplevelHandleV1ClosedHandler is the handler interface for ZwlrForeignToplevelHandleV1ClosedEvent

type ZwlrForeignToplevelHandleV1DoneEvent

type ZwlrForeignToplevelHandleV1DoneEvent struct {
}

ZwlrForeignToplevelHandleV1DoneEvent is the all information about the toplevel has been sent

type ZwlrForeignToplevelHandleV1DoneHandler

type ZwlrForeignToplevelHandleV1DoneHandler interface {
	HandleZwlrForeignToplevelHandleV1Done(ZwlrForeignToplevelHandleV1DoneEvent)
}

ZwlrForeignToplevelHandleV1DoneHandler is the handler interface for ZwlrForeignToplevelHandleV1DoneEvent

type ZwlrForeignToplevelHandleV1OutputEnterEvent

type ZwlrForeignToplevelHandleV1OutputEnterEvent struct {
	// Output is the
	Output *Output
}

ZwlrForeignToplevelHandleV1OutputEnterEvent is the toplevel entered an output

type ZwlrForeignToplevelHandleV1OutputEnterHandler

type ZwlrForeignToplevelHandleV1OutputEnterHandler interface {
	HandleZwlrForeignToplevelHandleV1OutputEnter(ZwlrForeignToplevelHandleV1OutputEnterEvent)
}

ZwlrForeignToplevelHandleV1OutputEnterHandler is the handler interface for ZwlrForeignToplevelHandleV1OutputEnterEvent

type ZwlrForeignToplevelHandleV1OutputLeaveEvent

type ZwlrForeignToplevelHandleV1OutputLeaveEvent struct {
	// Output is the
	Output *Output
}

ZwlrForeignToplevelHandleV1OutputLeaveEvent is the toplevel left an output

type ZwlrForeignToplevelHandleV1OutputLeaveHandler

type ZwlrForeignToplevelHandleV1OutputLeaveHandler interface {
	HandleZwlrForeignToplevelHandleV1OutputLeave(ZwlrForeignToplevelHandleV1OutputLeaveEvent)
}

ZwlrForeignToplevelHandleV1OutputLeaveHandler is the handler interface for ZwlrForeignToplevelHandleV1OutputLeaveEvent

type ZwlrForeignToplevelHandleV1ParentEvent

type ZwlrForeignToplevelHandleV1ParentEvent struct {
	// Parent is the
	Parent *ZwlrForeignToplevelHandleV1
}

ZwlrForeignToplevelHandleV1ParentEvent is the parent change

type ZwlrForeignToplevelHandleV1ParentHandler

type ZwlrForeignToplevelHandleV1ParentHandler interface {
	HandleZwlrForeignToplevelHandleV1Parent(ZwlrForeignToplevelHandleV1ParentEvent)
}

ZwlrForeignToplevelHandleV1ParentHandler is the handler interface for ZwlrForeignToplevelHandleV1ParentEvent

type ZwlrForeignToplevelHandleV1StateEvent

type ZwlrForeignToplevelHandleV1StateEvent struct {
	// State is the
	State []int32
}

ZwlrForeignToplevelHandleV1StateEvent is the the toplevel state changed

type ZwlrForeignToplevelHandleV1StateHandler

type ZwlrForeignToplevelHandleV1StateHandler interface {
	HandleZwlrForeignToplevelHandleV1State(ZwlrForeignToplevelHandleV1StateEvent)
}

ZwlrForeignToplevelHandleV1StateHandler is the handler interface for ZwlrForeignToplevelHandleV1StateEvent

type ZwlrForeignToplevelHandleV1TitleEvent

type ZwlrForeignToplevelHandleV1TitleEvent struct {
	// Title is the
	Title string
}

ZwlrForeignToplevelHandleV1TitleEvent is the title change

type ZwlrForeignToplevelHandleV1TitleHandler

type ZwlrForeignToplevelHandleV1TitleHandler interface {
	HandleZwlrForeignToplevelHandleV1Title(ZwlrForeignToplevelHandleV1TitleEvent)
}

ZwlrForeignToplevelHandleV1TitleHandler is the handler interface for ZwlrForeignToplevelHandleV1TitleEvent

type ZwlrForeignToplevelManagerV1

type ZwlrForeignToplevelManagerV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwlrForeignToplevelManagerV1 list and control opened apps

func NewZwlrForeignToplevelManagerV1

func NewZwlrForeignToplevelManagerV1(ctx *Context) *ZwlrForeignToplevelManagerV1

NewZwlrForeignToplevelManagerV1 is a constructor for the ZwlrForeignToplevelManagerV1 object

func (*ZwlrForeignToplevelManagerV1) AddFinishedHandler

AddFinishedHandler adds the Finished handler

func (*ZwlrForeignToplevelManagerV1) AddToplevelHandler

AddToplevelHandler adds the Toplevel handler

func (*ZwlrForeignToplevelManagerV1) Dispatch

func (p *ZwlrForeignToplevelManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrForeignToplevelManagerV1

func (*ZwlrForeignToplevelManagerV1) RemoveFinishedHandler

RemoveFinishedHandler removes the Finished handler

func (*ZwlrForeignToplevelManagerV1) RemoveToplevelHandler

RemoveToplevelHandler removes the Toplevel handler

func (*ZwlrForeignToplevelManagerV1) Stop

Stop stop sending events

type ZwlrForeignToplevelManagerV1FinishedEvent

type ZwlrForeignToplevelManagerV1FinishedEvent struct {
}

ZwlrForeignToplevelManagerV1FinishedEvent is the the compositor has finished with the toplevel manager

type ZwlrForeignToplevelManagerV1FinishedHandler

type ZwlrForeignToplevelManagerV1FinishedHandler interface {
	HandleZwlrForeignToplevelManagerV1Finished(ZwlrForeignToplevelManagerV1FinishedEvent)
}

ZwlrForeignToplevelManagerV1FinishedHandler is the handler interface for ZwlrForeignToplevelManagerV1FinishedEvent

type ZwlrForeignToplevelManagerV1ToplevelEvent

type ZwlrForeignToplevelManagerV1ToplevelEvent struct {
	// Toplevel is the
	Toplevel *ZwlrForeignToplevelHandleV1
}

ZwlrForeignToplevelManagerV1ToplevelEvent is the a toplevel has been created

type ZwlrForeignToplevelManagerV1ToplevelHandler

type ZwlrForeignToplevelManagerV1ToplevelHandler interface {
	HandleZwlrForeignToplevelManagerV1Toplevel(ZwlrForeignToplevelManagerV1ToplevelEvent)
}

ZwlrForeignToplevelManagerV1ToplevelHandler is the handler interface for ZwlrForeignToplevelManagerV1ToplevelEvent

type ZwlrGammaControlManagerV1

type ZwlrGammaControlManagerV1 struct {
	BaseProxy
}

ZwlrGammaControlManagerV1 manager to create per-output gamma controls

func NewZwlrGammaControlManagerV1

func NewZwlrGammaControlManagerV1(ctx *Context) *ZwlrGammaControlManagerV1

NewZwlrGammaControlManagerV1 is a constructor for the ZwlrGammaControlManagerV1 object

func (*ZwlrGammaControlManagerV1) Destroy

func (p *ZwlrGammaControlManagerV1) Destroy() error

Destroy destroy the manager

func (*ZwlrGammaControlManagerV1) Dispatch

func (p *ZwlrGammaControlManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrGammaControlManagerV1

func (*ZwlrGammaControlManagerV1) GetGammaControl

func (p *ZwlrGammaControlManagerV1) GetGammaControl(Output *Output) (*ZwlrGammaControlV1, error)

GetGammaControl get a gamma control for an output

type ZwlrGammaControlV1

type ZwlrGammaControlV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwlrGammaControlV1 adjust gamma tables for an output

func NewZwlrGammaControlV1

func NewZwlrGammaControlV1(ctx *Context) *ZwlrGammaControlV1

NewZwlrGammaControlV1 is a constructor for the ZwlrGammaControlV1 object

func (*ZwlrGammaControlV1) AddFailedHandler

func (p *ZwlrGammaControlV1) AddFailedHandler(h ZwlrGammaControlV1FailedHandler)

AddFailedHandler adds the Failed handler

func (*ZwlrGammaControlV1) AddGammaSizeHandler

func (p *ZwlrGammaControlV1) AddGammaSizeHandler(h ZwlrGammaControlV1GammaSizeHandler)

AddGammaSizeHandler adds the GammaSize handler

func (*ZwlrGammaControlV1) Destroy

func (p *ZwlrGammaControlV1) Destroy() error

Destroy destroy this control

func (*ZwlrGammaControlV1) Dispatch

func (p *ZwlrGammaControlV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrGammaControlV1

func (*ZwlrGammaControlV1) RemoveFailedHandler

func (p *ZwlrGammaControlV1) RemoveFailedHandler(h ZwlrGammaControlV1FailedHandler)

RemoveFailedHandler removes the Failed handler

func (*ZwlrGammaControlV1) RemoveGammaSizeHandler

func (p *ZwlrGammaControlV1) RemoveGammaSizeHandler(h ZwlrGammaControlV1GammaSizeHandler)

RemoveGammaSizeHandler removes the GammaSize handler

func (*ZwlrGammaControlV1) SetGamma

func (p *ZwlrGammaControlV1) SetGamma(Fd uintptr) error

SetGamma set the gamma table

type ZwlrGammaControlV1FailedEvent

type ZwlrGammaControlV1FailedEvent struct {
}

ZwlrGammaControlV1FailedEvent is the object no longer valid

type ZwlrGammaControlV1FailedHandler

type ZwlrGammaControlV1FailedHandler interface {
	HandleZwlrGammaControlV1Failed(ZwlrGammaControlV1FailedEvent)
}

ZwlrGammaControlV1FailedHandler is the handler interface for ZwlrGammaControlV1FailedEvent

type ZwlrGammaControlV1GammaSizeEvent

type ZwlrGammaControlV1GammaSizeEvent struct {
	// Size is the number of elements in a ramp
	Size uint32
}

ZwlrGammaControlV1GammaSizeEvent is the size of gamma ramps

type ZwlrGammaControlV1GammaSizeHandler

type ZwlrGammaControlV1GammaSizeHandler interface {
	HandleZwlrGammaControlV1GammaSize(ZwlrGammaControlV1GammaSizeEvent)
}

ZwlrGammaControlV1GammaSizeHandler is the handler interface for ZwlrGammaControlV1GammaSizeEvent

type ZwlrLayerShellV1

type ZwlrLayerShellV1 struct {
	BaseProxy
}

ZwlrLayerShellV1 create surfaces that are layers of the desktop

func NewZwlrLayerShellV1

func NewZwlrLayerShellV1(ctx *Context) *ZwlrLayerShellV1

NewZwlrLayerShellV1 is a constructor for the ZwlrLayerShellV1 object

func (*ZwlrLayerShellV1) Destroy

func (p *ZwlrLayerShellV1) Destroy() error

Destroy destroy the layer_shell object

func (*ZwlrLayerShellV1) Dispatch

func (p *ZwlrLayerShellV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrLayerShellV1

func (*ZwlrLayerShellV1) GetLayerSurface

func (p *ZwlrLayerShellV1) GetLayerSurface(Surface *Surface, Output *Output, Layer uint32, Namespace string) (*ZwlrLayerSurfaceV1, error)

GetLayerSurface create a layer_surface from a surface

type ZwlrLayerSurfaceV1

type ZwlrLayerSurfaceV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwlrLayerSurfaceV1 layer metadata interface

func NewZwlrLayerSurfaceV1

func NewZwlrLayerSurfaceV1(ctx *Context) *ZwlrLayerSurfaceV1

NewZwlrLayerSurfaceV1 is a constructor for the ZwlrLayerSurfaceV1 object

func (*ZwlrLayerSurfaceV1) AckConfigure

func (p *ZwlrLayerSurfaceV1) AckConfigure(Serial uint32) error

AckConfigure ack a configure event

func (*ZwlrLayerSurfaceV1) AddClosedHandler

func (p *ZwlrLayerSurfaceV1) AddClosedHandler(h ZwlrLayerSurfaceV1ClosedHandler)

AddClosedHandler adds the Closed handler

func (*ZwlrLayerSurfaceV1) AddConfigureHandler

func (p *ZwlrLayerSurfaceV1) AddConfigureHandler(h ZwlrLayerSurfaceV1ConfigureHandler)

AddConfigureHandler adds the Configure handler

func (*ZwlrLayerSurfaceV1) Destroy

func (p *ZwlrLayerSurfaceV1) Destroy() error

Destroy destroy the layer_surface

func (*ZwlrLayerSurfaceV1) Dispatch

func (p *ZwlrLayerSurfaceV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrLayerSurfaceV1

func (*ZwlrLayerSurfaceV1) GetPopup

func (p *ZwlrLayerSurfaceV1) GetPopup(Popup *XdgPopup) error

GetPopup assign this layer_surface as an xdg_popup parent

func (*ZwlrLayerSurfaceV1) RemoveClosedHandler

func (p *ZwlrLayerSurfaceV1) RemoveClosedHandler(h ZwlrLayerSurfaceV1ClosedHandler)

RemoveClosedHandler removes the Closed handler

func (*ZwlrLayerSurfaceV1) RemoveConfigureHandler

func (p *ZwlrLayerSurfaceV1) RemoveConfigureHandler(h ZwlrLayerSurfaceV1ConfigureHandler)

RemoveConfigureHandler removes the Configure handler

func (*ZwlrLayerSurfaceV1) SetAnchor

func (p *ZwlrLayerSurfaceV1) SetAnchor(Anchor uint32) error

SetAnchor configures the anchor point of the surface

func (*ZwlrLayerSurfaceV1) SetExclusiveEdge

func (p *ZwlrLayerSurfaceV1) SetExclusiveEdge(Edge uint32) error

SetExclusiveEdge set the edge the exclusive zone will be applied to

func (*ZwlrLayerSurfaceV1) SetExclusiveZone

func (p *ZwlrLayerSurfaceV1) SetExclusiveZone(Zone int32) error

SetExclusiveZone configures the exclusive geometry of this surface

func (*ZwlrLayerSurfaceV1) SetKeyboardInteractivity

func (p *ZwlrLayerSurfaceV1) SetKeyboardInteractivity(KeyboardInteractivity uint32) error

SetKeyboardInteractivity requests keyboard events

func (*ZwlrLayerSurfaceV1) SetLayer

func (p *ZwlrLayerSurfaceV1) SetLayer(Layer uint32) error

SetLayer change the layer of the surface

func (*ZwlrLayerSurfaceV1) SetMargin

func (p *ZwlrLayerSurfaceV1) SetMargin(Top int32, Right int32, Bottom int32, Left int32) error

SetMargin sets a margin from the anchor point

func (*ZwlrLayerSurfaceV1) SetSize

func (p *ZwlrLayerSurfaceV1) SetSize(Width uint32, Height uint32) error

SetSize sets the size of the surface

type ZwlrLayerSurfaceV1ClosedEvent

type ZwlrLayerSurfaceV1ClosedEvent struct {
}

ZwlrLayerSurfaceV1ClosedEvent is the surface should be closed

type ZwlrLayerSurfaceV1ClosedHandler

type ZwlrLayerSurfaceV1ClosedHandler interface {
	HandleZwlrLayerSurfaceV1Closed(ZwlrLayerSurfaceV1ClosedEvent)
}

ZwlrLayerSurfaceV1ClosedHandler is the handler interface for ZwlrLayerSurfaceV1ClosedEvent

type ZwlrLayerSurfaceV1ConfigureEvent

type ZwlrLayerSurfaceV1ConfigureEvent struct {
	// Serial is the
	Serial uint32
	// Width is the
	Width uint32
	// Height is the
	Height uint32
}

ZwlrLayerSurfaceV1ConfigureEvent is the suggest a surface change

type ZwlrLayerSurfaceV1ConfigureHandler

type ZwlrLayerSurfaceV1ConfigureHandler interface {
	HandleZwlrLayerSurfaceV1Configure(ZwlrLayerSurfaceV1ConfigureEvent)
}

ZwlrLayerSurfaceV1ConfigureHandler is the handler interface for ZwlrLayerSurfaceV1ConfigureEvent

type ZwlrOutputConfigurationHeadV1

type ZwlrOutputConfigurationHeadV1 struct {
	BaseProxy
}

ZwlrOutputConfigurationHeadV1 head configuration

func NewZwlrOutputConfigurationHeadV1

func NewZwlrOutputConfigurationHeadV1(ctx *Context) *ZwlrOutputConfigurationHeadV1

NewZwlrOutputConfigurationHeadV1 is a constructor for the ZwlrOutputConfigurationHeadV1 object

func (*ZwlrOutputConfigurationHeadV1) Dispatch

func (p *ZwlrOutputConfigurationHeadV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrOutputConfigurationHeadV1

func (*ZwlrOutputConfigurationHeadV1) SetAdaptiveSync

func (p *ZwlrOutputConfigurationHeadV1) SetAdaptiveSync(State uint32) error

SetAdaptiveSync enable/disable adaptive sync

func (*ZwlrOutputConfigurationHeadV1) SetCustomMode

func (p *ZwlrOutputConfigurationHeadV1) SetCustomMode(Width int32, Height int32, Refresh int32) error

SetCustomMode set a custom mode

func (*ZwlrOutputConfigurationHeadV1) SetMode

SetMode set the mode

func (*ZwlrOutputConfigurationHeadV1) SetPosition

func (p *ZwlrOutputConfigurationHeadV1) SetPosition(X int32, Y int32) error

SetPosition set the position

func (*ZwlrOutputConfigurationHeadV1) SetScale

func (p *ZwlrOutputConfigurationHeadV1) SetScale(Scale float32) error

SetScale set the scale

func (*ZwlrOutputConfigurationHeadV1) SetTransform

func (p *ZwlrOutputConfigurationHeadV1) SetTransform(Transform int32) error

SetTransform set the transform

type ZwlrOutputConfigurationV1

type ZwlrOutputConfigurationV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwlrOutputConfigurationV1 output configuration

func NewZwlrOutputConfigurationV1

func NewZwlrOutputConfigurationV1(ctx *Context) *ZwlrOutputConfigurationV1

NewZwlrOutputConfigurationV1 is a constructor for the ZwlrOutputConfigurationV1 object

func (*ZwlrOutputConfigurationV1) AddCancelledHandler

AddCancelledHandler adds the Cancelled handler

func (*ZwlrOutputConfigurationV1) AddFailedHandler

AddFailedHandler adds the Failed handler

func (*ZwlrOutputConfigurationV1) AddSucceededHandler

AddSucceededHandler adds the Succeeded handler

func (*ZwlrOutputConfigurationV1) Apply

func (p *ZwlrOutputConfigurationV1) Apply() error

Apply apply the configuration

func (*ZwlrOutputConfigurationV1) Destroy

func (p *ZwlrOutputConfigurationV1) Destroy() error

Destroy destroy the output configuration

func (*ZwlrOutputConfigurationV1) DisableHead

func (p *ZwlrOutputConfigurationV1) DisableHead(Head *ZwlrOutputHeadV1) error

DisableHead disable a head

func (*ZwlrOutputConfigurationV1) Dispatch

func (p *ZwlrOutputConfigurationV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrOutputConfigurationV1

func (*ZwlrOutputConfigurationV1) EnableHead

EnableHead enable and configure a head

func (*ZwlrOutputConfigurationV1) RemoveCancelledHandler

RemoveCancelledHandler removes the Cancelled handler

func (*ZwlrOutputConfigurationV1) RemoveFailedHandler

RemoveFailedHandler removes the Failed handler

func (*ZwlrOutputConfigurationV1) RemoveSucceededHandler

RemoveSucceededHandler removes the Succeeded handler

func (*ZwlrOutputConfigurationV1) Test

func (p *ZwlrOutputConfigurationV1) Test() error

Test test the configuration

type ZwlrOutputConfigurationV1CancelledEvent

type ZwlrOutputConfigurationV1CancelledEvent struct {
}

ZwlrOutputConfigurationV1CancelledEvent is the configuration has been cancelled

type ZwlrOutputConfigurationV1CancelledHandler

type ZwlrOutputConfigurationV1CancelledHandler interface {
	HandleZwlrOutputConfigurationV1Cancelled(ZwlrOutputConfigurationV1CancelledEvent)
}

ZwlrOutputConfigurationV1CancelledHandler is the handler interface for ZwlrOutputConfigurationV1CancelledEvent

type ZwlrOutputConfigurationV1FailedEvent

type ZwlrOutputConfigurationV1FailedEvent struct {
}

ZwlrOutputConfigurationV1FailedEvent is the configuration changes failed

type ZwlrOutputConfigurationV1FailedHandler

type ZwlrOutputConfigurationV1FailedHandler interface {
	HandleZwlrOutputConfigurationV1Failed(ZwlrOutputConfigurationV1FailedEvent)
}

ZwlrOutputConfigurationV1FailedHandler is the handler interface for ZwlrOutputConfigurationV1FailedEvent

type ZwlrOutputConfigurationV1SucceededEvent

type ZwlrOutputConfigurationV1SucceededEvent struct {
}

ZwlrOutputConfigurationV1SucceededEvent is the configuration changes succeeded

type ZwlrOutputConfigurationV1SucceededHandler

type ZwlrOutputConfigurationV1SucceededHandler interface {
	HandleZwlrOutputConfigurationV1Succeeded(ZwlrOutputConfigurationV1SucceededEvent)
}

ZwlrOutputConfigurationV1SucceededHandler is the handler interface for ZwlrOutputConfigurationV1SucceededEvent

type ZwlrOutputHeadV1

type ZwlrOutputHeadV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwlrOutputHeadV1 output device

func NewZwlrOutputHeadV1

func NewZwlrOutputHeadV1(ctx *Context) *ZwlrOutputHeadV1

NewZwlrOutputHeadV1 is a constructor for the ZwlrOutputHeadV1 object

func (*ZwlrOutputHeadV1) AddAdaptiveSyncHandler

func (p *ZwlrOutputHeadV1) AddAdaptiveSyncHandler(h ZwlrOutputHeadV1AdaptiveSyncHandler)

AddAdaptiveSyncHandler adds the AdaptiveSync handler

func (*ZwlrOutputHeadV1) AddCurrentModeHandler

func (p *ZwlrOutputHeadV1) AddCurrentModeHandler(h ZwlrOutputHeadV1CurrentModeHandler)

AddCurrentModeHandler adds the CurrentMode handler

func (*ZwlrOutputHeadV1) AddDescriptionHandler

func (p *ZwlrOutputHeadV1) AddDescriptionHandler(h ZwlrOutputHeadV1DescriptionHandler)

AddDescriptionHandler adds the Description handler

func (*ZwlrOutputHeadV1) AddEnabledHandler

func (p *ZwlrOutputHeadV1) AddEnabledHandler(h ZwlrOutputHeadV1EnabledHandler)

AddEnabledHandler adds the Enabled handler

func (*ZwlrOutputHeadV1) AddFinishedHandler

func (p *ZwlrOutputHeadV1) AddFinishedHandler(h ZwlrOutputHeadV1FinishedHandler)

AddFinishedHandler adds the Finished handler

func (*ZwlrOutputHeadV1) AddMakeHandler

func (p *ZwlrOutputHeadV1) AddMakeHandler(h ZwlrOutputHeadV1MakeHandler)

AddMakeHandler adds the Make handler

func (*ZwlrOutputHeadV1) AddModeHandler

func (p *ZwlrOutputHeadV1) AddModeHandler(h ZwlrOutputHeadV1ModeHandler)

AddModeHandler adds the Mode handler

func (*ZwlrOutputHeadV1) AddModelHandler

func (p *ZwlrOutputHeadV1) AddModelHandler(h ZwlrOutputHeadV1ModelHandler)

AddModelHandler adds the Model handler

func (*ZwlrOutputHeadV1) AddNameHandler

func (p *ZwlrOutputHeadV1) AddNameHandler(h ZwlrOutputHeadV1NameHandler)

AddNameHandler adds the Name handler

func (*ZwlrOutputHeadV1) AddPhysicalSizeHandler

func (p *ZwlrOutputHeadV1) AddPhysicalSizeHandler(h ZwlrOutputHeadV1PhysicalSizeHandler)

AddPhysicalSizeHandler adds the PhysicalSize handler

func (*ZwlrOutputHeadV1) AddPositionHandler

func (p *ZwlrOutputHeadV1) AddPositionHandler(h ZwlrOutputHeadV1PositionHandler)

AddPositionHandler adds the Position handler

func (*ZwlrOutputHeadV1) AddScaleHandler

func (p *ZwlrOutputHeadV1) AddScaleHandler(h ZwlrOutputHeadV1ScaleHandler)

AddScaleHandler adds the Scale handler

func (*ZwlrOutputHeadV1) AddSerialNumberHandler

func (p *ZwlrOutputHeadV1) AddSerialNumberHandler(h ZwlrOutputHeadV1SerialNumberHandler)

AddSerialNumberHandler adds the SerialNumber handler

func (*ZwlrOutputHeadV1) AddTransformHandler

func (p *ZwlrOutputHeadV1) AddTransformHandler(h ZwlrOutputHeadV1TransformHandler)

AddTransformHandler adds the Transform handler

func (*ZwlrOutputHeadV1) Dispatch

func (p *ZwlrOutputHeadV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrOutputHeadV1

func (*ZwlrOutputHeadV1) Release

func (p *ZwlrOutputHeadV1) Release() error

Release destroy the head object

func (*ZwlrOutputHeadV1) RemoveAdaptiveSyncHandler

func (p *ZwlrOutputHeadV1) RemoveAdaptiveSyncHandler(h ZwlrOutputHeadV1AdaptiveSyncHandler)

RemoveAdaptiveSyncHandler removes the AdaptiveSync handler

func (*ZwlrOutputHeadV1) RemoveCurrentModeHandler

func (p *ZwlrOutputHeadV1) RemoveCurrentModeHandler(h ZwlrOutputHeadV1CurrentModeHandler)

RemoveCurrentModeHandler removes the CurrentMode handler

func (*ZwlrOutputHeadV1) RemoveDescriptionHandler

func (p *ZwlrOutputHeadV1) RemoveDescriptionHandler(h ZwlrOutputHeadV1DescriptionHandler)

RemoveDescriptionHandler removes the Description handler

func (*ZwlrOutputHeadV1) RemoveEnabledHandler

func (p *ZwlrOutputHeadV1) RemoveEnabledHandler(h ZwlrOutputHeadV1EnabledHandler)

RemoveEnabledHandler removes the Enabled handler

func (*ZwlrOutputHeadV1) RemoveFinishedHandler

func (p *ZwlrOutputHeadV1) RemoveFinishedHandler(h ZwlrOutputHeadV1FinishedHandler)

RemoveFinishedHandler removes the Finished handler

func (*ZwlrOutputHeadV1) RemoveMakeHandler

func (p *ZwlrOutputHeadV1) RemoveMakeHandler(h ZwlrOutputHeadV1MakeHandler)

RemoveMakeHandler removes the Make handler

func (*ZwlrOutputHeadV1) RemoveModeHandler

func (p *ZwlrOutputHeadV1) RemoveModeHandler(h ZwlrOutputHeadV1ModeHandler)

RemoveModeHandler removes the Mode handler

func (*ZwlrOutputHeadV1) RemoveModelHandler

func (p *ZwlrOutputHeadV1) RemoveModelHandler(h ZwlrOutputHeadV1ModelHandler)

RemoveModelHandler removes the Model handler

func (*ZwlrOutputHeadV1) RemoveNameHandler

func (p *ZwlrOutputHeadV1) RemoveNameHandler(h ZwlrOutputHeadV1NameHandler)

RemoveNameHandler removes the Name handler

func (*ZwlrOutputHeadV1) RemovePhysicalSizeHandler

func (p *ZwlrOutputHeadV1) RemovePhysicalSizeHandler(h ZwlrOutputHeadV1PhysicalSizeHandler)

RemovePhysicalSizeHandler removes the PhysicalSize handler

func (*ZwlrOutputHeadV1) RemovePositionHandler

func (p *ZwlrOutputHeadV1) RemovePositionHandler(h ZwlrOutputHeadV1PositionHandler)

RemovePositionHandler removes the Position handler

func (*ZwlrOutputHeadV1) RemoveScaleHandler

func (p *ZwlrOutputHeadV1) RemoveScaleHandler(h ZwlrOutputHeadV1ScaleHandler)

RemoveScaleHandler removes the Scale handler

func (*ZwlrOutputHeadV1) RemoveSerialNumberHandler

func (p *ZwlrOutputHeadV1) RemoveSerialNumberHandler(h ZwlrOutputHeadV1SerialNumberHandler)

RemoveSerialNumberHandler removes the SerialNumber handler

func (*ZwlrOutputHeadV1) RemoveTransformHandler

func (p *ZwlrOutputHeadV1) RemoveTransformHandler(h ZwlrOutputHeadV1TransformHandler)

RemoveTransformHandler removes the Transform handler

type ZwlrOutputHeadV1AdaptiveSyncEvent

type ZwlrOutputHeadV1AdaptiveSyncEvent struct {
	// State is the
	State uint32
}

ZwlrOutputHeadV1AdaptiveSyncEvent is the current adaptive sync state

type ZwlrOutputHeadV1AdaptiveSyncHandler

type ZwlrOutputHeadV1AdaptiveSyncHandler interface {
	HandleZwlrOutputHeadV1AdaptiveSync(ZwlrOutputHeadV1AdaptiveSyncEvent)
}

ZwlrOutputHeadV1AdaptiveSyncHandler is the handler interface for ZwlrOutputHeadV1AdaptiveSyncEvent

type ZwlrOutputHeadV1CurrentModeEvent

type ZwlrOutputHeadV1CurrentModeEvent struct {
	// Mode is the
	Mode *ZwlrOutputModeV1
}

ZwlrOutputHeadV1CurrentModeEvent is the current mode

type ZwlrOutputHeadV1CurrentModeHandler

type ZwlrOutputHeadV1CurrentModeHandler interface {
	HandleZwlrOutputHeadV1CurrentMode(ZwlrOutputHeadV1CurrentModeEvent)
}

ZwlrOutputHeadV1CurrentModeHandler is the handler interface for ZwlrOutputHeadV1CurrentModeEvent

type ZwlrOutputHeadV1DescriptionEvent

type ZwlrOutputHeadV1DescriptionEvent struct {
	// Description is the
	Description string
}

ZwlrOutputHeadV1DescriptionEvent is the head description

type ZwlrOutputHeadV1DescriptionHandler

type ZwlrOutputHeadV1DescriptionHandler interface {
	HandleZwlrOutputHeadV1Description(ZwlrOutputHeadV1DescriptionEvent)
}

ZwlrOutputHeadV1DescriptionHandler is the handler interface for ZwlrOutputHeadV1DescriptionEvent

type ZwlrOutputHeadV1EnabledEvent

type ZwlrOutputHeadV1EnabledEvent struct {
	// Enabled is the zero if disabled, non-zero if enabled
	Enabled int32
}

ZwlrOutputHeadV1EnabledEvent is the head is enabled or disabled

type ZwlrOutputHeadV1EnabledHandler

type ZwlrOutputHeadV1EnabledHandler interface {
	HandleZwlrOutputHeadV1Enabled(ZwlrOutputHeadV1EnabledEvent)
}

ZwlrOutputHeadV1EnabledHandler is the handler interface for ZwlrOutputHeadV1EnabledEvent

type ZwlrOutputHeadV1FinishedEvent

type ZwlrOutputHeadV1FinishedEvent struct {
}

ZwlrOutputHeadV1FinishedEvent is the the head has disappeared

type ZwlrOutputHeadV1FinishedHandler

type ZwlrOutputHeadV1FinishedHandler interface {
	HandleZwlrOutputHeadV1Finished(ZwlrOutputHeadV1FinishedEvent)
}

ZwlrOutputHeadV1FinishedHandler is the handler interface for ZwlrOutputHeadV1FinishedEvent

type ZwlrOutputHeadV1MakeEvent

type ZwlrOutputHeadV1MakeEvent struct {
	// Make is the
	Make string
}

ZwlrOutputHeadV1MakeEvent is the head manufacturer

type ZwlrOutputHeadV1MakeHandler

type ZwlrOutputHeadV1MakeHandler interface {
	HandleZwlrOutputHeadV1Make(ZwlrOutputHeadV1MakeEvent)
}

ZwlrOutputHeadV1MakeHandler is the handler interface for ZwlrOutputHeadV1MakeEvent

type ZwlrOutputHeadV1ModeEvent

type ZwlrOutputHeadV1ModeEvent struct {
	// Mode is the
	Mode *ZwlrOutputModeV1
}

ZwlrOutputHeadV1ModeEvent is the introduce a mode

type ZwlrOutputHeadV1ModeHandler

type ZwlrOutputHeadV1ModeHandler interface {
	HandleZwlrOutputHeadV1Mode(ZwlrOutputHeadV1ModeEvent)
}

ZwlrOutputHeadV1ModeHandler is the handler interface for ZwlrOutputHeadV1ModeEvent

type ZwlrOutputHeadV1ModelEvent

type ZwlrOutputHeadV1ModelEvent struct {
	// Model is the
	Model string
}

ZwlrOutputHeadV1ModelEvent is the head model

type ZwlrOutputHeadV1ModelHandler

type ZwlrOutputHeadV1ModelHandler interface {
	HandleZwlrOutputHeadV1Model(ZwlrOutputHeadV1ModelEvent)
}

ZwlrOutputHeadV1ModelHandler is the handler interface for ZwlrOutputHeadV1ModelEvent

type ZwlrOutputHeadV1NameEvent

type ZwlrOutputHeadV1NameEvent struct {
	// Name is the
	Name string
}

ZwlrOutputHeadV1NameEvent is the head name

type ZwlrOutputHeadV1NameHandler

type ZwlrOutputHeadV1NameHandler interface {
	HandleZwlrOutputHeadV1Name(ZwlrOutputHeadV1NameEvent)
}

ZwlrOutputHeadV1NameHandler is the handler interface for ZwlrOutputHeadV1NameEvent

type ZwlrOutputHeadV1PhysicalSizeEvent

type ZwlrOutputHeadV1PhysicalSizeEvent struct {
	// Width is the width in millimeters of the output
	Width int32
	// Height is the height in millimeters of the output
	Height int32
}

ZwlrOutputHeadV1PhysicalSizeEvent is the head physical size

type ZwlrOutputHeadV1PhysicalSizeHandler

type ZwlrOutputHeadV1PhysicalSizeHandler interface {
	HandleZwlrOutputHeadV1PhysicalSize(ZwlrOutputHeadV1PhysicalSizeEvent)
}

ZwlrOutputHeadV1PhysicalSizeHandler is the handler interface for ZwlrOutputHeadV1PhysicalSizeEvent

type ZwlrOutputHeadV1PositionEvent

type ZwlrOutputHeadV1PositionEvent struct {
	// X is the x position within the global compositor space
	X int32
	// Y is the y position within the global compositor space
	Y int32
}

ZwlrOutputHeadV1PositionEvent is the current position

type ZwlrOutputHeadV1PositionHandler

type ZwlrOutputHeadV1PositionHandler interface {
	HandleZwlrOutputHeadV1Position(ZwlrOutputHeadV1PositionEvent)
}

ZwlrOutputHeadV1PositionHandler is the handler interface for ZwlrOutputHeadV1PositionEvent

type ZwlrOutputHeadV1ScaleEvent

type ZwlrOutputHeadV1ScaleEvent struct {
	// Scale is the
	Scale float32
}

ZwlrOutputHeadV1ScaleEvent is the current scale

type ZwlrOutputHeadV1ScaleHandler

type ZwlrOutputHeadV1ScaleHandler interface {
	HandleZwlrOutputHeadV1Scale(ZwlrOutputHeadV1ScaleEvent)
}

ZwlrOutputHeadV1ScaleHandler is the handler interface for ZwlrOutputHeadV1ScaleEvent

type ZwlrOutputHeadV1SerialNumberEvent

type ZwlrOutputHeadV1SerialNumberEvent struct {
	// SerialNumber is the
	SerialNumber string
}

ZwlrOutputHeadV1SerialNumberEvent is the head serial number

type ZwlrOutputHeadV1SerialNumberHandler

type ZwlrOutputHeadV1SerialNumberHandler interface {
	HandleZwlrOutputHeadV1SerialNumber(ZwlrOutputHeadV1SerialNumberEvent)
}

ZwlrOutputHeadV1SerialNumberHandler is the handler interface for ZwlrOutputHeadV1SerialNumberEvent

type ZwlrOutputHeadV1TransformEvent

type ZwlrOutputHeadV1TransformEvent struct {
	// Transform is the
	Transform int32
}

ZwlrOutputHeadV1TransformEvent is the current transformation

type ZwlrOutputHeadV1TransformHandler

type ZwlrOutputHeadV1TransformHandler interface {
	HandleZwlrOutputHeadV1Transform(ZwlrOutputHeadV1TransformEvent)
}

ZwlrOutputHeadV1TransformHandler is the handler interface for ZwlrOutputHeadV1TransformEvent

type ZwlrOutputManagerV1

type ZwlrOutputManagerV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwlrOutputManagerV1 output device configuration manager

func NewZwlrOutputManagerV1

func NewZwlrOutputManagerV1(ctx *Context) *ZwlrOutputManagerV1

NewZwlrOutputManagerV1 is a constructor for the ZwlrOutputManagerV1 object

func (*ZwlrOutputManagerV1) AddDoneHandler

AddDoneHandler adds the Done handler

func (*ZwlrOutputManagerV1) AddFinishedHandler

AddFinishedHandler adds the Finished handler

func (*ZwlrOutputManagerV1) AddHeadHandler

AddHeadHandler adds the Head handler

func (*ZwlrOutputManagerV1) CreateConfiguration

func (p *ZwlrOutputManagerV1) CreateConfiguration(Serial uint32) (*ZwlrOutputConfigurationV1, error)

CreateConfiguration create a new output configuration object

func (*ZwlrOutputManagerV1) Dispatch

func (p *ZwlrOutputManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrOutputManagerV1

func (*ZwlrOutputManagerV1) RemoveDoneHandler

func (p *ZwlrOutputManagerV1) RemoveDoneHandler(h ZwlrOutputManagerV1DoneHandler)

RemoveDoneHandler removes the Done handler

func (*ZwlrOutputManagerV1) RemoveFinishedHandler

func (p *ZwlrOutputManagerV1) RemoveFinishedHandler(h ZwlrOutputManagerV1FinishedHandler)

RemoveFinishedHandler removes the Finished handler

func (*ZwlrOutputManagerV1) RemoveHeadHandler

func (p *ZwlrOutputManagerV1) RemoveHeadHandler(h ZwlrOutputManagerV1HeadHandler)

RemoveHeadHandler removes the Head handler

func (*ZwlrOutputManagerV1) Stop

func (p *ZwlrOutputManagerV1) Stop() error

Stop stop sending events

type ZwlrOutputManagerV1DoneEvent

type ZwlrOutputManagerV1DoneEvent struct {
	// Serial is the current configuration serial
	Serial uint32
}

ZwlrOutputManagerV1DoneEvent is the sent all information about current configuration

type ZwlrOutputManagerV1DoneHandler

type ZwlrOutputManagerV1DoneHandler interface {
	HandleZwlrOutputManagerV1Done(ZwlrOutputManagerV1DoneEvent)
}

ZwlrOutputManagerV1DoneHandler is the handler interface for ZwlrOutputManagerV1DoneEvent

type ZwlrOutputManagerV1FinishedEvent

type ZwlrOutputManagerV1FinishedEvent struct {
}

ZwlrOutputManagerV1FinishedEvent is the the compositor has finished with the manager

type ZwlrOutputManagerV1FinishedHandler

type ZwlrOutputManagerV1FinishedHandler interface {
	HandleZwlrOutputManagerV1Finished(ZwlrOutputManagerV1FinishedEvent)
}

ZwlrOutputManagerV1FinishedHandler is the handler interface for ZwlrOutputManagerV1FinishedEvent

type ZwlrOutputManagerV1HeadEvent

type ZwlrOutputManagerV1HeadEvent struct {
	// Head is the
	Head *ZwlrOutputHeadV1
}

ZwlrOutputManagerV1HeadEvent is the introduce a new head

type ZwlrOutputManagerV1HeadHandler

type ZwlrOutputManagerV1HeadHandler interface {
	HandleZwlrOutputManagerV1Head(ZwlrOutputManagerV1HeadEvent)
}

ZwlrOutputManagerV1HeadHandler is the handler interface for ZwlrOutputManagerV1HeadEvent

type ZwlrOutputModeV1

type ZwlrOutputModeV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwlrOutputModeV1 output mode

func NewZwlrOutputModeV1

func NewZwlrOutputModeV1(ctx *Context) *ZwlrOutputModeV1

NewZwlrOutputModeV1 is a constructor for the ZwlrOutputModeV1 object

func (*ZwlrOutputModeV1) AddFinishedHandler

func (p *ZwlrOutputModeV1) AddFinishedHandler(h ZwlrOutputModeV1FinishedHandler)

AddFinishedHandler adds the Finished handler

func (*ZwlrOutputModeV1) AddPreferredHandler

func (p *ZwlrOutputModeV1) AddPreferredHandler(h ZwlrOutputModeV1PreferredHandler)

AddPreferredHandler adds the Preferred handler

func (*ZwlrOutputModeV1) AddRefreshHandler

func (p *ZwlrOutputModeV1) AddRefreshHandler(h ZwlrOutputModeV1RefreshHandler)

AddRefreshHandler adds the Refresh handler

func (*ZwlrOutputModeV1) AddSizeHandler

func (p *ZwlrOutputModeV1) AddSizeHandler(h ZwlrOutputModeV1SizeHandler)

AddSizeHandler adds the Size handler

func (*ZwlrOutputModeV1) Dispatch

func (p *ZwlrOutputModeV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrOutputModeV1

func (*ZwlrOutputModeV1) Release

func (p *ZwlrOutputModeV1) Release() error

Release destroy the mode object

func (*ZwlrOutputModeV1) RemoveFinishedHandler

func (p *ZwlrOutputModeV1) RemoveFinishedHandler(h ZwlrOutputModeV1FinishedHandler)

RemoveFinishedHandler removes the Finished handler

func (*ZwlrOutputModeV1) RemovePreferredHandler

func (p *ZwlrOutputModeV1) RemovePreferredHandler(h ZwlrOutputModeV1PreferredHandler)

RemovePreferredHandler removes the Preferred handler

func (*ZwlrOutputModeV1) RemoveRefreshHandler

func (p *ZwlrOutputModeV1) RemoveRefreshHandler(h ZwlrOutputModeV1RefreshHandler)

RemoveRefreshHandler removes the Refresh handler

func (*ZwlrOutputModeV1) RemoveSizeHandler

func (p *ZwlrOutputModeV1) RemoveSizeHandler(h ZwlrOutputModeV1SizeHandler)

RemoveSizeHandler removes the Size handler

type ZwlrOutputModeV1FinishedEvent

type ZwlrOutputModeV1FinishedEvent struct {
}

ZwlrOutputModeV1FinishedEvent is the the mode has disappeared

type ZwlrOutputModeV1FinishedHandler

type ZwlrOutputModeV1FinishedHandler interface {
	HandleZwlrOutputModeV1Finished(ZwlrOutputModeV1FinishedEvent)
}

ZwlrOutputModeV1FinishedHandler is the handler interface for ZwlrOutputModeV1FinishedEvent

type ZwlrOutputModeV1PreferredEvent

type ZwlrOutputModeV1PreferredEvent struct {
}

ZwlrOutputModeV1PreferredEvent is the mode is preferred

type ZwlrOutputModeV1PreferredHandler

type ZwlrOutputModeV1PreferredHandler interface {
	HandleZwlrOutputModeV1Preferred(ZwlrOutputModeV1PreferredEvent)
}

ZwlrOutputModeV1PreferredHandler is the handler interface for ZwlrOutputModeV1PreferredEvent

type ZwlrOutputModeV1RefreshEvent

type ZwlrOutputModeV1RefreshEvent struct {
	// Refresh is the vertical refresh rate in mHz
	Refresh int32
}

ZwlrOutputModeV1RefreshEvent is the mode refresh rate

type ZwlrOutputModeV1RefreshHandler

type ZwlrOutputModeV1RefreshHandler interface {
	HandleZwlrOutputModeV1Refresh(ZwlrOutputModeV1RefreshEvent)
}

ZwlrOutputModeV1RefreshHandler is the handler interface for ZwlrOutputModeV1RefreshEvent

type ZwlrOutputModeV1SizeEvent

type ZwlrOutputModeV1SizeEvent struct {
	// Width is the width of the mode in hardware units
	Width int32
	// Height is the height of the mode in hardware units
	Height int32
}

ZwlrOutputModeV1SizeEvent is the mode size

type ZwlrOutputModeV1SizeHandler

type ZwlrOutputModeV1SizeHandler interface {
	HandleZwlrOutputModeV1Size(ZwlrOutputModeV1SizeEvent)
}

ZwlrOutputModeV1SizeHandler is the handler interface for ZwlrOutputModeV1SizeEvent

type ZwlrOutputPowerManagerV1

type ZwlrOutputPowerManagerV1 struct {
	BaseProxy
}

ZwlrOutputPowerManagerV1 manager to create per-output power management

func NewZwlrOutputPowerManagerV1

func NewZwlrOutputPowerManagerV1(ctx *Context) *ZwlrOutputPowerManagerV1

NewZwlrOutputPowerManagerV1 is a constructor for the ZwlrOutputPowerManagerV1 object

func (*ZwlrOutputPowerManagerV1) Destroy

func (p *ZwlrOutputPowerManagerV1) Destroy() error

Destroy destroy the manager

func (*ZwlrOutputPowerManagerV1) Dispatch

func (p *ZwlrOutputPowerManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrOutputPowerManagerV1

func (*ZwlrOutputPowerManagerV1) GetOutputPower

func (p *ZwlrOutputPowerManagerV1) GetOutputPower(Output *Output) (*ZwlrOutputPowerV1, error)

GetOutputPower get a power management for an output

type ZwlrOutputPowerV1

type ZwlrOutputPowerV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwlrOutputPowerV1 adjust power management mode for an output

func NewZwlrOutputPowerV1

func NewZwlrOutputPowerV1(ctx *Context) *ZwlrOutputPowerV1

NewZwlrOutputPowerV1 is a constructor for the ZwlrOutputPowerV1 object

func (*ZwlrOutputPowerV1) AddFailedHandler

func (p *ZwlrOutputPowerV1) AddFailedHandler(h ZwlrOutputPowerV1FailedHandler)

AddFailedHandler adds the Failed handler

func (*ZwlrOutputPowerV1) AddModeHandler

func (p *ZwlrOutputPowerV1) AddModeHandler(h ZwlrOutputPowerV1ModeHandler)

AddModeHandler adds the Mode handler

func (*ZwlrOutputPowerV1) Destroy

func (p *ZwlrOutputPowerV1) Destroy() error

Destroy destroy this power management

func (*ZwlrOutputPowerV1) Dispatch

func (p *ZwlrOutputPowerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrOutputPowerV1

func (*ZwlrOutputPowerV1) RemoveFailedHandler

func (p *ZwlrOutputPowerV1) RemoveFailedHandler(h ZwlrOutputPowerV1FailedHandler)

RemoveFailedHandler removes the Failed handler

func (*ZwlrOutputPowerV1) RemoveModeHandler

func (p *ZwlrOutputPowerV1) RemoveModeHandler(h ZwlrOutputPowerV1ModeHandler)

RemoveModeHandler removes the Mode handler

func (*ZwlrOutputPowerV1) SetMode

func (p *ZwlrOutputPowerV1) SetMode(Mode uint32) error

SetMode Set an outputs power save mode

type ZwlrOutputPowerV1FailedEvent

type ZwlrOutputPowerV1FailedEvent struct {
}

ZwlrOutputPowerV1FailedEvent is the object no longer valid

type ZwlrOutputPowerV1FailedHandler

type ZwlrOutputPowerV1FailedHandler interface {
	HandleZwlrOutputPowerV1Failed(ZwlrOutputPowerV1FailedEvent)
}

ZwlrOutputPowerV1FailedHandler is the handler interface for ZwlrOutputPowerV1FailedEvent

type ZwlrOutputPowerV1ModeEvent

type ZwlrOutputPowerV1ModeEvent struct {
	// Mode is the the output's new power management mode
	Mode uint32
}

ZwlrOutputPowerV1ModeEvent is the Report a power management mode change

type ZwlrOutputPowerV1ModeHandler

type ZwlrOutputPowerV1ModeHandler interface {
	HandleZwlrOutputPowerV1Mode(ZwlrOutputPowerV1ModeEvent)
}

ZwlrOutputPowerV1ModeHandler is the handler interface for ZwlrOutputPowerV1ModeEvent

type ZwlrScreencopyFrameV1

type ZwlrScreencopyFrameV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwlrScreencopyFrameV1 a frame ready for copy

func NewZwlrScreencopyFrameV1

func NewZwlrScreencopyFrameV1(ctx *Context) *ZwlrScreencopyFrameV1

NewZwlrScreencopyFrameV1 is a constructor for the ZwlrScreencopyFrameV1 object

func (*ZwlrScreencopyFrameV1) AddBufferDoneHandler

AddBufferDoneHandler adds the BufferDone handler

func (*ZwlrScreencopyFrameV1) AddBufferHandler

AddBufferHandler adds the Buffer handler

func (*ZwlrScreencopyFrameV1) AddDamageHandler

AddDamageHandler adds the Damage handler

func (*ZwlrScreencopyFrameV1) AddFailedHandler

AddFailedHandler adds the Failed handler

func (*ZwlrScreencopyFrameV1) AddFlagsHandler

AddFlagsHandler adds the Flags handler

func (*ZwlrScreencopyFrameV1) AddLinuxDmabufHandler

AddLinuxDmabufHandler adds the LinuxDmabuf handler

func (*ZwlrScreencopyFrameV1) AddReadyHandler

AddReadyHandler adds the Ready handler

func (*ZwlrScreencopyFrameV1) Copy

func (p *ZwlrScreencopyFrameV1) Copy(Buffer *Buffer) error

Copy copy the frame

func (*ZwlrScreencopyFrameV1) CopyWithDamage

func (p *ZwlrScreencopyFrameV1) CopyWithDamage(Buffer *Buffer) error

CopyWithDamage copy the frame when it's damaged

func (*ZwlrScreencopyFrameV1) Destroy

func (p *ZwlrScreencopyFrameV1) Destroy() error

Destroy delete this object, used or not

func (*ZwlrScreencopyFrameV1) Dispatch

func (p *ZwlrScreencopyFrameV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrScreencopyFrameV1

func (*ZwlrScreencopyFrameV1) RemoveBufferDoneHandler

func (p *ZwlrScreencopyFrameV1) RemoveBufferDoneHandler(h ZwlrScreencopyFrameV1BufferDoneHandler)

RemoveBufferDoneHandler removes the BufferDone handler

func (*ZwlrScreencopyFrameV1) RemoveBufferHandler

RemoveBufferHandler removes the Buffer handler

func (*ZwlrScreencopyFrameV1) RemoveDamageHandler

RemoveDamageHandler removes the Damage handler

func (*ZwlrScreencopyFrameV1) RemoveFailedHandler

RemoveFailedHandler removes the Failed handler

func (*ZwlrScreencopyFrameV1) RemoveFlagsHandler

RemoveFlagsHandler removes the Flags handler

func (*ZwlrScreencopyFrameV1) RemoveLinuxDmabufHandler

func (p *ZwlrScreencopyFrameV1) RemoveLinuxDmabufHandler(h ZwlrScreencopyFrameV1LinuxDmabufHandler)

RemoveLinuxDmabufHandler removes the LinuxDmabuf handler

func (*ZwlrScreencopyFrameV1) RemoveReadyHandler

RemoveReadyHandler removes the Ready handler

type ZwlrScreencopyFrameV1BufferDoneEvent

type ZwlrScreencopyFrameV1BufferDoneEvent struct {
}

ZwlrScreencopyFrameV1BufferDoneEvent is the all buffer types reported

type ZwlrScreencopyFrameV1BufferDoneHandler

type ZwlrScreencopyFrameV1BufferDoneHandler interface {
	HandleZwlrScreencopyFrameV1BufferDone(ZwlrScreencopyFrameV1BufferDoneEvent)
}

ZwlrScreencopyFrameV1BufferDoneHandler is the handler interface for ZwlrScreencopyFrameV1BufferDoneEvent

type ZwlrScreencopyFrameV1BufferEvent

type ZwlrScreencopyFrameV1BufferEvent struct {
	// Format is the buffer format
	Format uint32
	// Width is the buffer width
	Width uint32
	// Height is the buffer height
	Height uint32
	// Stride is the buffer stride
	Stride uint32
}

ZwlrScreencopyFrameV1BufferEvent is the wl_shm buffer information

type ZwlrScreencopyFrameV1BufferHandler

type ZwlrScreencopyFrameV1BufferHandler interface {
	HandleZwlrScreencopyFrameV1Buffer(ZwlrScreencopyFrameV1BufferEvent)
}

ZwlrScreencopyFrameV1BufferHandler is the handler interface for ZwlrScreencopyFrameV1BufferEvent

type ZwlrScreencopyFrameV1DamageEvent

type ZwlrScreencopyFrameV1DamageEvent struct {
	// X is the damaged x coordinates
	X uint32
	// Y is the damaged y coordinates
	Y uint32
	// Width is the current width
	Width uint32
	// Height is the current height
	Height uint32
}

ZwlrScreencopyFrameV1DamageEvent is the carries the coordinates of the damaged region

type ZwlrScreencopyFrameV1DamageHandler

type ZwlrScreencopyFrameV1DamageHandler interface {
	HandleZwlrScreencopyFrameV1Damage(ZwlrScreencopyFrameV1DamageEvent)
}

ZwlrScreencopyFrameV1DamageHandler is the handler interface for ZwlrScreencopyFrameV1DamageEvent

type ZwlrScreencopyFrameV1FailedEvent

type ZwlrScreencopyFrameV1FailedEvent struct {
}

ZwlrScreencopyFrameV1FailedEvent is the frame copy failed

type ZwlrScreencopyFrameV1FailedHandler

type ZwlrScreencopyFrameV1FailedHandler interface {
	HandleZwlrScreencopyFrameV1Failed(ZwlrScreencopyFrameV1FailedEvent)
}

ZwlrScreencopyFrameV1FailedHandler is the handler interface for ZwlrScreencopyFrameV1FailedEvent

type ZwlrScreencopyFrameV1FlagsEvent

type ZwlrScreencopyFrameV1FlagsEvent struct {
	// Flags is the frame flags
	Flags uint32
}

ZwlrScreencopyFrameV1FlagsEvent is the frame flags

type ZwlrScreencopyFrameV1FlagsHandler

type ZwlrScreencopyFrameV1FlagsHandler interface {
	HandleZwlrScreencopyFrameV1Flags(ZwlrScreencopyFrameV1FlagsEvent)
}

ZwlrScreencopyFrameV1FlagsHandler is the handler interface for ZwlrScreencopyFrameV1FlagsEvent

type ZwlrScreencopyFrameV1LinuxDmabufEvent

type ZwlrScreencopyFrameV1LinuxDmabufEvent struct {
	// Format is the fourcc pixel format
	Format uint32
	// Width is the buffer width
	Width uint32
	// Height is the buffer height
	Height uint32
}

ZwlrScreencopyFrameV1LinuxDmabufEvent is the linux-dmabuf buffer information

type ZwlrScreencopyFrameV1LinuxDmabufHandler

type ZwlrScreencopyFrameV1LinuxDmabufHandler interface {
	HandleZwlrScreencopyFrameV1LinuxDmabuf(ZwlrScreencopyFrameV1LinuxDmabufEvent)
}

ZwlrScreencopyFrameV1LinuxDmabufHandler is the handler interface for ZwlrScreencopyFrameV1LinuxDmabufEvent

type ZwlrScreencopyFrameV1ReadyEvent

type ZwlrScreencopyFrameV1ReadyEvent struct {
	// TvSecHi is the high 32 bits of the seconds part of the timestamp
	TvSecHi uint32
	// TvSecLo is the low 32 bits of the seconds part of the timestamp
	TvSecLo uint32
	// TvNsec is the nanoseconds part of the timestamp
	TvNsec uint32
}

ZwlrScreencopyFrameV1ReadyEvent is the indicates frame is available for reading

type ZwlrScreencopyFrameV1ReadyHandler

type ZwlrScreencopyFrameV1ReadyHandler interface {
	HandleZwlrScreencopyFrameV1Ready(ZwlrScreencopyFrameV1ReadyEvent)
}

ZwlrScreencopyFrameV1ReadyHandler is the handler interface for ZwlrScreencopyFrameV1ReadyEvent

type ZwlrScreencopyManagerV1

type ZwlrScreencopyManagerV1 struct {
	BaseProxy
}

ZwlrScreencopyManagerV1 manager to inform clients and begin capturing

func NewZwlrScreencopyManagerV1

func NewZwlrScreencopyManagerV1(ctx *Context) *ZwlrScreencopyManagerV1

NewZwlrScreencopyManagerV1 is a constructor for the ZwlrScreencopyManagerV1 object

func (*ZwlrScreencopyManagerV1) CaptureOutput

func (p *ZwlrScreencopyManagerV1) CaptureOutput(OverlayCursor int32, Output *Output) (*ZwlrScreencopyFrameV1, error)

CaptureOutput capture an output

func (*ZwlrScreencopyManagerV1) CaptureOutputRegion

func (p *ZwlrScreencopyManagerV1) CaptureOutputRegion(OverlayCursor int32, Output *Output, X int32, Y int32, Width int32, Height int32) (*ZwlrScreencopyFrameV1, error)

CaptureOutputRegion capture an output's region

func (*ZwlrScreencopyManagerV1) Destroy

func (p *ZwlrScreencopyManagerV1) Destroy() error

Destroy destroy the manager

func (*ZwlrScreencopyManagerV1) Dispatch

func (p *ZwlrScreencopyManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrScreencopyManagerV1

type ZwlrVirtualPointerManagerV1

type ZwlrVirtualPointerManagerV1 struct {
	BaseProxy
}

ZwlrVirtualPointerManagerV1 virtual pointer manager

func NewZwlrVirtualPointerManagerV1

func NewZwlrVirtualPointerManagerV1(ctx *Context) *ZwlrVirtualPointerManagerV1

NewZwlrVirtualPointerManagerV1 is a constructor for the ZwlrVirtualPointerManagerV1 object

func (*ZwlrVirtualPointerManagerV1) CreateVirtualPointer

func (p *ZwlrVirtualPointerManagerV1) CreateVirtualPointer(Seat *Seat) (*ZwlrVirtualPointerV1, error)

CreateVirtualPointer Create a new virtual pointer

func (*ZwlrVirtualPointerManagerV1) CreateVirtualPointerWithOutput

func (p *ZwlrVirtualPointerManagerV1) CreateVirtualPointerWithOutput(Seat *Seat, Output *Output) (*ZwlrVirtualPointerV1, error)

CreateVirtualPointerWithOutput Create a new virtual pointer

func (*ZwlrVirtualPointerManagerV1) Destroy

func (p *ZwlrVirtualPointerManagerV1) Destroy() error

Destroy destroy the virtual pointer manager

func (*ZwlrVirtualPointerManagerV1) Dispatch

func (p *ZwlrVirtualPointerManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrVirtualPointerManagerV1

type ZwlrVirtualPointerV1

type ZwlrVirtualPointerV1 struct {
	BaseProxy
}

ZwlrVirtualPointerV1 virtual pointer

func NewZwlrVirtualPointerV1

func NewZwlrVirtualPointerV1(ctx *Context) *ZwlrVirtualPointerV1

NewZwlrVirtualPointerV1 is a constructor for the ZwlrVirtualPointerV1 object

func (*ZwlrVirtualPointerV1) Axis

func (p *ZwlrVirtualPointerV1) Axis(Time uint32, Axis uint32, Value float32) error

Axis axis event

func (*ZwlrVirtualPointerV1) AxisDiscrete

func (p *ZwlrVirtualPointerV1) AxisDiscrete(Time uint32, Axis uint32, Value float32, Discrete int32) error

AxisDiscrete axis click event

func (*ZwlrVirtualPointerV1) AxisSource

func (p *ZwlrVirtualPointerV1) AxisSource(AxisSource uint32) error

AxisSource axis source event

func (*ZwlrVirtualPointerV1) AxisStop

func (p *ZwlrVirtualPointerV1) AxisStop(Time uint32, Axis uint32) error

AxisStop axis stop event

func (*ZwlrVirtualPointerV1) Button

func (p *ZwlrVirtualPointerV1) Button(Time uint32, Button uint32, State uint32) error

Button button event

func (*ZwlrVirtualPointerV1) Destroy

func (p *ZwlrVirtualPointerV1) Destroy() error

Destroy destroy the virtual pointer object

func (*ZwlrVirtualPointerV1) Dispatch

func (p *ZwlrVirtualPointerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwlrVirtualPointerV1

func (*ZwlrVirtualPointerV1) Frame

func (p *ZwlrVirtualPointerV1) Frame() error

Frame end of a pointer event sequence

func (*ZwlrVirtualPointerV1) Motion

func (p *ZwlrVirtualPointerV1) Motion(Time uint32, Dx float32, Dy float32) error

Motion pointer relative motion event

func (*ZwlrVirtualPointerV1) MotionAbsolute

func (p *ZwlrVirtualPointerV1) MotionAbsolute(Time uint32, X uint32, Y uint32, XExtent uint32, YExtent uint32) error

MotionAbsolute pointer absolute motion event

type ZwpBufferParamsV1

type ZwpBufferParamsV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpBufferParamsV1 parameters for creating a dmabuf-based wl_buffer

func NewZwpBufferParamsV1

func NewZwpBufferParamsV1(ctx *Context) *ZwpBufferParamsV1

NewZwpBufferParamsV1 is a constructor for the ZwpBufferParamsV1 object

func (*ZwpBufferParamsV1) Add

func (p *ZwpBufferParamsV1) Add(Fd uintptr, PlaneIdx uint32, Offset uint32, Stride uint32, ModifierHi uint32, ModifierLo uint32) error

Add add a dmabuf to the temporary set

func (*ZwpBufferParamsV1) AddCreatedHandler

func (p *ZwpBufferParamsV1) AddCreatedHandler(h ZwpBufferParamsV1CreatedHandler)

AddCreatedHandler adds the Created handler

func (*ZwpBufferParamsV1) AddFailedHandler

func (p *ZwpBufferParamsV1) AddFailedHandler(h ZwpBufferParamsV1FailedHandler)

AddFailedHandler adds the Failed handler

func (*ZwpBufferParamsV1) Create

func (p *ZwpBufferParamsV1) Create(Width int32, Height int32, Format uint32, Flags uint32) error

Create create a wl_buffer from the given dmabufs

func (*ZwpBufferParamsV1) CreateImmed

func (p *ZwpBufferParamsV1) CreateImmed(Width int32, Height int32, Format uint32, Flags uint32) (*Buffer, error)

CreateImmed immediately create a wl_buffer from the given dmabufs

func (*ZwpBufferParamsV1) Destroy

func (p *ZwpBufferParamsV1) Destroy() error

Destroy delete this object, used or not

func (*ZwpBufferParamsV1) Dispatch

func (p *ZwpBufferParamsV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpBufferParamsV1

func (*ZwpBufferParamsV1) RemoveCreatedHandler

func (p *ZwpBufferParamsV1) RemoveCreatedHandler(h ZwpBufferParamsV1CreatedHandler)

RemoveCreatedHandler removes the Created handler

func (*ZwpBufferParamsV1) RemoveFailedHandler

func (p *ZwpBufferParamsV1) RemoveFailedHandler(h ZwpBufferParamsV1FailedHandler)

RemoveFailedHandler removes the Failed handler

func (*ZwpBufferParamsV1) SetSamplingDevice

func (p *ZwpBufferParamsV1) SetSamplingDevice(Device []int32) error

SetSamplingDevice set the target device of the wl_buffer

type ZwpBufferParamsV1CreatedEvent

type ZwpBufferParamsV1CreatedEvent struct {
	// Buffer is the id for the the newly created wl_buffer
	Buffer *Buffer
}

ZwpBufferParamsV1CreatedEvent is the buffer creation succeeded

type ZwpBufferParamsV1CreatedHandler

type ZwpBufferParamsV1CreatedHandler interface {
	HandleZwpBufferParamsV1Created(ZwpBufferParamsV1CreatedEvent)
}

ZwpBufferParamsV1CreatedHandler is the handler interface for ZwpBufferParamsV1CreatedEvent

type ZwpBufferParamsV1FailedEvent

type ZwpBufferParamsV1FailedEvent struct {
}

ZwpBufferParamsV1FailedEvent is the buffer creation failed

type ZwpBufferParamsV1FailedHandler

type ZwpBufferParamsV1FailedHandler interface {
	HandleZwpBufferParamsV1Failed(ZwpBufferParamsV1FailedEvent)
}

ZwpBufferParamsV1FailedHandler is the handler interface for ZwpBufferParamsV1FailedEvent

type ZwpConfinedPointerV1

type ZwpConfinedPointerV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpConfinedPointerV1 confined pointer object

func NewZwpConfinedPointerV1

func NewZwpConfinedPointerV1(ctx *Context) *ZwpConfinedPointerV1

NewZwpConfinedPointerV1 is a constructor for the ZwpConfinedPointerV1 object

func (*ZwpConfinedPointerV1) AddConfinedHandler

AddConfinedHandler adds the Confined handler

func (*ZwpConfinedPointerV1) AddUnconfinedHandler

AddUnconfinedHandler adds the Unconfined handler

func (*ZwpConfinedPointerV1) Destroy

func (p *ZwpConfinedPointerV1) Destroy() error

Destroy destroy the confined pointer object

func (*ZwpConfinedPointerV1) Dispatch

func (p *ZwpConfinedPointerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpConfinedPointerV1

func (*ZwpConfinedPointerV1) RemoveConfinedHandler

func (p *ZwpConfinedPointerV1) RemoveConfinedHandler(h ZwpConfinedPointerV1ConfinedHandler)

RemoveConfinedHandler removes the Confined handler

func (*ZwpConfinedPointerV1) RemoveUnconfinedHandler

func (p *ZwpConfinedPointerV1) RemoveUnconfinedHandler(h ZwpConfinedPointerV1UnconfinedHandler)

RemoveUnconfinedHandler removes the Unconfined handler

func (*ZwpConfinedPointerV1) SetRegion

func (p *ZwpConfinedPointerV1) SetRegion(Region *Region) error

SetRegion set a new confine region

type ZwpConfinedPointerV1ConfinedEvent

type ZwpConfinedPointerV1ConfinedEvent struct {
}

ZwpConfinedPointerV1ConfinedEvent is the pointer confined

type ZwpConfinedPointerV1ConfinedHandler

type ZwpConfinedPointerV1ConfinedHandler interface {
	HandleZwpConfinedPointerV1Confined(ZwpConfinedPointerV1ConfinedEvent)
}

ZwpConfinedPointerV1ConfinedHandler is the handler interface for ZwpConfinedPointerV1ConfinedEvent

type ZwpConfinedPointerV1UnconfinedEvent

type ZwpConfinedPointerV1UnconfinedEvent struct {
}

ZwpConfinedPointerV1UnconfinedEvent is the pointer unconfined

type ZwpConfinedPointerV1UnconfinedHandler

type ZwpConfinedPointerV1UnconfinedHandler interface {
	HandleZwpConfinedPointerV1Unconfined(ZwpConfinedPointerV1UnconfinedEvent)
}

ZwpConfinedPointerV1UnconfinedHandler is the handler interface for ZwpConfinedPointerV1UnconfinedEvent

type ZwpDmabufFeedbackV1

type ZwpDmabufFeedbackV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpDmabufFeedbackV1 dmabuf feedback

func NewZwpDmabufFeedbackV1

func NewZwpDmabufFeedbackV1(ctx *Context) *ZwpDmabufFeedbackV1

NewZwpDmabufFeedbackV1 is a constructor for the ZwpDmabufFeedbackV1 object

func (*ZwpDmabufFeedbackV1) AddDoneHandler

AddDoneHandler adds the Done handler

func (*ZwpDmabufFeedbackV1) AddFormatTableHandler

func (p *ZwpDmabufFeedbackV1) AddFormatTableHandler(h ZwpDmabufFeedbackV1FormatTableHandler)

AddFormatTableHandler adds the FormatTable handler

func (*ZwpDmabufFeedbackV1) AddMainDeviceHandler

func (p *ZwpDmabufFeedbackV1) AddMainDeviceHandler(h ZwpDmabufFeedbackV1MainDeviceHandler)

AddMainDeviceHandler adds the MainDevice handler

func (*ZwpDmabufFeedbackV1) AddTrancheDoneHandler

func (p *ZwpDmabufFeedbackV1) AddTrancheDoneHandler(h ZwpDmabufFeedbackV1TrancheDoneHandler)

AddTrancheDoneHandler adds the TrancheDone handler

func (*ZwpDmabufFeedbackV1) AddTrancheFlagsHandler

func (p *ZwpDmabufFeedbackV1) AddTrancheFlagsHandler(h ZwpDmabufFeedbackV1TrancheFlagsHandler)

AddTrancheFlagsHandler adds the TrancheFlags handler

func (*ZwpDmabufFeedbackV1) AddTrancheFormatsHandler

func (p *ZwpDmabufFeedbackV1) AddTrancheFormatsHandler(h ZwpDmabufFeedbackV1TrancheFormatsHandler)

AddTrancheFormatsHandler adds the TrancheFormats handler

func (*ZwpDmabufFeedbackV1) AddTrancheTargetDeviceHandler

func (p *ZwpDmabufFeedbackV1) AddTrancheTargetDeviceHandler(h ZwpDmabufFeedbackV1TrancheTargetDeviceHandler)

AddTrancheTargetDeviceHandler adds the TrancheTargetDevice handler

func (*ZwpDmabufFeedbackV1) Destroy

func (p *ZwpDmabufFeedbackV1) Destroy() error

Destroy destroy the feedback object

func (*ZwpDmabufFeedbackV1) Dispatch

func (p *ZwpDmabufFeedbackV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpDmabufFeedbackV1

func (*ZwpDmabufFeedbackV1) EventFDs

func (p *ZwpDmabufFeedbackV1) EventFDs(opcode uint32) int

EventFDs returns how many fds the event with opcode carries

func (*ZwpDmabufFeedbackV1) RemoveDoneHandler

func (p *ZwpDmabufFeedbackV1) RemoveDoneHandler(h ZwpDmabufFeedbackV1DoneHandler)

RemoveDoneHandler removes the Done handler

func (*ZwpDmabufFeedbackV1) RemoveFormatTableHandler

func (p *ZwpDmabufFeedbackV1) RemoveFormatTableHandler(h ZwpDmabufFeedbackV1FormatTableHandler)

RemoveFormatTableHandler removes the FormatTable handler

func (*ZwpDmabufFeedbackV1) RemoveMainDeviceHandler

func (p *ZwpDmabufFeedbackV1) RemoveMainDeviceHandler(h ZwpDmabufFeedbackV1MainDeviceHandler)

RemoveMainDeviceHandler removes the MainDevice handler

func (*ZwpDmabufFeedbackV1) RemoveTrancheDoneHandler

func (p *ZwpDmabufFeedbackV1) RemoveTrancheDoneHandler(h ZwpDmabufFeedbackV1TrancheDoneHandler)

RemoveTrancheDoneHandler removes the TrancheDone handler

func (*ZwpDmabufFeedbackV1) RemoveTrancheFlagsHandler

func (p *ZwpDmabufFeedbackV1) RemoveTrancheFlagsHandler(h ZwpDmabufFeedbackV1TrancheFlagsHandler)

RemoveTrancheFlagsHandler removes the TrancheFlags handler

func (*ZwpDmabufFeedbackV1) RemoveTrancheFormatsHandler

func (p *ZwpDmabufFeedbackV1) RemoveTrancheFormatsHandler(h ZwpDmabufFeedbackV1TrancheFormatsHandler)

RemoveTrancheFormatsHandler removes the TrancheFormats handler

func (*ZwpDmabufFeedbackV1) RemoveTrancheTargetDeviceHandler

func (p *ZwpDmabufFeedbackV1) RemoveTrancheTargetDeviceHandler(h ZwpDmabufFeedbackV1TrancheTargetDeviceHandler)

RemoveTrancheTargetDeviceHandler removes the TrancheTargetDevice handler

type ZwpDmabufFeedbackV1DoneEvent

type ZwpDmabufFeedbackV1DoneEvent struct {
}

ZwpDmabufFeedbackV1DoneEvent is the all feedback has been sent

type ZwpDmabufFeedbackV1DoneHandler

type ZwpDmabufFeedbackV1DoneHandler interface {
	HandleZwpDmabufFeedbackV1Done(ZwpDmabufFeedbackV1DoneEvent)
}

ZwpDmabufFeedbackV1DoneHandler is the handler interface for ZwpDmabufFeedbackV1DoneEvent

type ZwpDmabufFeedbackV1FormatTableEvent

type ZwpDmabufFeedbackV1FormatTableEvent struct {
	// Fd is the table file descriptor
	Fd uintptr
	// FdError is the table file descriptor (error)
	FdError error
	// Size is the table size, in bytes
	Size uint32
}

ZwpDmabufFeedbackV1FormatTableEvent is the format and modifier table

type ZwpDmabufFeedbackV1FormatTableHandler

type ZwpDmabufFeedbackV1FormatTableHandler interface {
	HandleZwpDmabufFeedbackV1FormatTable(ZwpDmabufFeedbackV1FormatTableEvent)
}

ZwpDmabufFeedbackV1FormatTableHandler is the handler interface for ZwpDmabufFeedbackV1FormatTableEvent

type ZwpDmabufFeedbackV1MainDeviceEvent

type ZwpDmabufFeedbackV1MainDeviceEvent struct {
	// Device is the device dev_t value
	Device []int32
}

ZwpDmabufFeedbackV1MainDeviceEvent is the preferred main device

type ZwpDmabufFeedbackV1MainDeviceHandler

type ZwpDmabufFeedbackV1MainDeviceHandler interface {
	HandleZwpDmabufFeedbackV1MainDevice(ZwpDmabufFeedbackV1MainDeviceEvent)
}

ZwpDmabufFeedbackV1MainDeviceHandler is the handler interface for ZwpDmabufFeedbackV1MainDeviceEvent

type ZwpDmabufFeedbackV1TrancheDoneEvent

type ZwpDmabufFeedbackV1TrancheDoneEvent struct {
}

ZwpDmabufFeedbackV1TrancheDoneEvent is the a preference tranche has been sent

type ZwpDmabufFeedbackV1TrancheDoneHandler

type ZwpDmabufFeedbackV1TrancheDoneHandler interface {
	HandleZwpDmabufFeedbackV1TrancheDone(ZwpDmabufFeedbackV1TrancheDoneEvent)
}

ZwpDmabufFeedbackV1TrancheDoneHandler is the handler interface for ZwpDmabufFeedbackV1TrancheDoneEvent

type ZwpDmabufFeedbackV1TrancheFlagsEvent

type ZwpDmabufFeedbackV1TrancheFlagsEvent struct {
	// Flags is the tranche flags
	Flags uint32
}

ZwpDmabufFeedbackV1TrancheFlagsEvent is the tranche flags

type ZwpDmabufFeedbackV1TrancheFlagsHandler

type ZwpDmabufFeedbackV1TrancheFlagsHandler interface {
	HandleZwpDmabufFeedbackV1TrancheFlags(ZwpDmabufFeedbackV1TrancheFlagsEvent)
}

ZwpDmabufFeedbackV1TrancheFlagsHandler is the handler interface for ZwpDmabufFeedbackV1TrancheFlagsEvent

type ZwpDmabufFeedbackV1TrancheFormatsEvent

type ZwpDmabufFeedbackV1TrancheFormatsEvent struct {
	// Indices is the array of 16-bit indexes
	Indices []uint16
}

ZwpDmabufFeedbackV1TrancheFormatsEvent is the supported buffer format modifiers

type ZwpDmabufFeedbackV1TrancheFormatsHandler

type ZwpDmabufFeedbackV1TrancheFormatsHandler interface {
	HandleZwpDmabufFeedbackV1TrancheFormats(ZwpDmabufFeedbackV1TrancheFormatsEvent)
}

ZwpDmabufFeedbackV1TrancheFormatsHandler is the handler interface for ZwpDmabufFeedbackV1TrancheFormatsEvent

type ZwpDmabufFeedbackV1TrancheTargetDeviceEvent

type ZwpDmabufFeedbackV1TrancheTargetDeviceEvent struct {
	// Device is the device dev_t value
	Device []int32
}

ZwpDmabufFeedbackV1TrancheTargetDeviceEvent is the target device

type ZwpDmabufFeedbackV1TrancheTargetDeviceHandler

type ZwpDmabufFeedbackV1TrancheTargetDeviceHandler interface {
	HandleZwpDmabufFeedbackV1TrancheTargetDevice(ZwpDmabufFeedbackV1TrancheTargetDeviceEvent)
}

ZwpDmabufFeedbackV1TrancheTargetDeviceHandler is the handler interface for ZwpDmabufFeedbackV1TrancheTargetDeviceEvent

type ZwpDmabufV1

type ZwpDmabufV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpDmabufV1 factory for creating dmabuf-based wl_buffers

func NewZwpDmabufV1

func NewZwpDmabufV1(ctx *Context) *ZwpDmabufV1

NewZwpDmabufV1 is a constructor for the ZwpDmabufV1 object

func (*ZwpDmabufV1) AddFormatHandler

func (p *ZwpDmabufV1) AddFormatHandler(h ZwpDmabufV1FormatHandler)

AddFormatHandler adds the Format handler

func (*ZwpDmabufV1) AddModifierHandler

func (p *ZwpDmabufV1) AddModifierHandler(h ZwpDmabufV1ModifierHandler)

AddModifierHandler adds the Modifier handler

func (*ZwpDmabufV1) CreateParams

func (p *ZwpDmabufV1) CreateParams() (*ZwpBufferParamsV1, error)

CreateParams create a temporary object for buffer parameters

func (*ZwpDmabufV1) Destroy

func (p *ZwpDmabufV1) Destroy() error

Destroy unbind the factory

func (*ZwpDmabufV1) Dispatch

func (p *ZwpDmabufV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpDmabufV1

func (*ZwpDmabufV1) GetDefaultFeedback

func (p *ZwpDmabufV1) GetDefaultFeedback() (*ZwpDmabufFeedbackV1, error)

GetDefaultFeedback get default feedback

func (*ZwpDmabufV1) GetSurfaceFeedback

func (p *ZwpDmabufV1) GetSurfaceFeedback(Surface *Surface) (*ZwpDmabufFeedbackV1, error)

GetSurfaceFeedback get feedback for a surface

func (*ZwpDmabufV1) RemoveFormatHandler

func (p *ZwpDmabufV1) RemoveFormatHandler(h ZwpDmabufV1FormatHandler)

RemoveFormatHandler removes the Format handler

func (*ZwpDmabufV1) RemoveModifierHandler

func (p *ZwpDmabufV1) RemoveModifierHandler(h ZwpDmabufV1ModifierHandler)

RemoveModifierHandler removes the Modifier handler

type ZwpDmabufV1FormatEvent

type ZwpDmabufV1FormatEvent struct {
	// Format is the DRM_FORMAT code
	Format uint32
}

ZwpDmabufV1FormatEvent is the supported buffer format

type ZwpDmabufV1FormatHandler

type ZwpDmabufV1FormatHandler interface {
	HandleZwpDmabufV1Format(ZwpDmabufV1FormatEvent)
}

ZwpDmabufV1FormatHandler is the handler interface for ZwpDmabufV1FormatEvent

type ZwpDmabufV1ModifierEvent

type ZwpDmabufV1ModifierEvent struct {
	// Format is the DRM_FORMAT code
	Format uint32
	// ModifierHi is the high 32 bits of layout modifier
	ModifierHi uint32
	// ModifierLo is the low 32 bits of layout modifier
	ModifierLo uint32
}

ZwpDmabufV1ModifierEvent is the supported buffer format modifier

type ZwpDmabufV1ModifierHandler

type ZwpDmabufV1ModifierHandler interface {
	HandleZwpDmabufV1Modifier(ZwpDmabufV1ModifierEvent)
}

ZwpDmabufV1ModifierHandler is the handler interface for ZwpDmabufV1ModifierEvent

type ZwpGestureHoldV1

type ZwpGestureHoldV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpGestureHoldV1 a hold gesture object

func NewZwpGestureHoldV1

func NewZwpGestureHoldV1(ctx *Context) *ZwpGestureHoldV1

NewZwpGestureHoldV1 is a constructor for the ZwpGestureHoldV1 object

func (*ZwpGestureHoldV1) AddBeginHandler

func (p *ZwpGestureHoldV1) AddBeginHandler(h ZwpGestureHoldV1BeginHandler)

AddBeginHandler adds the Begin handler

func (*ZwpGestureHoldV1) AddEndHandler

func (p *ZwpGestureHoldV1) AddEndHandler(h ZwpGestureHoldV1EndHandler)

AddEndHandler adds the End handler

func (*ZwpGestureHoldV1) Destroy

func (p *ZwpGestureHoldV1) Destroy() error

Destroy destroy the hold gesture object

func (*ZwpGestureHoldV1) Dispatch

func (p *ZwpGestureHoldV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpGestureHoldV1

func (*ZwpGestureHoldV1) RemoveBeginHandler

func (p *ZwpGestureHoldV1) RemoveBeginHandler(h ZwpGestureHoldV1BeginHandler)

RemoveBeginHandler removes the Begin handler

func (*ZwpGestureHoldV1) RemoveEndHandler

func (p *ZwpGestureHoldV1) RemoveEndHandler(h ZwpGestureHoldV1EndHandler)

RemoveEndHandler removes the End handler

type ZwpGestureHoldV1BeginEvent

type ZwpGestureHoldV1BeginEvent struct {
	// Serial is the
	Serial uint32
	// Time is the timestamp with millisecond granularity
	Time uint32
	// Surface is the
	Surface *Surface
	// Fingers is the number of fingers
	Fingers uint32
}

ZwpGestureHoldV1BeginEvent is the multi-finger hold begin

type ZwpGestureHoldV1BeginHandler

type ZwpGestureHoldV1BeginHandler interface {
	HandleZwpGestureHoldV1Begin(ZwpGestureHoldV1BeginEvent)
}

ZwpGestureHoldV1BeginHandler is the handler interface for ZwpGestureHoldV1BeginEvent

type ZwpGestureHoldV1EndEvent

type ZwpGestureHoldV1EndEvent struct {
	// Serial is the
	Serial uint32
	// Time is the timestamp with millisecond granularity
	Time uint32
	// Cancelled is the 1 if the gesture was cancelled, 0 otherwise
	Cancelled int32
}

ZwpGestureHoldV1EndEvent is the multi-finger hold end

type ZwpGestureHoldV1EndHandler

type ZwpGestureHoldV1EndHandler interface {
	HandleZwpGestureHoldV1End(ZwpGestureHoldV1EndEvent)
}

ZwpGestureHoldV1EndHandler is the handler interface for ZwpGestureHoldV1EndEvent

type ZwpGesturePinchV1

type ZwpGesturePinchV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpGesturePinchV1 a pinch gesture object

func NewZwpGesturePinchV1

func NewZwpGesturePinchV1(ctx *Context) *ZwpGesturePinchV1

NewZwpGesturePinchV1 is a constructor for the ZwpGesturePinchV1 object

func (*ZwpGesturePinchV1) AddBeginHandler

func (p *ZwpGesturePinchV1) AddBeginHandler(h ZwpGesturePinchV1BeginHandler)

AddBeginHandler adds the Begin handler

func (*ZwpGesturePinchV1) AddEndHandler

func (p *ZwpGesturePinchV1) AddEndHandler(h ZwpGesturePinchV1EndHandler)

AddEndHandler adds the End handler

func (*ZwpGesturePinchV1) AddUpdateHandler

func (p *ZwpGesturePinchV1) AddUpdateHandler(h ZwpGesturePinchV1UpdateHandler)

AddUpdateHandler adds the Update handler

func (*ZwpGesturePinchV1) Destroy

func (p *ZwpGesturePinchV1) Destroy() error

Destroy destroy the pinch gesture object

func (*ZwpGesturePinchV1) Dispatch

func (p *ZwpGesturePinchV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpGesturePinchV1

func (*ZwpGesturePinchV1) RemoveBeginHandler

func (p *ZwpGesturePinchV1) RemoveBeginHandler(h ZwpGesturePinchV1BeginHandler)

RemoveBeginHandler removes the Begin handler

func (*ZwpGesturePinchV1) RemoveEndHandler

func (p *ZwpGesturePinchV1) RemoveEndHandler(h ZwpGesturePinchV1EndHandler)

RemoveEndHandler removes the End handler

func (*ZwpGesturePinchV1) RemoveUpdateHandler

func (p *ZwpGesturePinchV1) RemoveUpdateHandler(h ZwpGesturePinchV1UpdateHandler)

RemoveUpdateHandler removes the Update handler

type ZwpGesturePinchV1BeginEvent

type ZwpGesturePinchV1BeginEvent struct {
	// Serial is the
	Serial uint32
	// Time is the timestamp with millisecond granularity
	Time uint32
	// Surface is the
	Surface *Surface
	// Fingers is the number of fingers
	Fingers uint32
}

ZwpGesturePinchV1BeginEvent is the multi-finger pinch begin

type ZwpGesturePinchV1BeginHandler

type ZwpGesturePinchV1BeginHandler interface {
	HandleZwpGesturePinchV1Begin(ZwpGesturePinchV1BeginEvent)
}

ZwpGesturePinchV1BeginHandler is the handler interface for ZwpGesturePinchV1BeginEvent

type ZwpGesturePinchV1EndEvent

type ZwpGesturePinchV1EndEvent struct {
	// Serial is the
	Serial uint32
	// Time is the timestamp with millisecond granularity
	Time uint32
	// Cancelled is the 1 if the gesture was cancelled, 0 otherwise
	Cancelled int32
}

ZwpGesturePinchV1EndEvent is the multi-finger pinch end

type ZwpGesturePinchV1EndHandler

type ZwpGesturePinchV1EndHandler interface {
	HandleZwpGesturePinchV1End(ZwpGesturePinchV1EndEvent)
}

ZwpGesturePinchV1EndHandler is the handler interface for ZwpGesturePinchV1EndEvent

type ZwpGesturePinchV1UpdateEvent

type ZwpGesturePinchV1UpdateEvent struct {
	// Time is the timestamp with millisecond granularity
	Time uint32
	// Dx is the delta x coordinate in surface coordinate space
	Dx float32
	// Dy is the delta y coordinate in surface coordinate space
	Dy float32
	// Scale is the scale relative to the initial finger position
	Scale float32
	// Rotation is the angle in degrees cw relative to the previous event
	Rotation float32
}

ZwpGesturePinchV1UpdateEvent is the multi-finger pinch motion

type ZwpGesturePinchV1UpdateHandler

type ZwpGesturePinchV1UpdateHandler interface {
	HandleZwpGesturePinchV1Update(ZwpGesturePinchV1UpdateEvent)
}

ZwpGesturePinchV1UpdateHandler is the handler interface for ZwpGesturePinchV1UpdateEvent

type ZwpGestureSwipeV1

type ZwpGestureSwipeV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpGestureSwipeV1 a swipe gesture object

func NewZwpGestureSwipeV1

func NewZwpGestureSwipeV1(ctx *Context) *ZwpGestureSwipeV1

NewZwpGestureSwipeV1 is a constructor for the ZwpGestureSwipeV1 object

func (*ZwpGestureSwipeV1) AddBeginHandler

func (p *ZwpGestureSwipeV1) AddBeginHandler(h ZwpGestureSwipeV1BeginHandler)

AddBeginHandler adds the Begin handler

func (*ZwpGestureSwipeV1) AddEndHandler

func (p *ZwpGestureSwipeV1) AddEndHandler(h ZwpGestureSwipeV1EndHandler)

AddEndHandler adds the End handler

func (*ZwpGestureSwipeV1) AddUpdateHandler

func (p *ZwpGestureSwipeV1) AddUpdateHandler(h ZwpGestureSwipeV1UpdateHandler)

AddUpdateHandler adds the Update handler

func (*ZwpGestureSwipeV1) Destroy

func (p *ZwpGestureSwipeV1) Destroy() error

Destroy destroy the pointer swipe gesture object

func (*ZwpGestureSwipeV1) Dispatch

func (p *ZwpGestureSwipeV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpGestureSwipeV1

func (*ZwpGestureSwipeV1) RemoveBeginHandler

func (p *ZwpGestureSwipeV1) RemoveBeginHandler(h ZwpGestureSwipeV1BeginHandler)

RemoveBeginHandler removes the Begin handler

func (*ZwpGestureSwipeV1) RemoveEndHandler

func (p *ZwpGestureSwipeV1) RemoveEndHandler(h ZwpGestureSwipeV1EndHandler)

RemoveEndHandler removes the End handler

func (*ZwpGestureSwipeV1) RemoveUpdateHandler

func (p *ZwpGestureSwipeV1) RemoveUpdateHandler(h ZwpGestureSwipeV1UpdateHandler)

RemoveUpdateHandler removes the Update handler

type ZwpGestureSwipeV1BeginEvent

type ZwpGestureSwipeV1BeginEvent struct {
	// Serial is the
	Serial uint32
	// Time is the timestamp with millisecond granularity
	Time uint32
	// Surface is the
	Surface *Surface
	// Fingers is the number of fingers
	Fingers uint32
}

ZwpGestureSwipeV1BeginEvent is the multi-finger swipe begin

type ZwpGestureSwipeV1BeginHandler

type ZwpGestureSwipeV1BeginHandler interface {
	HandleZwpGestureSwipeV1Begin(ZwpGestureSwipeV1BeginEvent)
}

ZwpGestureSwipeV1BeginHandler is the handler interface for ZwpGestureSwipeV1BeginEvent

type ZwpGestureSwipeV1EndEvent

type ZwpGestureSwipeV1EndEvent struct {
	// Serial is the
	Serial uint32
	// Time is the timestamp with millisecond granularity
	Time uint32
	// Cancelled is the 1 if the gesture was cancelled, 0 otherwise
	Cancelled int32
}

ZwpGestureSwipeV1EndEvent is the multi-finger swipe end

type ZwpGestureSwipeV1EndHandler

type ZwpGestureSwipeV1EndHandler interface {
	HandleZwpGestureSwipeV1End(ZwpGestureSwipeV1EndEvent)
}

ZwpGestureSwipeV1EndHandler is the handler interface for ZwpGestureSwipeV1EndEvent

type ZwpGestureSwipeV1UpdateEvent

type ZwpGestureSwipeV1UpdateEvent struct {
	// Time is the timestamp with millisecond granularity
	Time uint32
	// Dx is the delta x coordinate in surface coordinate space
	Dx float32
	// Dy is the delta y coordinate in surface coordinate space
	Dy float32
}

ZwpGestureSwipeV1UpdateEvent is the multi-finger swipe motion

type ZwpGestureSwipeV1UpdateHandler

type ZwpGestureSwipeV1UpdateHandler interface {
	HandleZwpGestureSwipeV1Update(ZwpGestureSwipeV1UpdateEvent)
}

ZwpGestureSwipeV1UpdateHandler is the handler interface for ZwpGestureSwipeV1UpdateEvent

type ZwpGesturesV1

type ZwpGesturesV1 struct {
	BaseProxy
}

ZwpGesturesV1 touchpad gestures

func NewZwpGesturesV1

func NewZwpGesturesV1(ctx *Context) *ZwpGesturesV1

NewZwpGesturesV1 is a constructor for the ZwpGesturesV1 object

func (*ZwpGesturesV1) Dispatch

func (p *ZwpGesturesV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpGesturesV1

func (*ZwpGesturesV1) GetHoldGesture

func (p *ZwpGesturesV1) GetHoldGesture(Pointer *Pointer) (*ZwpGestureHoldV1, error)

GetHoldGesture get hold gesture

func (*ZwpGesturesV1) GetPinchGesture

func (p *ZwpGesturesV1) GetPinchGesture(Pointer *Pointer) (*ZwpGesturePinchV1, error)

GetPinchGesture get pinch gesture

func (*ZwpGesturesV1) GetSwipeGesture

func (p *ZwpGesturesV1) GetSwipeGesture(Pointer *Pointer) (*ZwpGestureSwipeV1, error)

GetSwipeGesture get swipe gesture

func (*ZwpGesturesV1) Release

func (p *ZwpGesturesV1) Release() error

Release destroy the pointer gesture object

type ZwpInhibitManagerV1

type ZwpInhibitManagerV1 struct {
	BaseProxy
}

ZwpInhibitManagerV1 control behavior when display idles

func NewZwpInhibitManagerV1

func NewZwpInhibitManagerV1(ctx *Context) *ZwpInhibitManagerV1

NewZwpInhibitManagerV1 is a constructor for the ZwpInhibitManagerV1 object

func (*ZwpInhibitManagerV1) CreateInhibitor

func (p *ZwpInhibitManagerV1) CreateInhibitor(Surface *Surface) (*ZwpInhibitorV1, error)

CreateInhibitor create a new inhibitor object

func (*ZwpInhibitManagerV1) Destroy

func (p *ZwpInhibitManagerV1) Destroy() error

Destroy destroy the idle inhibitor object

func (*ZwpInhibitManagerV1) Dispatch

func (p *ZwpInhibitManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpInhibitManagerV1

type ZwpInhibitorV1

type ZwpInhibitorV1 struct {
	BaseProxy
}

ZwpInhibitorV1 context object for inhibiting idle behavior

func NewZwpInhibitorV1

func NewZwpInhibitorV1(ctx *Context) *ZwpInhibitorV1

NewZwpInhibitorV1 is a constructor for the ZwpInhibitorV1 object

func (*ZwpInhibitorV1) Destroy

func (p *ZwpInhibitorV1) Destroy() error

Destroy destroy the idle inhibitor object

func (*ZwpInhibitorV1) Dispatch

func (p *ZwpInhibitorV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpInhibitorV1

type ZwpKeyboardManagerV1

type ZwpKeyboardManagerV1 struct {
	BaseProxy
}

ZwpKeyboardManagerV1 virtual keyboard manager

func NewZwpKeyboardManagerV1

func NewZwpKeyboardManagerV1(ctx *Context) *ZwpKeyboardManagerV1

NewZwpKeyboardManagerV1 is a constructor for the ZwpKeyboardManagerV1 object

func (*ZwpKeyboardManagerV1) CreateKeyboard

func (p *ZwpKeyboardManagerV1) CreateKeyboard(Seat *Seat) (*ZwpKeyboardV1, error)

CreateKeyboard Create a new virtual keyboard

func (*ZwpKeyboardManagerV1) Dispatch

func (p *ZwpKeyboardManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpKeyboardManagerV1

type ZwpKeyboardV1

type ZwpKeyboardV1 struct {
	BaseProxy
}

ZwpKeyboardV1 virtual keyboard

func NewZwpKeyboardV1

func NewZwpKeyboardV1(ctx *Context) *ZwpKeyboardV1

NewZwpKeyboardV1 is a constructor for the ZwpKeyboardV1 object

func (*ZwpKeyboardV1) Destroy

func (p *ZwpKeyboardV1) Destroy() error

Destroy destroy the virtual keyboard keyboard object

func (*ZwpKeyboardV1) Dispatch

func (p *ZwpKeyboardV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpKeyboardV1

func (*ZwpKeyboardV1) Key

func (p *ZwpKeyboardV1) Key(Time uint32, Key uint32, State uint32) error

Key key event

func (*ZwpKeyboardV1) Keymap

func (p *ZwpKeyboardV1) Keymap(Format uint32, Fd uintptr, Size uint32) error

Keymap keyboard mapping

func (*ZwpKeyboardV1) Modifiers

func (p *ZwpKeyboardV1) Modifiers(ModsDepressed uint32, ModsLatched uint32, ModsLocked uint32, Group uint32) error

Modifiers modifier and group state

type ZwpLockedPointerV1

type ZwpLockedPointerV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpLockedPointerV1 receive relative pointer motion events

func NewZwpLockedPointerV1

func NewZwpLockedPointerV1(ctx *Context) *ZwpLockedPointerV1

NewZwpLockedPointerV1 is a constructor for the ZwpLockedPointerV1 object

func (*ZwpLockedPointerV1) AddLockedHandler

func (p *ZwpLockedPointerV1) AddLockedHandler(h ZwpLockedPointerV1LockedHandler)

AddLockedHandler adds the Locked handler

func (*ZwpLockedPointerV1) AddUnlockedHandler

func (p *ZwpLockedPointerV1) AddUnlockedHandler(h ZwpLockedPointerV1UnlockedHandler)

AddUnlockedHandler adds the Unlocked handler

func (*ZwpLockedPointerV1) Destroy

func (p *ZwpLockedPointerV1) Destroy() error

Destroy destroy the locked pointer object

func (*ZwpLockedPointerV1) Dispatch

func (p *ZwpLockedPointerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpLockedPointerV1

func (*ZwpLockedPointerV1) RemoveLockedHandler

func (p *ZwpLockedPointerV1) RemoveLockedHandler(h ZwpLockedPointerV1LockedHandler)

RemoveLockedHandler removes the Locked handler

func (*ZwpLockedPointerV1) RemoveUnlockedHandler

func (p *ZwpLockedPointerV1) RemoveUnlockedHandler(h ZwpLockedPointerV1UnlockedHandler)

RemoveUnlockedHandler removes the Unlocked handler

func (*ZwpLockedPointerV1) SetCursorPositionHint

func (p *ZwpLockedPointerV1) SetCursorPositionHint(SurfaceX float32, SurfaceY float32) error

SetCursorPositionHint set the pointer cursor position hint

func (*ZwpLockedPointerV1) SetRegion

func (p *ZwpLockedPointerV1) SetRegion(Region *Region) error

SetRegion set a new lock region

type ZwpLockedPointerV1LockedEvent

type ZwpLockedPointerV1LockedEvent struct {
}

ZwpLockedPointerV1LockedEvent is the lock activation event

type ZwpLockedPointerV1LockedHandler

type ZwpLockedPointerV1LockedHandler interface {
	HandleZwpLockedPointerV1Locked(ZwpLockedPointerV1LockedEvent)
}

ZwpLockedPointerV1LockedHandler is the handler interface for ZwpLockedPointerV1LockedEvent

type ZwpLockedPointerV1UnlockedEvent

type ZwpLockedPointerV1UnlockedEvent struct {
}

ZwpLockedPointerV1UnlockedEvent is the lock deactivation event

type ZwpLockedPointerV1UnlockedHandler

type ZwpLockedPointerV1UnlockedHandler interface {
	HandleZwpLockedPointerV1Unlocked(ZwpLockedPointerV1UnlockedEvent)
}

ZwpLockedPointerV1UnlockedHandler is the handler interface for ZwpLockedPointerV1UnlockedEvent

type ZwpPointerConstraintsV1

type ZwpPointerConstraintsV1 struct {
	BaseProxy
}

ZwpPointerConstraintsV1 constrain the movement of a pointer

func NewZwpPointerConstraintsV1

func NewZwpPointerConstraintsV1(ctx *Context) *ZwpPointerConstraintsV1

NewZwpPointerConstraintsV1 is a constructor for the ZwpPointerConstraintsV1 object

func (*ZwpPointerConstraintsV1) ConfinePointer

func (p *ZwpPointerConstraintsV1) ConfinePointer(Surface *Surface, Pointer *Pointer, Region *Region, Lifetime uint32) (*ZwpConfinedPointerV1, error)

ConfinePointer confine pointer to a region

func (*ZwpPointerConstraintsV1) Destroy

func (p *ZwpPointerConstraintsV1) Destroy() error

Destroy destroy the pointer constraints manager object

func (*ZwpPointerConstraintsV1) Dispatch

func (p *ZwpPointerConstraintsV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpPointerConstraintsV1

func (*ZwpPointerConstraintsV1) LockPointer

func (p *ZwpPointerConstraintsV1) LockPointer(Surface *Surface, Pointer *Pointer, Region *Region, Lifetime uint32) (*ZwpLockedPointerV1, error)

LockPointer lock pointer to a position

type ZwpPrimarySelectionDeviceManagerV1

type ZwpPrimarySelectionDeviceManagerV1 struct {
	BaseProxy
}

ZwpPrimarySelectionDeviceManagerV1 X primary selection emulation

func NewZwpPrimarySelectionDeviceManagerV1

func NewZwpPrimarySelectionDeviceManagerV1(ctx *Context) *ZwpPrimarySelectionDeviceManagerV1

NewZwpPrimarySelectionDeviceManagerV1 is a constructor for the ZwpPrimarySelectionDeviceManagerV1 object

func (*ZwpPrimarySelectionDeviceManagerV1) CreateSource

CreateSource create a new primary selection source

func (*ZwpPrimarySelectionDeviceManagerV1) Destroy

Destroy destroy the primary selection device manager

func (*ZwpPrimarySelectionDeviceManagerV1) Dispatch

func (p *ZwpPrimarySelectionDeviceManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpPrimarySelectionDeviceManagerV1

func (*ZwpPrimarySelectionDeviceManagerV1) GetDevice

GetDevice create a new primary selection device

type ZwpPrimarySelectionDeviceV1

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

ZwpPrimarySelectionDeviceV1

func NewZwpPrimarySelectionDeviceV1

func NewZwpPrimarySelectionDeviceV1(ctx *Context) *ZwpPrimarySelectionDeviceV1

NewZwpPrimarySelectionDeviceV1 is a constructor for the ZwpPrimarySelectionDeviceV1 object

func (*ZwpPrimarySelectionDeviceV1) AddDataOfferHandler

AddDataOfferHandler adds the DataOffer handler

func (*ZwpPrimarySelectionDeviceV1) AddSelectionHandler

AddSelectionHandler adds the Selection handler

func (*ZwpPrimarySelectionDeviceV1) Destroy

func (p *ZwpPrimarySelectionDeviceV1) Destroy() error

Destroy destroy the primary selection device

func (*ZwpPrimarySelectionDeviceV1) Dispatch

func (p *ZwpPrimarySelectionDeviceV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpPrimarySelectionDeviceV1

func (*ZwpPrimarySelectionDeviceV1) RemoveDataOfferHandler

RemoveDataOfferHandler removes the DataOffer handler

func (*ZwpPrimarySelectionDeviceV1) RemoveSelectionHandler

RemoveSelectionHandler removes the Selection handler

func (*ZwpPrimarySelectionDeviceV1) SetSelection

func (p *ZwpPrimarySelectionDeviceV1) SetSelection(Source *ZwpPrimarySelectionSourceV1, Serial uint32) error

SetSelection set the primary selection

type ZwpPrimarySelectionDeviceV1DataOfferEvent

type ZwpPrimarySelectionDeviceV1DataOfferEvent struct {
	// Offer is the
	Offer *ZwpPrimarySelectionOfferV1
}

ZwpPrimarySelectionDeviceV1DataOfferEvent is the introduce a new wp_primary_selection_offer

type ZwpPrimarySelectionDeviceV1DataOfferHandler

type ZwpPrimarySelectionDeviceV1DataOfferHandler interface {
	HandleZwpPrimarySelectionDeviceV1DataOffer(ZwpPrimarySelectionDeviceV1DataOfferEvent)
}

ZwpPrimarySelectionDeviceV1DataOfferHandler is the handler interface for ZwpPrimarySelectionDeviceV1DataOfferEvent

type ZwpPrimarySelectionDeviceV1SelectionEvent

type ZwpPrimarySelectionDeviceV1SelectionEvent struct {
	// Id is the
	Id *ZwpPrimarySelectionOfferV1
}

ZwpPrimarySelectionDeviceV1SelectionEvent is the advertise a new primary selection

type ZwpPrimarySelectionDeviceV1SelectionHandler

type ZwpPrimarySelectionDeviceV1SelectionHandler interface {
	HandleZwpPrimarySelectionDeviceV1Selection(ZwpPrimarySelectionDeviceV1SelectionEvent)
}

ZwpPrimarySelectionDeviceV1SelectionHandler is the handler interface for ZwpPrimarySelectionDeviceV1SelectionEvent

type ZwpPrimarySelectionOfferV1

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

ZwpPrimarySelectionOfferV1 offer to transfer primary selection contents

func NewZwpPrimarySelectionOfferV1

func NewZwpPrimarySelectionOfferV1(ctx *Context) *ZwpPrimarySelectionOfferV1

NewZwpPrimarySelectionOfferV1 is a constructor for the ZwpPrimarySelectionOfferV1 object

func (*ZwpPrimarySelectionOfferV1) AddOfferHandler

AddOfferHandler adds the Offer handler

func (*ZwpPrimarySelectionOfferV1) Destroy

func (p *ZwpPrimarySelectionOfferV1) Destroy() error

Destroy destroy the primary selection offer

func (*ZwpPrimarySelectionOfferV1) Dispatch

func (p *ZwpPrimarySelectionOfferV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpPrimarySelectionOfferV1

func (*ZwpPrimarySelectionOfferV1) Receive

func (p *ZwpPrimarySelectionOfferV1) Receive(MimeType string, Fd uintptr) error

Receive request that the data is transferred

func (*ZwpPrimarySelectionOfferV1) RemoveOfferHandler

RemoveOfferHandler removes the Offer handler

type ZwpPrimarySelectionOfferV1OfferEvent

type ZwpPrimarySelectionOfferV1OfferEvent struct {
	// MimeType is the
	MimeType string
}

ZwpPrimarySelectionOfferV1OfferEvent is the advertise offered mime type

type ZwpPrimarySelectionOfferV1OfferHandler

type ZwpPrimarySelectionOfferV1OfferHandler interface {
	HandleZwpPrimarySelectionOfferV1Offer(ZwpPrimarySelectionOfferV1OfferEvent)
}

ZwpPrimarySelectionOfferV1OfferHandler is the handler interface for ZwpPrimarySelectionOfferV1OfferEvent

type ZwpPrimarySelectionSourceV1

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

ZwpPrimarySelectionSourceV1 offer to replace the contents of the primary selection

func NewZwpPrimarySelectionSourceV1

func NewZwpPrimarySelectionSourceV1(ctx *Context) *ZwpPrimarySelectionSourceV1

NewZwpPrimarySelectionSourceV1 is a constructor for the ZwpPrimarySelectionSourceV1 object

func (*ZwpPrimarySelectionSourceV1) AddCancelledHandler

AddCancelledHandler adds the Cancelled handler

func (*ZwpPrimarySelectionSourceV1) AddSendHandler

AddSendHandler adds the Send handler

func (*ZwpPrimarySelectionSourceV1) Destroy

func (p *ZwpPrimarySelectionSourceV1) Destroy() error

Destroy destroy the primary selection source

func (*ZwpPrimarySelectionSourceV1) Dispatch

func (p *ZwpPrimarySelectionSourceV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpPrimarySelectionSourceV1

func (*ZwpPrimarySelectionSourceV1) EventFDs

func (p *ZwpPrimarySelectionSourceV1) EventFDs(opcode uint32) int

EventFDs returns how many fds the event with opcode carries

func (*ZwpPrimarySelectionSourceV1) Offer

func (p *ZwpPrimarySelectionSourceV1) Offer(MimeType string) error

Offer add an offered mime type

func (*ZwpPrimarySelectionSourceV1) RemoveCancelledHandler

RemoveCancelledHandler removes the Cancelled handler

func (*ZwpPrimarySelectionSourceV1) RemoveSendHandler

RemoveSendHandler removes the Send handler

type ZwpPrimarySelectionSourceV1CancelledEvent

type ZwpPrimarySelectionSourceV1CancelledEvent struct {
}

ZwpPrimarySelectionSourceV1CancelledEvent is the request for primary selection contents was canceled

type ZwpPrimarySelectionSourceV1CancelledHandler

type ZwpPrimarySelectionSourceV1CancelledHandler interface {
	HandleZwpPrimarySelectionSourceV1Cancelled(ZwpPrimarySelectionSourceV1CancelledEvent)
}

ZwpPrimarySelectionSourceV1CancelledHandler is the handler interface for ZwpPrimarySelectionSourceV1CancelledEvent

type ZwpPrimarySelectionSourceV1SendEvent

type ZwpPrimarySelectionSourceV1SendEvent struct {
	// MimeType is the
	MimeType string
	// Fd is the
	Fd uintptr
	// FdError is the  (error)
	FdError error
}

ZwpPrimarySelectionSourceV1SendEvent is the send the primary selection contents

type ZwpPrimarySelectionSourceV1SendHandler

type ZwpPrimarySelectionSourceV1SendHandler interface {
	HandleZwpPrimarySelectionSourceV1Send(ZwpPrimarySelectionSourceV1SendEvent)
}

ZwpPrimarySelectionSourceV1SendHandler is the handler interface for ZwpPrimarySelectionSourceV1SendEvent

type ZwpRelativePointerManagerV1

type ZwpRelativePointerManagerV1 struct {
	BaseProxy
}

ZwpRelativePointerManagerV1 get relative pointer objects

func NewZwpRelativePointerManagerV1

func NewZwpRelativePointerManagerV1(ctx *Context) *ZwpRelativePointerManagerV1

NewZwpRelativePointerManagerV1 is a constructor for the ZwpRelativePointerManagerV1 object

func (*ZwpRelativePointerManagerV1) Destroy

func (p *ZwpRelativePointerManagerV1) Destroy() error

Destroy destroy the relative pointer manager object

func (*ZwpRelativePointerManagerV1) Dispatch

func (p *ZwpRelativePointerManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpRelativePointerManagerV1

func (*ZwpRelativePointerManagerV1) GetPointer

func (p *ZwpRelativePointerManagerV1) GetPointer(Pointer *Pointer) (*ZwpRelativePointerV1, error)

GetPointer get a relative pointer object

type ZwpRelativePointerV1

type ZwpRelativePointerV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpRelativePointerV1 relative pointer object

func NewZwpRelativePointerV1

func NewZwpRelativePointerV1(ctx *Context) *ZwpRelativePointerV1

NewZwpRelativePointerV1 is a constructor for the ZwpRelativePointerV1 object

func (*ZwpRelativePointerV1) AddMotionHandler

AddMotionHandler adds the Motion handler

func (*ZwpRelativePointerV1) Destroy

func (p *ZwpRelativePointerV1) Destroy() error

Destroy release the relative pointer object

func (*ZwpRelativePointerV1) Dispatch

func (p *ZwpRelativePointerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpRelativePointerV1

func (*ZwpRelativePointerV1) RemoveMotionHandler

func (p *ZwpRelativePointerV1) RemoveMotionHandler(h ZwpRelativePointerV1MotionHandler)

RemoveMotionHandler removes the Motion handler

type ZwpRelativePointerV1MotionEvent

type ZwpRelativePointerV1MotionEvent struct {
	// UtimeHi is the high 32 bits of a 64 bit timestamp with microsecond granularity
	UtimeHi uint32
	// UtimeLo is the low 32 bits of a 64 bit timestamp with microsecond granularity
	UtimeLo uint32
	// Dx is the the x component of the motion vector
	Dx float32
	// Dy is the the y component of the motion vector
	Dy float32
	// DxUnaccel is the the x component of the unaccelerated motion vector
	DxUnaccel float32
	// DyUnaccel is the the y component of the unaccelerated motion vector
	DyUnaccel float32
}

ZwpRelativePointerV1MotionEvent is the relative pointer motion

type ZwpRelativePointerV1MotionHandler

type ZwpRelativePointerV1MotionHandler interface {
	HandleZwpRelativePointerV1Motion(ZwpRelativePointerV1MotionEvent)
}

ZwpRelativePointerV1MotionHandler is the handler interface for ZwpRelativePointerV1MotionEvent

type ZwpShortcutsInhibitManagerV1

type ZwpShortcutsInhibitManagerV1 struct {
	BaseProxy
}

ZwpShortcutsInhibitManagerV1 context object for keyboard grab_manager

func NewZwpShortcutsInhibitManagerV1

func NewZwpShortcutsInhibitManagerV1(ctx *Context) *ZwpShortcutsInhibitManagerV1

NewZwpShortcutsInhibitManagerV1 is a constructor for the ZwpShortcutsInhibitManagerV1 object

func (*ZwpShortcutsInhibitManagerV1) Destroy

func (p *ZwpShortcutsInhibitManagerV1) Destroy() error

Destroy destroy the keyboard shortcuts inhibitor object

func (*ZwpShortcutsInhibitManagerV1) Dispatch

func (p *ZwpShortcutsInhibitManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpShortcutsInhibitManagerV1

func (*ZwpShortcutsInhibitManagerV1) InhibitShortcuts

func (p *ZwpShortcutsInhibitManagerV1) InhibitShortcuts(Surface *Surface, Seat *Seat) (*ZwpShortcutsInhibitorV1, error)

InhibitShortcuts create a new keyboard shortcuts inhibitor object

type ZwpShortcutsInhibitorV1

type ZwpShortcutsInhibitorV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpShortcutsInhibitorV1 context object for keyboard shortcuts inhibitor

func NewZwpShortcutsInhibitorV1

func NewZwpShortcutsInhibitorV1(ctx *Context) *ZwpShortcutsInhibitorV1

NewZwpShortcutsInhibitorV1 is a constructor for the ZwpShortcutsInhibitorV1 object

func (*ZwpShortcutsInhibitorV1) AddActiveHandler

AddActiveHandler adds the Active handler

func (*ZwpShortcutsInhibitorV1) AddInactiveHandler

AddInactiveHandler adds the Inactive handler

func (*ZwpShortcutsInhibitorV1) Destroy

func (p *ZwpShortcutsInhibitorV1) Destroy() error

Destroy destroy the keyboard shortcuts inhibitor object

func (*ZwpShortcutsInhibitorV1) Dispatch

func (p *ZwpShortcutsInhibitorV1) Dispatch(event *Event)

Dispatch dispatches event for object ZwpShortcutsInhibitorV1

func (*ZwpShortcutsInhibitorV1) RemoveActiveHandler

RemoveActiveHandler removes the Active handler

func (*ZwpShortcutsInhibitorV1) RemoveInactiveHandler

RemoveInactiveHandler removes the Inactive handler

type ZwpShortcutsInhibitorV1ActiveEvent

type ZwpShortcutsInhibitorV1ActiveEvent struct {
}

ZwpShortcutsInhibitorV1ActiveEvent is the shortcuts are inhibited

type ZwpShortcutsInhibitorV1ActiveHandler

type ZwpShortcutsInhibitorV1ActiveHandler interface {
	HandleZwpShortcutsInhibitorV1Active(ZwpShortcutsInhibitorV1ActiveEvent)
}

ZwpShortcutsInhibitorV1ActiveHandler is the handler interface for ZwpShortcutsInhibitorV1ActiveEvent

type ZwpShortcutsInhibitorV1InactiveEvent

type ZwpShortcutsInhibitorV1InactiveEvent struct {
}

ZwpShortcutsInhibitorV1InactiveEvent is the shortcuts are restored

type ZwpShortcutsInhibitorV1InactiveHandler

type ZwpShortcutsInhibitorV1InactiveHandler interface {
	HandleZwpShortcutsInhibitorV1Inactive(ZwpShortcutsInhibitorV1InactiveEvent)
}

ZwpShortcutsInhibitorV1InactiveHandler is the handler interface for ZwpShortcutsInhibitorV1InactiveEvent

type ZwpTabletManagerV2

type ZwpTabletManagerV2 struct {
	BaseProxy
}

ZwpTabletManagerV2 controller object for graphic tablet devices

func NewZwpTabletManagerV2

func NewZwpTabletManagerV2(ctx *Context) *ZwpTabletManagerV2

NewZwpTabletManagerV2 is a constructor for the ZwpTabletManagerV2 object

func (*ZwpTabletManagerV2) Destroy

func (p *ZwpTabletManagerV2) Destroy() error

Destroy release the memory for the tablet manager object

func (*ZwpTabletManagerV2) Dispatch

func (p *ZwpTabletManagerV2) Dispatch(event *Event)

Dispatch dispatches event for object ZwpTabletManagerV2

func (*ZwpTabletManagerV2) GetSeat

func (p *ZwpTabletManagerV2) GetSeat(Seat *Seat) (*ZwpTabletSeatV2, error)

GetSeat get the tablet seat

type ZwpTabletPadDialV2

type ZwpTabletPadDialV2 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpTabletPadDialV2 pad dial

func NewZwpTabletPadDialV2

func NewZwpTabletPadDialV2(ctx *Context) *ZwpTabletPadDialV2

NewZwpTabletPadDialV2 is a constructor for the ZwpTabletPadDialV2 object

func (*ZwpTabletPadDialV2) AddDeltaHandler

func (p *ZwpTabletPadDialV2) AddDeltaHandler(h ZwpTabletPadDialV2DeltaHandler)

AddDeltaHandler adds the Delta handler

func (*ZwpTabletPadDialV2) AddFrameHandler

func (p *ZwpTabletPadDialV2) AddFrameHandler(h ZwpTabletPadDialV2FrameHandler)

AddFrameHandler adds the Frame handler

func (*ZwpTabletPadDialV2) Destroy

func (p *ZwpTabletPadDialV2) Destroy() error

Destroy destroy the dial object

func (*ZwpTabletPadDialV2) Dispatch

func (p *ZwpTabletPadDialV2) Dispatch(event *Event)

Dispatch dispatches event for object ZwpTabletPadDialV2

func (*ZwpTabletPadDialV2) RemoveDeltaHandler

func (p *ZwpTabletPadDialV2) RemoveDeltaHandler(h ZwpTabletPadDialV2DeltaHandler)

RemoveDeltaHandler removes the Delta handler

func (*ZwpTabletPadDialV2) RemoveFrameHandler

func (p *ZwpTabletPadDialV2) RemoveFrameHandler(h ZwpTabletPadDialV2FrameHandler)

RemoveFrameHandler removes the Frame handler

func (*ZwpTabletPadDialV2) SetFeedback

func (p *ZwpTabletPadDialV2) SetFeedback(Description string, Serial uint32) error

SetFeedback set compositor feedback

type ZwpTabletPadDialV2DeltaEvent

type ZwpTabletPadDialV2DeltaEvent struct {
	// Value120 is the rotation distance as fraction of 120
	Value120 int32
}

ZwpTabletPadDialV2DeltaEvent is the delta movement

type ZwpTabletPadDialV2DeltaHandler

type ZwpTabletPadDialV2DeltaHandler interface {
	HandleZwpTabletPadDialV2Delta(ZwpTabletPadDialV2DeltaEvent)
}

ZwpTabletPadDialV2DeltaHandler is the handler interface for ZwpTabletPadDialV2DeltaEvent

type ZwpTabletPadDialV2FrameEvent

type ZwpTabletPadDialV2FrameEvent struct {
	// Time is the timestamp with millisecond granularity
	Time uint32
}

ZwpTabletPadDialV2FrameEvent is the end of a dial event sequence

type ZwpTabletPadDialV2FrameHandler

type ZwpTabletPadDialV2FrameHandler interface {
	HandleZwpTabletPadDialV2Frame(ZwpTabletPadDialV2FrameEvent)
}

ZwpTabletPadDialV2FrameHandler is the handler interface for ZwpTabletPadDialV2FrameEvent

type ZwpTabletPadGroupV2

type ZwpTabletPadGroupV2 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpTabletPadGroupV2 a set of buttons, rings and strips

func NewZwpTabletPadGroupV2

func NewZwpTabletPadGroupV2(ctx *Context) *ZwpTabletPadGroupV2

NewZwpTabletPadGroupV2 is a constructor for the ZwpTabletPadGroupV2 object

func (*ZwpTabletPadGroupV2) AddButtonsHandler

AddButtonsHandler adds the Buttons handler

func (*ZwpTabletPadGroupV2) AddDialHandler

AddDialHandler adds the Dial handler

func (*ZwpTabletPadGroupV2) AddDoneHandler

AddDoneHandler adds the Done handler

func (*ZwpTabletPadGroupV2) AddModeSwitchHandler

func (p *ZwpTabletPadGroupV2) AddModeSwitchHandler(h ZwpTabletPadGroupV2ModeSwitchHandler)

AddModeSwitchHandler adds the ModeSwitch handler

func (*ZwpTabletPadGroupV2) AddModesHandler

AddModesHandler adds the Modes handler

func (*ZwpTabletPadGroupV2) AddRingHandler

AddRingHandler adds the Ring handler

func (*ZwpTabletPadGroupV2) AddStripHandler

AddStripHandler adds the Strip handler

func (*ZwpTabletPadGroupV2) Destroy

func (p *ZwpTabletPadGroupV2) Destroy() error

Destroy destroy the pad object

func (*ZwpTabletPadGroupV2) Dispatch

func (p *ZwpTabletPadGroupV2) Dispatch(event *Event)

Dispatch dispatches event for object ZwpTabletPadGroupV2

func (*ZwpTabletPadGroupV2) RemoveButtonsHandler

func (p *ZwpTabletPadGroupV2) RemoveButtonsHandler(h ZwpTabletPadGroupV2ButtonsHandler)

RemoveButtonsHandler removes the Buttons handler

func (*ZwpTabletPadGroupV2) RemoveDialHandler

func (p *ZwpTabletPadGroupV2) RemoveDialHandler(h ZwpTabletPadGroupV2DialHandler)

RemoveDialHandler removes the Dial handler

func (*ZwpTabletPadGroupV2) RemoveDoneHandler

func (p *ZwpTabletPadGroupV2) RemoveDoneHandler(h ZwpTabletPadGroupV2DoneHandler)

RemoveDoneHandler removes the Done handler

func (*ZwpTabletPadGroupV2) RemoveModeSwitchHandler

func (p *ZwpTabletPadGroupV2) RemoveModeSwitchHandler(h ZwpTabletPadGroupV2ModeSwitchHandler)

RemoveModeSwitchHandler removes the ModeSwitch handler

func (*ZwpTabletPadGroupV2) RemoveModesHandler

func (p *ZwpTabletPadGroupV2) RemoveModesHandler(h ZwpTabletPadGroupV2ModesHandler)

RemoveModesHandler removes the Modes handler

func (*ZwpTabletPadGroupV2) RemoveRingHandler

func (p *ZwpTabletPadGroupV2) RemoveRingHandler(h ZwpTabletPadGroupV2RingHandler)

RemoveRingHandler removes the Ring handler

func (*ZwpTabletPadGroupV2) RemoveStripHandler

func (p *ZwpTabletPadGroupV2) RemoveStripHandler(h ZwpTabletPadGroupV2StripHandler)

RemoveStripHandler removes the Strip handler

type ZwpTabletPadGroupV2ButtonsEvent

type ZwpTabletPadGroupV2ButtonsEvent struct {
	// Buttons is the buttons in this group
	Buttons []int32
}

ZwpTabletPadGroupV2ButtonsEvent is the buttons announced

type ZwpTabletPadGroupV2ButtonsHandler

type ZwpTabletPadGroupV2ButtonsHandler interface {
	HandleZwpTabletPadGroupV2Buttons(ZwpTabletPadGroupV2ButtonsEvent)
}

ZwpTabletPadGroupV2ButtonsHandler is the handler interface for ZwpTabletPadGroupV2ButtonsEvent

type ZwpTabletPadGroupV2DialEvent

type ZwpTabletPadGroupV2DialEvent struct {
	// Dial is the
	Dial *ZwpTabletPadDialV2
}

ZwpTabletPadGroupV2DialEvent is the dial announced

type ZwpTabletPadGroupV2DialHandler

type ZwpTabletPadGroupV2DialHandler interface {
	HandleZwpTabletPadGroupV2Dial(ZwpTabletPadGroupV2DialEvent)
}

ZwpTabletPadGroupV2DialHandler is the handler interface for ZwpTabletPadGroupV2DialEvent

type ZwpTabletPadGroupV2DoneEvent

type ZwpTabletPadGroupV2DoneEvent struct {
}

ZwpTabletPadGroupV2DoneEvent is the tablet group description events sequence complete

type ZwpTabletPadGroupV2DoneHandler

type ZwpTabletPadGroupV2DoneHandler interface {
	HandleZwpTabletPadGroupV2Done(ZwpTabletPadGroupV2DoneEvent)
}

ZwpTabletPadGroupV2DoneHandler is the handler interface for ZwpTabletPadGroupV2DoneEvent

type ZwpTabletPadGroupV2ModeSwitchEvent

type ZwpTabletPadGroupV2ModeSwitchEvent struct {
	// Time is the the time of the event with millisecond granularity
	Time uint32
	// Serial is the
	Serial uint32
	// Mode is the the new mode of the pad
	Mode uint32
}

ZwpTabletPadGroupV2ModeSwitchEvent is the mode switch event

type ZwpTabletPadGroupV2ModeSwitchHandler

type ZwpTabletPadGroupV2ModeSwitchHandler interface {
	HandleZwpTabletPadGroupV2ModeSwitch(ZwpTabletPadGroupV2ModeSwitchEvent)
}

ZwpTabletPadGroupV2ModeSwitchHandler is the handler interface for ZwpTabletPadGroupV2ModeSwitchEvent

type ZwpTabletPadGroupV2ModesEvent

type ZwpTabletPadGroupV2ModesEvent struct {
	// Modes is the the number of modes
	Modes uint32
}

ZwpTabletPadGroupV2ModesEvent is the mode-switch ability announced

type ZwpTabletPadGroupV2ModesHandler

type ZwpTabletPadGroupV2ModesHandler interface {
	HandleZwpTabletPadGroupV2Modes(ZwpTabletPadGroupV2ModesEvent)
}

ZwpTabletPadGroupV2ModesHandler is the handler interface for ZwpTabletPadGroupV2ModesEvent

type ZwpTabletPadGroupV2RingEvent

type ZwpTabletPadGroupV2RingEvent struct {
	// Ring is the
	Ring *ZwpTabletPadRingV2
}

ZwpTabletPadGroupV2RingEvent is the ring announced

type ZwpTabletPadGroupV2RingHandler

type ZwpTabletPadGroupV2RingHandler interface {
	HandleZwpTabletPadGroupV2Ring(ZwpTabletPadGroupV2RingEvent)
}

ZwpTabletPadGroupV2RingHandler is the handler interface for ZwpTabletPadGroupV2RingEvent

type ZwpTabletPadGroupV2StripEvent

type ZwpTabletPadGroupV2StripEvent struct {
	// Strip is the
	Strip *ZwpTabletPadStripV2
}

ZwpTabletPadGroupV2StripEvent is the strip announced

type ZwpTabletPadGroupV2StripHandler

type ZwpTabletPadGroupV2StripHandler interface {
	HandleZwpTabletPadGroupV2Strip(ZwpTabletPadGroupV2StripEvent)
}

ZwpTabletPadGroupV2StripHandler is the handler interface for ZwpTabletPadGroupV2StripEvent

type ZwpTabletPadRingV2

type ZwpTabletPadRingV2 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpTabletPadRingV2 pad ring

func NewZwpTabletPadRingV2

func NewZwpTabletPadRingV2(ctx *Context) *ZwpTabletPadRingV2

NewZwpTabletPadRingV2 is a constructor for the ZwpTabletPadRingV2 object

func (*ZwpTabletPadRingV2) AddAngleHandler

func (p *ZwpTabletPadRingV2) AddAngleHandler(h ZwpTabletPadRingV2AngleHandler)

AddAngleHandler adds the Angle handler

func (*ZwpTabletPadRingV2) AddFrameHandler

func (p *ZwpTabletPadRingV2) AddFrameHandler(h ZwpTabletPadRingV2FrameHandler)

AddFrameHandler adds the Frame handler

func (*ZwpTabletPadRingV2) AddSourceHandler

func (p *ZwpTabletPadRingV2) AddSourceHandler(h ZwpTabletPadRingV2SourceHandler)

AddSourceHandler adds the Source handler

func (*ZwpTabletPadRingV2) AddStopHandler

AddStopHandler adds the Stop handler

func (*ZwpTabletPadRingV2) Destroy

func (p *ZwpTabletPadRingV2) Destroy() error

Destroy destroy the ring object

func (*ZwpTabletPadRingV2) Dispatch

func (p *ZwpTabletPadRingV2) Dispatch(event *Event)

Dispatch dispatches event for object ZwpTabletPadRingV2

func (*ZwpTabletPadRingV2) RemoveAngleHandler

func (p *ZwpTabletPadRingV2) RemoveAngleHandler(h ZwpTabletPadRingV2AngleHandler)

RemoveAngleHandler removes the Angle handler

func (*ZwpTabletPadRingV2) RemoveFrameHandler

func (p *ZwpTabletPadRingV2) RemoveFrameHandler(h ZwpTabletPadRingV2FrameHandler)

RemoveFrameHandler removes the Frame handler

func (*ZwpTabletPadRingV2) RemoveSourceHandler

func (p *ZwpTabletPadRingV2) RemoveSourceHandler(h ZwpTabletPadRingV2SourceHandler)

RemoveSourceHandler removes the Source handler

func (*ZwpTabletPadRingV2) RemoveStopHandler

func (p *ZwpTabletPadRingV2) RemoveStopHandler(h ZwpTabletPadRingV2StopHandler)

RemoveStopHandler removes the Stop handler

func (*ZwpTabletPadRingV2) SetFeedback

func (p *ZwpTabletPadRingV2) SetFeedback(Description string, Serial uint32) error

SetFeedback set compositor feedback

type ZwpTabletPadRingV2AngleEvent

type ZwpTabletPadRingV2AngleEvent struct {
	// Degrees is the the current angle in degrees
	Degrees float32
}

ZwpTabletPadRingV2AngleEvent is the angle changed

type ZwpTabletPadRingV2AngleHandler

type ZwpTabletPadRingV2AngleHandler interface {
	HandleZwpTabletPadRingV2Angle(ZwpTabletPadRingV2AngleEvent)
}

ZwpTabletPadRingV2AngleHandler is the handler interface for ZwpTabletPadRingV2AngleEvent

type ZwpTabletPadRingV2FrameEvent

type ZwpTabletPadRingV2FrameEvent struct {
	// Time is the timestamp with millisecond granularity
	Time uint32
}

ZwpTabletPadRingV2FrameEvent is the end of a ring event sequence

type ZwpTabletPadRingV2FrameHandler

type ZwpTabletPadRingV2FrameHandler interface {
	HandleZwpTabletPadRingV2Frame(ZwpTabletPadRingV2FrameEvent)
}

ZwpTabletPadRingV2FrameHandler is the handler interface for ZwpTabletPadRingV2FrameEvent

type ZwpTabletPadRingV2SourceEvent

type ZwpTabletPadRingV2SourceEvent struct {
	// Source is the the event source
	Source uint32
}

ZwpTabletPadRingV2SourceEvent is the ring event source

type ZwpTabletPadRingV2SourceHandler

type ZwpTabletPadRingV2SourceHandler interface {
	HandleZwpTabletPadRingV2Source(ZwpTabletPadRingV2SourceEvent)
}

ZwpTabletPadRingV2SourceHandler is the handler interface for ZwpTabletPadRingV2SourceEvent

type ZwpTabletPadRingV2StopEvent

type ZwpTabletPadRingV2StopEvent struct {
}

ZwpTabletPadRingV2StopEvent is the interaction stopped

type ZwpTabletPadRingV2StopHandler

type ZwpTabletPadRingV2StopHandler interface {
	HandleZwpTabletPadRingV2Stop(ZwpTabletPadRingV2StopEvent)
}

ZwpTabletPadRingV2StopHandler is the handler interface for ZwpTabletPadRingV2StopEvent

type ZwpTabletPadStripV2

type ZwpTabletPadStripV2 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpTabletPadStripV2 pad strip

func NewZwpTabletPadStripV2

func NewZwpTabletPadStripV2(ctx *Context) *ZwpTabletPadStripV2

NewZwpTabletPadStripV2 is a constructor for the ZwpTabletPadStripV2 object

func (*ZwpTabletPadStripV2) AddFrameHandler

AddFrameHandler adds the Frame handler

func (*ZwpTabletPadStripV2) AddPositionHandler

AddPositionHandler adds the Position handler

func (*ZwpTabletPadStripV2) AddSourceHandler

AddSourceHandler adds the Source handler

func (*ZwpTabletPadStripV2) AddStopHandler

AddStopHandler adds the Stop handler

func (*ZwpTabletPadStripV2) Destroy

func (p *ZwpTabletPadStripV2) Destroy() error

Destroy destroy the strip object

func (*ZwpTabletPadStripV2) Dispatch

func (p *ZwpTabletPadStripV2) Dispatch(event *Event)

Dispatch dispatches event for object ZwpTabletPadStripV2

func (*ZwpTabletPadStripV2) RemoveFrameHandler

func (p *ZwpTabletPadStripV2) RemoveFrameHandler(h ZwpTabletPadStripV2FrameHandler)

RemoveFrameHandler removes the Frame handler

func (*ZwpTabletPadStripV2) RemovePositionHandler

func (p *ZwpTabletPadStripV2) RemovePositionHandler(h ZwpTabletPadStripV2PositionHandler)

RemovePositionHandler removes the Position handler

func (*ZwpTabletPadStripV2) RemoveSourceHandler

func (p *ZwpTabletPadStripV2) RemoveSourceHandler(h ZwpTabletPadStripV2SourceHandler)

RemoveSourceHandler removes the Source handler

func (*ZwpTabletPadStripV2) RemoveStopHandler

func (p *ZwpTabletPadStripV2) RemoveStopHandler(h ZwpTabletPadStripV2StopHandler)

RemoveStopHandler removes the Stop handler

func (*ZwpTabletPadStripV2) SetFeedback

func (p *ZwpTabletPadStripV2) SetFeedback(Description string, Serial uint32) error

SetFeedback set compositor feedback

type ZwpTabletPadStripV2FrameEvent

type ZwpTabletPadStripV2FrameEvent struct {
	// Time is the timestamp with millisecond granularity
	Time uint32
}

ZwpTabletPadStripV2FrameEvent is the end of a strip event sequence

type ZwpTabletPadStripV2FrameHandler

type ZwpTabletPadStripV2FrameHandler interface {
	HandleZwpTabletPadStripV2Frame(ZwpTabletPadStripV2FrameEvent)
}

ZwpTabletPadStripV2FrameHandler is the handler interface for ZwpTabletPadStripV2FrameEvent

type ZwpTabletPadStripV2PositionEvent

type ZwpTabletPadStripV2PositionEvent struct {
	// Position is the the current position
	Position uint32
}

ZwpTabletPadStripV2PositionEvent is the position changed

type ZwpTabletPadStripV2PositionHandler

type ZwpTabletPadStripV2PositionHandler interface {
	HandleZwpTabletPadStripV2Position(ZwpTabletPadStripV2PositionEvent)
}

ZwpTabletPadStripV2PositionHandler is the handler interface for ZwpTabletPadStripV2PositionEvent

type ZwpTabletPadStripV2SourceEvent

type ZwpTabletPadStripV2SourceEvent struct {
	// Source is the the event source
	Source uint32
}

ZwpTabletPadStripV2SourceEvent is the strip event source

type ZwpTabletPadStripV2SourceHandler

type ZwpTabletPadStripV2SourceHandler interface {
	HandleZwpTabletPadStripV2Source(ZwpTabletPadStripV2SourceEvent)
}

ZwpTabletPadStripV2SourceHandler is the handler interface for ZwpTabletPadStripV2SourceEvent

type ZwpTabletPadStripV2StopEvent

type ZwpTabletPadStripV2StopEvent struct {
}

ZwpTabletPadStripV2StopEvent is the interaction stopped

type ZwpTabletPadStripV2StopHandler

type ZwpTabletPadStripV2StopHandler interface {
	HandleZwpTabletPadStripV2Stop(ZwpTabletPadStripV2StopEvent)
}

ZwpTabletPadStripV2StopHandler is the handler interface for ZwpTabletPadStripV2StopEvent

type ZwpTabletPadV2

type ZwpTabletPadV2 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpTabletPadV2 a set of buttons, rings, strips and dials

func NewZwpTabletPadV2

func NewZwpTabletPadV2(ctx *Context) *ZwpTabletPadV2

NewZwpTabletPadV2 is a constructor for the ZwpTabletPadV2 object

func (*ZwpTabletPadV2) AddButtonHandler

func (p *ZwpTabletPadV2) AddButtonHandler(h ZwpTabletPadV2ButtonHandler)

AddButtonHandler adds the Button handler

func (*ZwpTabletPadV2) AddButtonsHandler

func (p *ZwpTabletPadV2) AddButtonsHandler(h ZwpTabletPadV2ButtonsHandler)

AddButtonsHandler adds the Buttons handler

func (*ZwpTabletPadV2) AddDoneHandler

func (p *ZwpTabletPadV2) AddDoneHandler(h ZwpTabletPadV2DoneHandler)

AddDoneHandler adds the Done handler

func (*ZwpTabletPadV2) AddEnterHandler

func (p *ZwpTabletPadV2) AddEnterHandler(h ZwpTabletPadV2EnterHandler)

AddEnterHandler adds the Enter handler

func (*ZwpTabletPadV2) AddGroupHandler

func (p *ZwpTabletPadV2) AddGroupHandler(h ZwpTabletPadV2GroupHandler)

AddGroupHandler adds the Group handler

func (*ZwpTabletPadV2) AddLeaveHandler

func (p *ZwpTabletPadV2) AddLeaveHandler(h ZwpTabletPadV2LeaveHandler)

AddLeaveHandler adds the Leave handler

func (*ZwpTabletPadV2) AddPathHandler

func (p *ZwpTabletPadV2) AddPathHandler(h ZwpTabletPadV2PathHandler)

AddPathHandler adds the Path handler

func (*ZwpTabletPadV2) AddRemovedHandler

func (p *ZwpTabletPadV2) AddRemovedHandler(h ZwpTabletPadV2RemovedHandler)

AddRemovedHandler adds the Removed handler

func (*ZwpTabletPadV2) Destroy

func (p *ZwpTabletPadV2) Destroy() error

Destroy destroy the pad object

func (*ZwpTabletPadV2) Dispatch

func (p *ZwpTabletPadV2) Dispatch(event *Event)

Dispatch dispatches event for object ZwpTabletPadV2

func (*ZwpTabletPadV2) RemoveButtonHandler

func (p *ZwpTabletPadV2) RemoveButtonHandler(h ZwpTabletPadV2ButtonHandler)

RemoveButtonHandler removes the Button handler

func (*ZwpTabletPadV2) RemoveButtonsHandler

func (p *ZwpTabletPadV2) RemoveButtonsHandler(h ZwpTabletPadV2ButtonsHandler)

RemoveButtonsHandler removes the Buttons handler

func (*ZwpTabletPadV2) RemoveDoneHandler

func (p *ZwpTabletPadV2) RemoveDoneHandler(h ZwpTabletPadV2DoneHandler)

RemoveDoneHandler removes the Done handler

func (*ZwpTabletPadV2) RemoveEnterHandler

func (p *ZwpTabletPadV2) RemoveEnterHandler(h ZwpTabletPadV2EnterHandler)

RemoveEnterHandler removes the Enter handler

func (*ZwpTabletPadV2) RemoveGroupHandler

func (p *ZwpTabletPadV2) RemoveGroupHandler(h ZwpTabletPadV2GroupHandler)

RemoveGroupHandler removes the Group handler

func (*ZwpTabletPadV2) RemoveLeaveHandler

func (p *ZwpTabletPadV2) RemoveLeaveHandler(h ZwpTabletPadV2LeaveHandler)

RemoveLeaveHandler removes the Leave handler

func (*ZwpTabletPadV2) RemovePathHandler

func (p *ZwpTabletPadV2) RemovePathHandler(h ZwpTabletPadV2PathHandler)

RemovePathHandler removes the Path handler

func (*ZwpTabletPadV2) RemoveRemovedHandler

func (p *ZwpTabletPadV2) RemoveRemovedHandler(h ZwpTabletPadV2RemovedHandler)

RemoveRemovedHandler removes the Removed handler

func (*ZwpTabletPadV2) SetFeedback

func (p *ZwpTabletPadV2) SetFeedback(Button uint32, Description string, Serial uint32) error

SetFeedback set compositor feedback

type ZwpTabletPadV2ButtonEvent

type ZwpTabletPadV2ButtonEvent struct {
	// Time is the the time of the event with millisecond granularity
	Time uint32
	// Button is the the index of the button that changed state
	Button uint32
	// State is the
	State uint32
}

ZwpTabletPadV2ButtonEvent is the physical button state

type ZwpTabletPadV2ButtonHandler

type ZwpTabletPadV2ButtonHandler interface {
	HandleZwpTabletPadV2Button(ZwpTabletPadV2ButtonEvent)
}

ZwpTabletPadV2ButtonHandler is the handler interface for ZwpTabletPadV2ButtonEvent

type ZwpTabletPadV2ButtonsEvent

type ZwpTabletPadV2ButtonsEvent struct {
	// Buttons is the the number of buttons
	Buttons uint32
}

ZwpTabletPadV2ButtonsEvent is the buttons announced

type ZwpTabletPadV2ButtonsHandler

type ZwpTabletPadV2ButtonsHandler interface {
	HandleZwpTabletPadV2Buttons(ZwpTabletPadV2ButtonsEvent)
}

ZwpTabletPadV2ButtonsHandler is the handler interface for ZwpTabletPadV2ButtonsEvent

type ZwpTabletPadV2DoneEvent

type ZwpTabletPadV2DoneEvent struct {
}

ZwpTabletPadV2DoneEvent is the pad description event sequence complete

type ZwpTabletPadV2DoneHandler

type ZwpTabletPadV2DoneHandler interface {
	HandleZwpTabletPadV2Done(ZwpTabletPadV2DoneEvent)
}

ZwpTabletPadV2DoneHandler is the handler interface for ZwpTabletPadV2DoneEvent

type ZwpTabletPadV2EnterEvent

type ZwpTabletPadV2EnterEvent struct {
	// Serial is the serial number of the enter event
	Serial uint32
	// Tablet is the the tablet the pad is attached to
	Tablet *ZwpTabletV2
	// Surface is the surface the pad is focused on
	Surface *Surface
}

ZwpTabletPadV2EnterEvent is the enter event

type ZwpTabletPadV2EnterHandler

type ZwpTabletPadV2EnterHandler interface {
	HandleZwpTabletPadV2Enter(ZwpTabletPadV2EnterEvent)
}

ZwpTabletPadV2EnterHandler is the handler interface for ZwpTabletPadV2EnterEvent

type ZwpTabletPadV2GroupEvent

type ZwpTabletPadV2GroupEvent struct {
	// PadGroup is the
	PadGroup *ZwpTabletPadGroupV2
}

ZwpTabletPadV2GroupEvent is the group announced

type ZwpTabletPadV2GroupHandler

type ZwpTabletPadV2GroupHandler interface {
	HandleZwpTabletPadV2Group(ZwpTabletPadV2GroupEvent)
}

ZwpTabletPadV2GroupHandler is the handler interface for ZwpTabletPadV2GroupEvent

type ZwpTabletPadV2LeaveEvent

type ZwpTabletPadV2LeaveEvent struct {
	// Serial is the serial number of the leave event
	Serial uint32
	// Surface is the surface the pad is no longer focused on
	Surface *Surface
}

ZwpTabletPadV2LeaveEvent is the leave event

type ZwpTabletPadV2LeaveHandler

type ZwpTabletPadV2LeaveHandler interface {
	HandleZwpTabletPadV2Leave(ZwpTabletPadV2LeaveEvent)
}

ZwpTabletPadV2LeaveHandler is the handler interface for ZwpTabletPadV2LeaveEvent

type ZwpTabletPadV2PathEvent

type ZwpTabletPadV2PathEvent struct {
	// Path is the path to local device
	Path string
}

ZwpTabletPadV2PathEvent is the path to the device

type ZwpTabletPadV2PathHandler

type ZwpTabletPadV2PathHandler interface {
	HandleZwpTabletPadV2Path(ZwpTabletPadV2PathEvent)
}

ZwpTabletPadV2PathHandler is the handler interface for ZwpTabletPadV2PathEvent

type ZwpTabletPadV2RemovedEvent

type ZwpTabletPadV2RemovedEvent struct {
}

ZwpTabletPadV2RemovedEvent is the pad removed event

type ZwpTabletPadV2RemovedHandler

type ZwpTabletPadV2RemovedHandler interface {
	HandleZwpTabletPadV2Removed(ZwpTabletPadV2RemovedEvent)
}

ZwpTabletPadV2RemovedHandler is the handler interface for ZwpTabletPadV2RemovedEvent

type ZwpTabletSeatV2

type ZwpTabletSeatV2 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpTabletSeatV2 controller object for graphic tablet devices of a seat

func NewZwpTabletSeatV2

func NewZwpTabletSeatV2(ctx *Context) *ZwpTabletSeatV2

NewZwpTabletSeatV2 is a constructor for the ZwpTabletSeatV2 object

func (*ZwpTabletSeatV2) AddAddedHandler

func (p *ZwpTabletSeatV2) AddAddedHandler(h ZwpTabletSeatV2AddedHandler)

AddAddedHandler adds the Added handler

func (*ZwpTabletSeatV2) AddPadAddedHandler

func (p *ZwpTabletSeatV2) AddPadAddedHandler(h ZwpTabletSeatV2PadAddedHandler)

AddPadAddedHandler adds the PadAdded handler

func (*ZwpTabletSeatV2) AddToolAddedHandler

func (p *ZwpTabletSeatV2) AddToolAddedHandler(h ZwpTabletSeatV2ToolAddedHandler)

AddToolAddedHandler adds the ToolAdded handler

func (*ZwpTabletSeatV2) Destroy

func (p *ZwpTabletSeatV2) Destroy() error

Destroy release the memory for the tablet seat object

func (*ZwpTabletSeatV2) Dispatch

func (p *ZwpTabletSeatV2) Dispatch(event *Event)

Dispatch dispatches event for object ZwpTabletSeatV2

func (*ZwpTabletSeatV2) RemoveAddedHandler

func (p *ZwpTabletSeatV2) RemoveAddedHandler(h ZwpTabletSeatV2AddedHandler)

RemoveAddedHandler removes the Added handler

func (*ZwpTabletSeatV2) RemovePadAddedHandler

func (p *ZwpTabletSeatV2) RemovePadAddedHandler(h ZwpTabletSeatV2PadAddedHandler)

RemovePadAddedHandler removes the PadAdded handler

func (*ZwpTabletSeatV2) RemoveToolAddedHandler

func (p *ZwpTabletSeatV2) RemoveToolAddedHandler(h ZwpTabletSeatV2ToolAddedHandler)

RemoveToolAddedHandler removes the ToolAdded handler

type ZwpTabletSeatV2AddedEvent

type ZwpTabletSeatV2AddedEvent struct {
	// Id is the the newly added graphics tablet
	Id *ZwpTabletV2
}

ZwpTabletSeatV2AddedEvent is the new device notification

type ZwpTabletSeatV2AddedHandler

type ZwpTabletSeatV2AddedHandler interface {
	HandleZwpTabletSeatV2Added(ZwpTabletSeatV2AddedEvent)
}

ZwpTabletSeatV2AddedHandler is the handler interface for ZwpTabletSeatV2AddedEvent

type ZwpTabletSeatV2PadAddedEvent

type ZwpTabletSeatV2PadAddedEvent struct {
	// Id is the the newly added pad
	Id *ZwpTabletPadV2
}

ZwpTabletSeatV2PadAddedEvent is the new pad notification

type ZwpTabletSeatV2PadAddedHandler

type ZwpTabletSeatV2PadAddedHandler interface {
	HandleZwpTabletSeatV2PadAdded(ZwpTabletSeatV2PadAddedEvent)
}

ZwpTabletSeatV2PadAddedHandler is the handler interface for ZwpTabletSeatV2PadAddedEvent

type ZwpTabletSeatV2ToolAddedEvent

type ZwpTabletSeatV2ToolAddedEvent struct {
	// Id is the the newly added tablet tool
	Id *ZwpTabletToolV2
}

ZwpTabletSeatV2ToolAddedEvent is the a new tool has been used with a tablet

type ZwpTabletSeatV2ToolAddedHandler

type ZwpTabletSeatV2ToolAddedHandler interface {
	HandleZwpTabletSeatV2ToolAdded(ZwpTabletSeatV2ToolAddedEvent)
}

ZwpTabletSeatV2ToolAddedHandler is the handler interface for ZwpTabletSeatV2ToolAddedEvent

type ZwpTabletToolV2

type ZwpTabletToolV2 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpTabletToolV2 a physical tablet tool

func NewZwpTabletToolV2

func NewZwpTabletToolV2(ctx *Context) *ZwpTabletToolV2

NewZwpTabletToolV2 is a constructor for the ZwpTabletToolV2 object

func (*ZwpTabletToolV2) AddButtonHandler

func (p *ZwpTabletToolV2) AddButtonHandler(h ZwpTabletToolV2ButtonHandler)

AddButtonHandler adds the Button handler

func (*ZwpTabletToolV2) AddCapabilityHandler

func (p *ZwpTabletToolV2) AddCapabilityHandler(h ZwpTabletToolV2CapabilityHandler)

AddCapabilityHandler adds the Capability handler

func (*ZwpTabletToolV2) AddDistanceHandler

func (p *ZwpTabletToolV2) AddDistanceHandler(h ZwpTabletToolV2DistanceHandler)

AddDistanceHandler adds the Distance handler

func (*ZwpTabletToolV2) AddDoneHandler

func (p *ZwpTabletToolV2) AddDoneHandler(h ZwpTabletToolV2DoneHandler)

AddDoneHandler adds the Done handler

func (*ZwpTabletToolV2) AddDownHandler

func (p *ZwpTabletToolV2) AddDownHandler(h ZwpTabletToolV2DownHandler)

AddDownHandler adds the Down handler

func (*ZwpTabletToolV2) AddFrameHandler

func (p *ZwpTabletToolV2) AddFrameHandler(h ZwpTabletToolV2FrameHandler)

AddFrameHandler adds the Frame handler

func (*ZwpTabletToolV2) AddHardwareIdWacomHandler

func (p *ZwpTabletToolV2) AddHardwareIdWacomHandler(h ZwpTabletToolV2HardwareIdWacomHandler)

AddHardwareIdWacomHandler adds the HardwareIdWacom handler

func (*ZwpTabletToolV2) AddHardwareSerialHandler

func (p *ZwpTabletToolV2) AddHardwareSerialHandler(h ZwpTabletToolV2HardwareSerialHandler)

AddHardwareSerialHandler adds the HardwareSerial handler

func (*ZwpTabletToolV2) AddMotionHandler

func (p *ZwpTabletToolV2) AddMotionHandler(h ZwpTabletToolV2MotionHandler)

AddMotionHandler adds the Motion handler

func (*ZwpTabletToolV2) AddPressureHandler

func (p *ZwpTabletToolV2) AddPressureHandler(h ZwpTabletToolV2PressureHandler)

AddPressureHandler adds the Pressure handler

func (*ZwpTabletToolV2) AddProximityInHandler

func (p *ZwpTabletToolV2) AddProximityInHandler(h ZwpTabletToolV2ProximityInHandler)

AddProximityInHandler adds the ProximityIn handler

func (*ZwpTabletToolV2) AddProximityOutHandler

func (p *ZwpTabletToolV2) AddProximityOutHandler(h ZwpTabletToolV2ProximityOutHandler)

AddProximityOutHandler adds the ProximityOut handler

func (*ZwpTabletToolV2) AddRemovedHandler

func (p *ZwpTabletToolV2) AddRemovedHandler(h ZwpTabletToolV2RemovedHandler)

AddRemovedHandler adds the Removed handler

func (*ZwpTabletToolV2) AddRotationHandler

func (p *ZwpTabletToolV2) AddRotationHandler(h ZwpTabletToolV2RotationHandler)

AddRotationHandler adds the Rotation handler

func (*ZwpTabletToolV2) AddSliderHandler

func (p *ZwpTabletToolV2) AddSliderHandler(h ZwpTabletToolV2SliderHandler)

AddSliderHandler adds the Slider handler

func (*ZwpTabletToolV2) AddTiltHandler

func (p *ZwpTabletToolV2) AddTiltHandler(h ZwpTabletToolV2TiltHandler)

AddTiltHandler adds the Tilt handler

func (*ZwpTabletToolV2) AddTypeHandler

func (p *ZwpTabletToolV2) AddTypeHandler(h ZwpTabletToolV2TypeHandler)

AddTypeHandler adds the Type handler

func (*ZwpTabletToolV2) AddUpHandler

func (p *ZwpTabletToolV2) AddUpHandler(h ZwpTabletToolV2UpHandler)

AddUpHandler adds the Up handler

func (*ZwpTabletToolV2) AddWheelHandler

func (p *ZwpTabletToolV2) AddWheelHandler(h ZwpTabletToolV2WheelHandler)

AddWheelHandler adds the Wheel handler

func (*ZwpTabletToolV2) Destroy

func (p *ZwpTabletToolV2) Destroy() error

Destroy destroy the tool object

func (*ZwpTabletToolV2) Dispatch

func (p *ZwpTabletToolV2) Dispatch(event *Event)

Dispatch dispatches event for object ZwpTabletToolV2

func (*ZwpTabletToolV2) RemoveButtonHandler

func (p *ZwpTabletToolV2) RemoveButtonHandler(h ZwpTabletToolV2ButtonHandler)

RemoveButtonHandler removes the Button handler

func (*ZwpTabletToolV2) RemoveCapabilityHandler

func (p *ZwpTabletToolV2) RemoveCapabilityHandler(h ZwpTabletToolV2CapabilityHandler)

RemoveCapabilityHandler removes the Capability handler

func (*ZwpTabletToolV2) RemoveDistanceHandler

func (p *ZwpTabletToolV2) RemoveDistanceHandler(h ZwpTabletToolV2DistanceHandler)

RemoveDistanceHandler removes the Distance handler

func (*ZwpTabletToolV2) RemoveDoneHandler

func (p *ZwpTabletToolV2) RemoveDoneHandler(h ZwpTabletToolV2DoneHandler)

RemoveDoneHandler removes the Done handler

func (*ZwpTabletToolV2) RemoveDownHandler

func (p *ZwpTabletToolV2) RemoveDownHandler(h ZwpTabletToolV2DownHandler)

RemoveDownHandler removes the Down handler

func (*ZwpTabletToolV2) RemoveFrameHandler

func (p *ZwpTabletToolV2) RemoveFrameHandler(h ZwpTabletToolV2FrameHandler)

RemoveFrameHandler removes the Frame handler

func (*ZwpTabletToolV2) RemoveHardwareIdWacomHandler

func (p *ZwpTabletToolV2) RemoveHardwareIdWacomHandler(h ZwpTabletToolV2HardwareIdWacomHandler)

RemoveHardwareIdWacomHandler removes the HardwareIdWacom handler

func (*ZwpTabletToolV2) RemoveHardwareSerialHandler

func (p *ZwpTabletToolV2) RemoveHardwareSerialHandler(h ZwpTabletToolV2HardwareSerialHandler)

RemoveHardwareSerialHandler removes the HardwareSerial handler

func (*ZwpTabletToolV2) RemoveMotionHandler

func (p *ZwpTabletToolV2) RemoveMotionHandler(h ZwpTabletToolV2MotionHandler)

RemoveMotionHandler removes the Motion handler

func (*ZwpTabletToolV2) RemovePressureHandler

func (p *ZwpTabletToolV2) RemovePressureHandler(h ZwpTabletToolV2PressureHandler)

RemovePressureHandler removes the Pressure handler

func (*ZwpTabletToolV2) RemoveProximityInHandler

func (p *ZwpTabletToolV2) RemoveProximityInHandler(h ZwpTabletToolV2ProximityInHandler)

RemoveProximityInHandler removes the ProximityIn handler

func (*ZwpTabletToolV2) RemoveProximityOutHandler

func (p *ZwpTabletToolV2) RemoveProximityOutHandler(h ZwpTabletToolV2ProximityOutHandler)

RemoveProximityOutHandler removes the ProximityOut handler

func (*ZwpTabletToolV2) RemoveRemovedHandler

func (p *ZwpTabletToolV2) RemoveRemovedHandler(h ZwpTabletToolV2RemovedHandler)

RemoveRemovedHandler removes the Removed handler

func (*ZwpTabletToolV2) RemoveRotationHandler

func (p *ZwpTabletToolV2) RemoveRotationHandler(h ZwpTabletToolV2RotationHandler)

RemoveRotationHandler removes the Rotation handler

func (*ZwpTabletToolV2) RemoveSliderHandler

func (p *ZwpTabletToolV2) RemoveSliderHandler(h ZwpTabletToolV2SliderHandler)

RemoveSliderHandler removes the Slider handler

func (*ZwpTabletToolV2) RemoveTiltHandler

func (p *ZwpTabletToolV2) RemoveTiltHandler(h ZwpTabletToolV2TiltHandler)

RemoveTiltHandler removes the Tilt handler

func (*ZwpTabletToolV2) RemoveTypeHandler

func (p *ZwpTabletToolV2) RemoveTypeHandler(h ZwpTabletToolV2TypeHandler)

RemoveTypeHandler removes the Type handler

func (*ZwpTabletToolV2) RemoveUpHandler

func (p *ZwpTabletToolV2) RemoveUpHandler(h ZwpTabletToolV2UpHandler)

RemoveUpHandler removes the Up handler

func (*ZwpTabletToolV2) RemoveWheelHandler

func (p *ZwpTabletToolV2) RemoveWheelHandler(h ZwpTabletToolV2WheelHandler)

RemoveWheelHandler removes the Wheel handler

func (*ZwpTabletToolV2) SetCursor

func (p *ZwpTabletToolV2) SetCursor(Serial uint32, Surface *Surface, HotspotX int32, HotspotY int32) error

SetCursor set the tablet tool's surface

type ZwpTabletToolV2ButtonEvent

type ZwpTabletToolV2ButtonEvent struct {
	// Serial is the
	Serial uint32
	// Button is the The button whose state has changed
	Button uint32
	// State is the Whether the button was pressed or released
	State uint32
}

ZwpTabletToolV2ButtonEvent is the button event

type ZwpTabletToolV2ButtonHandler

type ZwpTabletToolV2ButtonHandler interface {
	HandleZwpTabletToolV2Button(ZwpTabletToolV2ButtonEvent)
}

ZwpTabletToolV2ButtonHandler is the handler interface for ZwpTabletToolV2ButtonEvent

type ZwpTabletToolV2CapabilityEvent

type ZwpTabletToolV2CapabilityEvent struct {
	// Capability is the the capability
	Capability uint32
}

ZwpTabletToolV2CapabilityEvent is the tool capability notification

type ZwpTabletToolV2CapabilityHandler

type ZwpTabletToolV2CapabilityHandler interface {
	HandleZwpTabletToolV2Capability(ZwpTabletToolV2CapabilityEvent)
}

ZwpTabletToolV2CapabilityHandler is the handler interface for ZwpTabletToolV2CapabilityEvent

type ZwpTabletToolV2DistanceEvent

type ZwpTabletToolV2DistanceEvent struct {
	// Distance is the The current distance value
	Distance uint32
}

ZwpTabletToolV2DistanceEvent is the distance change event

type ZwpTabletToolV2DistanceHandler

type ZwpTabletToolV2DistanceHandler interface {
	HandleZwpTabletToolV2Distance(ZwpTabletToolV2DistanceEvent)
}

ZwpTabletToolV2DistanceHandler is the handler interface for ZwpTabletToolV2DistanceEvent

type ZwpTabletToolV2DoneEvent

type ZwpTabletToolV2DoneEvent struct {
}

ZwpTabletToolV2DoneEvent is the tool description events sequence complete

type ZwpTabletToolV2DoneHandler

type ZwpTabletToolV2DoneHandler interface {
	HandleZwpTabletToolV2Done(ZwpTabletToolV2DoneEvent)
}

ZwpTabletToolV2DoneHandler is the handler interface for ZwpTabletToolV2DoneEvent

type ZwpTabletToolV2DownEvent

type ZwpTabletToolV2DownEvent struct {
	// Serial is the
	Serial uint32
}

ZwpTabletToolV2DownEvent is the tablet tool is making contact

type ZwpTabletToolV2DownHandler

type ZwpTabletToolV2DownHandler interface {
	HandleZwpTabletToolV2Down(ZwpTabletToolV2DownEvent)
}

ZwpTabletToolV2DownHandler is the handler interface for ZwpTabletToolV2DownEvent

type ZwpTabletToolV2FrameEvent

type ZwpTabletToolV2FrameEvent struct {
	// Time is the The time of the event with millisecond granularity
	Time uint32
}

ZwpTabletToolV2FrameEvent is the frame event

type ZwpTabletToolV2FrameHandler

type ZwpTabletToolV2FrameHandler interface {
	HandleZwpTabletToolV2Frame(ZwpTabletToolV2FrameEvent)
}

ZwpTabletToolV2FrameHandler is the handler interface for ZwpTabletToolV2FrameEvent

type ZwpTabletToolV2HardwareIdWacomEvent

type ZwpTabletToolV2HardwareIdWacomEvent struct {
	// HardwareIdHi is the the hardware id, most significant bits
	HardwareIdHi uint32
	// HardwareIdLo is the the hardware id, least significant bits
	HardwareIdLo uint32
}

ZwpTabletToolV2HardwareIdWacomEvent is the hardware id notification in Wacom's format

type ZwpTabletToolV2HardwareIdWacomHandler

type ZwpTabletToolV2HardwareIdWacomHandler interface {
	HandleZwpTabletToolV2HardwareIdWacom(ZwpTabletToolV2HardwareIdWacomEvent)
}

ZwpTabletToolV2HardwareIdWacomHandler is the handler interface for ZwpTabletToolV2HardwareIdWacomEvent

type ZwpTabletToolV2HardwareSerialEvent

type ZwpTabletToolV2HardwareSerialEvent struct {
	// HardwareSerialHi is the the unique serial number of the tool, most significant bits
	HardwareSerialHi uint32
	// HardwareSerialLo is the the unique serial number of the tool, least significant bits
	HardwareSerialLo uint32
}

ZwpTabletToolV2HardwareSerialEvent is the unique hardware serial number of the tool

type ZwpTabletToolV2HardwareSerialHandler

type ZwpTabletToolV2HardwareSerialHandler interface {
	HandleZwpTabletToolV2HardwareSerial(ZwpTabletToolV2HardwareSerialEvent)
}

ZwpTabletToolV2HardwareSerialHandler is the handler interface for ZwpTabletToolV2HardwareSerialEvent

type ZwpTabletToolV2MotionEvent

type ZwpTabletToolV2MotionEvent struct {
	// X is the surface-local x coordinate
	X float32
	// Y is the surface-local y coordinate
	Y float32
}

ZwpTabletToolV2MotionEvent is the motion event

type ZwpTabletToolV2MotionHandler

type ZwpTabletToolV2MotionHandler interface {
	HandleZwpTabletToolV2Motion(ZwpTabletToolV2MotionEvent)
}

ZwpTabletToolV2MotionHandler is the handler interface for ZwpTabletToolV2MotionEvent

type ZwpTabletToolV2PressureEvent

type ZwpTabletToolV2PressureEvent struct {
	// Pressure is the The current pressure value
	Pressure uint32
}

ZwpTabletToolV2PressureEvent is the pressure change event

type ZwpTabletToolV2PressureHandler

type ZwpTabletToolV2PressureHandler interface {
	HandleZwpTabletToolV2Pressure(ZwpTabletToolV2PressureEvent)
}

ZwpTabletToolV2PressureHandler is the handler interface for ZwpTabletToolV2PressureEvent

type ZwpTabletToolV2ProximityInEvent

type ZwpTabletToolV2ProximityInEvent struct {
	// Serial is the
	Serial uint32
	// Tablet is the The tablet the tool is in proximity of
	Tablet *ZwpTabletV2
	// Surface is the The current surface the tablet tool is over
	Surface *Surface
}

ZwpTabletToolV2ProximityInEvent is the proximity in event

type ZwpTabletToolV2ProximityInHandler

type ZwpTabletToolV2ProximityInHandler interface {
	HandleZwpTabletToolV2ProximityIn(ZwpTabletToolV2ProximityInEvent)
}

ZwpTabletToolV2ProximityInHandler is the handler interface for ZwpTabletToolV2ProximityInEvent

type ZwpTabletToolV2ProximityOutEvent

type ZwpTabletToolV2ProximityOutEvent struct {
}

ZwpTabletToolV2ProximityOutEvent is the proximity out event

type ZwpTabletToolV2ProximityOutHandler

type ZwpTabletToolV2ProximityOutHandler interface {
	HandleZwpTabletToolV2ProximityOut(ZwpTabletToolV2ProximityOutEvent)
}

ZwpTabletToolV2ProximityOutHandler is the handler interface for ZwpTabletToolV2ProximityOutEvent

type ZwpTabletToolV2RemovedEvent

type ZwpTabletToolV2RemovedEvent struct {
}

ZwpTabletToolV2RemovedEvent is the tool removed

type ZwpTabletToolV2RemovedHandler

type ZwpTabletToolV2RemovedHandler interface {
	HandleZwpTabletToolV2Removed(ZwpTabletToolV2RemovedEvent)
}

ZwpTabletToolV2RemovedHandler is the handler interface for ZwpTabletToolV2RemovedEvent

type ZwpTabletToolV2RotationEvent

type ZwpTabletToolV2RotationEvent struct {
	// Degrees is the The current rotation of the Z axis
	Degrees float32
}

ZwpTabletToolV2RotationEvent is the z-rotation change event

type ZwpTabletToolV2RotationHandler

type ZwpTabletToolV2RotationHandler interface {
	HandleZwpTabletToolV2Rotation(ZwpTabletToolV2RotationEvent)
}

ZwpTabletToolV2RotationHandler is the handler interface for ZwpTabletToolV2RotationEvent

type ZwpTabletToolV2SliderEvent

type ZwpTabletToolV2SliderEvent struct {
	// Position is the The current position of slider
	Position int32
}

ZwpTabletToolV2SliderEvent is the Slider position change event

type ZwpTabletToolV2SliderHandler

type ZwpTabletToolV2SliderHandler interface {
	HandleZwpTabletToolV2Slider(ZwpTabletToolV2SliderEvent)
}

ZwpTabletToolV2SliderHandler is the handler interface for ZwpTabletToolV2SliderEvent

type ZwpTabletToolV2TiltEvent

type ZwpTabletToolV2TiltEvent struct {
	// TiltX is the The current value of the X tilt axis
	TiltX float32
	// TiltY is the The current value of the Y tilt axis
	TiltY float32
}

ZwpTabletToolV2TiltEvent is the tilt change event

type ZwpTabletToolV2TiltHandler

type ZwpTabletToolV2TiltHandler interface {
	HandleZwpTabletToolV2Tilt(ZwpTabletToolV2TiltEvent)
}

ZwpTabletToolV2TiltHandler is the handler interface for ZwpTabletToolV2TiltEvent

type ZwpTabletToolV2TypeEvent

type ZwpTabletToolV2TypeEvent struct {
	// ToolType is the the physical tool type
	ToolType uint32
}

ZwpTabletToolV2TypeEvent is the tool type

type ZwpTabletToolV2TypeHandler

type ZwpTabletToolV2TypeHandler interface {
	HandleZwpTabletToolV2Type(ZwpTabletToolV2TypeEvent)
}

ZwpTabletToolV2TypeHandler is the handler interface for ZwpTabletToolV2TypeEvent

type ZwpTabletToolV2UpEvent

type ZwpTabletToolV2UpEvent struct {
}

ZwpTabletToolV2UpEvent is the tablet tool is no longer making contact

type ZwpTabletToolV2UpHandler

type ZwpTabletToolV2UpHandler interface {
	HandleZwpTabletToolV2Up(ZwpTabletToolV2UpEvent)
}

ZwpTabletToolV2UpHandler is the handler interface for ZwpTabletToolV2UpEvent

type ZwpTabletToolV2WheelEvent

type ZwpTabletToolV2WheelEvent struct {
	// Degrees is the The wheel delta in degrees
	Degrees float32
	// Clicks is the The wheel delta in discrete clicks
	Clicks int32
}

ZwpTabletToolV2WheelEvent is the Wheel delta event

type ZwpTabletToolV2WheelHandler

type ZwpTabletToolV2WheelHandler interface {
	HandleZwpTabletToolV2Wheel(ZwpTabletToolV2WheelEvent)
}

ZwpTabletToolV2WheelHandler is the handler interface for ZwpTabletToolV2WheelEvent

type ZwpTabletV2

type ZwpTabletV2 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZwpTabletV2 graphics tablet device

func NewZwpTabletV2

func NewZwpTabletV2(ctx *Context) *ZwpTabletV2

NewZwpTabletV2 is a constructor for the ZwpTabletV2 object

func (*ZwpTabletV2) AddBustypeHandler

func (p *ZwpTabletV2) AddBustypeHandler(h ZwpTabletV2BustypeHandler)

AddBustypeHandler adds the Bustype handler

func (*ZwpTabletV2) AddDoneHandler

func (p *ZwpTabletV2) AddDoneHandler(h ZwpTabletV2DoneHandler)

AddDoneHandler adds the Done handler

func (*ZwpTabletV2) AddIdHandler

func (p *ZwpTabletV2) AddIdHandler(h ZwpTabletV2IdHandler)

AddIdHandler adds the Id handler

func (*ZwpTabletV2) AddNameHandler

func (p *ZwpTabletV2) AddNameHandler(h ZwpTabletV2NameHandler)

AddNameHandler adds the Name handler

func (*ZwpTabletV2) AddPathHandler

func (p *ZwpTabletV2) AddPathHandler(h ZwpTabletV2PathHandler)

AddPathHandler adds the Path handler

func (*ZwpTabletV2) AddRemovedHandler

func (p *ZwpTabletV2) AddRemovedHandler(h ZwpTabletV2RemovedHandler)

AddRemovedHandler adds the Removed handler

func (*ZwpTabletV2) Destroy

func (p *ZwpTabletV2) Destroy() error

Destroy destroy the tablet object

func (*ZwpTabletV2) Dispatch

func (p *ZwpTabletV2) Dispatch(event *Event)

Dispatch dispatches event for object ZwpTabletV2

func (*ZwpTabletV2) RemoveBustypeHandler

func (p *ZwpTabletV2) RemoveBustypeHandler(h ZwpTabletV2BustypeHandler)

RemoveBustypeHandler removes the Bustype handler

func (*ZwpTabletV2) RemoveDoneHandler

func (p *ZwpTabletV2) RemoveDoneHandler(h ZwpTabletV2DoneHandler)

RemoveDoneHandler removes the Done handler

func (*ZwpTabletV2) RemoveIdHandler

func (p *ZwpTabletV2) RemoveIdHandler(h ZwpTabletV2IdHandler)

RemoveIdHandler removes the Id handler

func (*ZwpTabletV2) RemoveNameHandler

func (p *ZwpTabletV2) RemoveNameHandler(h ZwpTabletV2NameHandler)

RemoveNameHandler removes the Name handler

func (*ZwpTabletV2) RemovePathHandler

func (p *ZwpTabletV2) RemovePathHandler(h ZwpTabletV2PathHandler)

RemovePathHandler removes the Path handler

func (*ZwpTabletV2) RemoveRemovedHandler

func (p *ZwpTabletV2) RemoveRemovedHandler(h ZwpTabletV2RemovedHandler)

RemoveRemovedHandler removes the Removed handler

type ZwpTabletV2BustypeEvent

type ZwpTabletV2BustypeEvent struct {
	// Bustype is the bus type
	Bustype uint32
}

ZwpTabletV2BustypeEvent is the tablet device bus type

type ZwpTabletV2BustypeHandler

type ZwpTabletV2BustypeHandler interface {
	HandleZwpTabletV2Bustype(ZwpTabletV2BustypeEvent)
}

ZwpTabletV2BustypeHandler is the handler interface for ZwpTabletV2BustypeEvent

type ZwpTabletV2DoneEvent

type ZwpTabletV2DoneEvent struct {
}

ZwpTabletV2DoneEvent is the tablet description events sequence complete

type ZwpTabletV2DoneHandler

type ZwpTabletV2DoneHandler interface {
	HandleZwpTabletV2Done(ZwpTabletV2DoneEvent)
}

ZwpTabletV2DoneHandler is the handler interface for ZwpTabletV2DoneEvent

type ZwpTabletV2IdEvent

type ZwpTabletV2IdEvent struct {
	// Vid is the vendor id
	Vid uint32
	// Pid is the product id
	Pid uint32
}

ZwpTabletV2IdEvent is the tablet device vendor/product id

type ZwpTabletV2IdHandler

type ZwpTabletV2IdHandler interface {
	HandleZwpTabletV2Id(ZwpTabletV2IdEvent)
}

ZwpTabletV2IdHandler is the handler interface for ZwpTabletV2IdEvent

type ZwpTabletV2NameEvent

type ZwpTabletV2NameEvent struct {
	// Name is the the device name
	Name string
}

ZwpTabletV2NameEvent is the tablet device name

type ZwpTabletV2NameHandler

type ZwpTabletV2NameHandler interface {
	HandleZwpTabletV2Name(ZwpTabletV2NameEvent)
}

ZwpTabletV2NameHandler is the handler interface for ZwpTabletV2NameEvent

type ZwpTabletV2PathEvent

type ZwpTabletV2PathEvent struct {
	// Path is the path to local device
	Path string
}

ZwpTabletV2PathEvent is the path to the device

type ZwpTabletV2PathHandler

type ZwpTabletV2PathHandler interface {
	HandleZwpTabletV2Path(ZwpTabletV2PathEvent)
}

ZwpTabletV2PathHandler is the handler interface for ZwpTabletV2PathEvent

type ZwpTabletV2RemovedEvent

type ZwpTabletV2RemovedEvent struct {
}

ZwpTabletV2RemovedEvent is the tablet removed event

type ZwpTabletV2RemovedHandler

type ZwpTabletV2RemovedHandler interface {
	HandleZwpTabletV2Removed(ZwpTabletV2RemovedEvent)
}

ZwpTabletV2RemovedHandler is the handler interface for ZwpTabletV2RemovedEvent

type ZxdgExportedV2

type ZxdgExportedV2 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZxdgExportedV2 an exported surface handle

func NewZxdgExportedV2

func NewZxdgExportedV2(ctx *Context) *ZxdgExportedV2

NewZxdgExportedV2 is a constructor for the ZxdgExportedV2 object

func (*ZxdgExportedV2) AddHandleHandler

func (p *ZxdgExportedV2) AddHandleHandler(h ZxdgExportedV2HandleHandler)

AddHandleHandler adds the Handle handler

func (*ZxdgExportedV2) Destroy

func (p *ZxdgExportedV2) Destroy() error

Destroy unexport the exported surface

func (*ZxdgExportedV2) Dispatch

func (p *ZxdgExportedV2) Dispatch(event *Event)

Dispatch dispatches event for object ZxdgExportedV2

func (*ZxdgExportedV2) RemoveHandleHandler

func (p *ZxdgExportedV2) RemoveHandleHandler(h ZxdgExportedV2HandleHandler)

RemoveHandleHandler removes the Handle handler

type ZxdgExportedV2HandleEvent

type ZxdgExportedV2HandleEvent struct {
	// Handle is the the exported surface handle
	Handle string
}

ZxdgExportedV2HandleEvent is the the exported surface handle

type ZxdgExportedV2HandleHandler

type ZxdgExportedV2HandleHandler interface {
	HandleZxdgExportedV2Handle(ZxdgExportedV2HandleEvent)
}

ZxdgExportedV2HandleHandler is the handler interface for ZxdgExportedV2HandleEvent

type ZxdgExporterV2

type ZxdgExporterV2 struct {
	BaseProxy
}

ZxdgExporterV2 interface for exporting surfaces

func NewZxdgExporterV2

func NewZxdgExporterV2(ctx *Context) *ZxdgExporterV2

NewZxdgExporterV2 is a constructor for the ZxdgExporterV2 object

func (*ZxdgExporterV2) Destroy

func (p *ZxdgExporterV2) Destroy() error

Destroy destroy the xdg_exporter object

func (*ZxdgExporterV2) Dispatch

func (p *ZxdgExporterV2) Dispatch(event *Event)

Dispatch dispatches event for object ZxdgExporterV2

func (*ZxdgExporterV2) ExportToplevel

func (p *ZxdgExporterV2) ExportToplevel(Surface *Surface) (*ZxdgExportedV2, error)

ExportToplevel export a toplevel surface

type ZxdgImportedV2

type ZxdgImportedV2 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZxdgImportedV2 an imported surface handle

func NewZxdgImportedV2

func NewZxdgImportedV2(ctx *Context) *ZxdgImportedV2

NewZxdgImportedV2 is a constructor for the ZxdgImportedV2 object

func (*ZxdgImportedV2) AddDestroyedHandler

func (p *ZxdgImportedV2) AddDestroyedHandler(h ZxdgImportedV2DestroyedHandler)

AddDestroyedHandler adds the Destroyed handler

func (*ZxdgImportedV2) Destroy

func (p *ZxdgImportedV2) Destroy() error

Destroy destroy the xdg_imported object

func (*ZxdgImportedV2) Dispatch

func (p *ZxdgImportedV2) Dispatch(event *Event)

Dispatch dispatches event for object ZxdgImportedV2

func (*ZxdgImportedV2) RemoveDestroyedHandler

func (p *ZxdgImportedV2) RemoveDestroyedHandler(h ZxdgImportedV2DestroyedHandler)

RemoveDestroyedHandler removes the Destroyed handler

func (*ZxdgImportedV2) SetParentOf

func (p *ZxdgImportedV2) SetParentOf(Surface *Surface) error

SetParentOf set as the parent of some surface

type ZxdgImportedV2DestroyedEvent

type ZxdgImportedV2DestroyedEvent struct {
}

ZxdgImportedV2DestroyedEvent is the the imported surface handle has been destroyed

type ZxdgImportedV2DestroyedHandler

type ZxdgImportedV2DestroyedHandler interface {
	HandleZxdgImportedV2Destroyed(ZxdgImportedV2DestroyedEvent)
}

ZxdgImportedV2DestroyedHandler is the handler interface for ZxdgImportedV2DestroyedEvent

type ZxdgImporterV2

type ZxdgImporterV2 struct {
	BaseProxy
}

ZxdgImporterV2 interface for importing surfaces

func NewZxdgImporterV2

func NewZxdgImporterV2(ctx *Context) *ZxdgImporterV2

NewZxdgImporterV2 is a constructor for the ZxdgImporterV2 object

func (*ZxdgImporterV2) Destroy

func (p *ZxdgImporterV2) Destroy() error

Destroy destroy the xdg_importer object

func (*ZxdgImporterV2) Dispatch

func (p *ZxdgImporterV2) Dispatch(event *Event)

Dispatch dispatches event for object ZxdgImporterV2

func (*ZxdgImporterV2) ImportToplevel

func (p *ZxdgImporterV2) ImportToplevel(Handle string) (*ZxdgImportedV2, error)

ImportToplevel import a toplevel surface

type ZxdgOutputManagerV1

type ZxdgOutputManagerV1 struct {
	BaseProxy
}

ZxdgOutputManagerV1 manage xdg_output objects

func NewZxdgOutputManagerV1

func NewZxdgOutputManagerV1(ctx *Context) *ZxdgOutputManagerV1

NewZxdgOutputManagerV1 is a constructor for the ZxdgOutputManagerV1 object

func (*ZxdgOutputManagerV1) Destroy

func (p *ZxdgOutputManagerV1) Destroy() error

Destroy destroy the xdg_output_manager object

func (*ZxdgOutputManagerV1) Dispatch

func (p *ZxdgOutputManagerV1) Dispatch(event *Event)

Dispatch dispatches event for object ZxdgOutputManagerV1

func (*ZxdgOutputManagerV1) GetOutput

func (p *ZxdgOutputManagerV1) GetOutput(Output *Output) (*ZxdgOutputV1, error)

GetOutput create an xdg output from a wl_output

type ZxdgOutputV1

type ZxdgOutputV1 struct {
	BaseProxy
	// contains filtered or unexported fields
}

ZxdgOutputV1 compositor logical output region

func NewZxdgOutputV1

func NewZxdgOutputV1(ctx *Context) *ZxdgOutputV1

NewZxdgOutputV1 is a constructor for the ZxdgOutputV1 object

func (*ZxdgOutputV1) AddDescriptionHandler

func (p *ZxdgOutputV1) AddDescriptionHandler(h ZxdgOutputV1DescriptionHandler)

AddDescriptionHandler adds the Description handler

func (*ZxdgOutputV1) AddDoneHandler

func (p *ZxdgOutputV1) AddDoneHandler(h ZxdgOutputV1DoneHandler)

AddDoneHandler adds the Done handler

func (*ZxdgOutputV1) AddLogicalPositionHandler

func (p *ZxdgOutputV1) AddLogicalPositionHandler(h ZxdgOutputV1LogicalPositionHandler)

AddLogicalPositionHandler adds the LogicalPosition handler

func (*ZxdgOutputV1) AddLogicalSizeHandler

func (p *ZxdgOutputV1) AddLogicalSizeHandler(h ZxdgOutputV1LogicalSizeHandler)

AddLogicalSizeHandler adds the LogicalSize handler

func (*ZxdgOutputV1) AddNameHandler

func (p *ZxdgOutputV1) AddNameHandler(h ZxdgOutputV1NameHandler)

AddNameHandler adds the Name handler

func (*ZxdgOutputV1) Destroy

func (p *ZxdgOutputV1) Destroy() error

Destroy destroy the xdg_output object

func (*ZxdgOutputV1) Dispatch

func (p *ZxdgOutputV1) Dispatch(event *Event)

Dispatch dispatches event for object ZxdgOutputV1

func (*ZxdgOutputV1) RemoveDescriptionHandler

func (p *ZxdgOutputV1) RemoveDescriptionHandler(h ZxdgOutputV1DescriptionHandler)

RemoveDescriptionHandler removes the Description handler

func (*ZxdgOutputV1) RemoveDoneHandler

func (p *ZxdgOutputV1) RemoveDoneHandler(h ZxdgOutputV1DoneHandler)

RemoveDoneHandler removes the Done handler

func (*ZxdgOutputV1) RemoveLogicalPositionHandler

func (p *ZxdgOutputV1) RemoveLogicalPositionHandler(h ZxdgOutputV1LogicalPositionHandler)

RemoveLogicalPositionHandler removes the LogicalPosition handler

func (*ZxdgOutputV1) RemoveLogicalSizeHandler

func (p *ZxdgOutputV1) RemoveLogicalSizeHandler(h ZxdgOutputV1LogicalSizeHandler)

RemoveLogicalSizeHandler removes the LogicalSize handler

func (*ZxdgOutputV1) RemoveNameHandler

func (p *ZxdgOutputV1) RemoveNameHandler(h ZxdgOutputV1NameHandler)

RemoveNameHandler removes the Name handler

type ZxdgOutputV1DescriptionEvent

type ZxdgOutputV1DescriptionEvent struct {
	// Description is the output description
	Description string
}

ZxdgOutputV1DescriptionEvent is the human-readable description of this output

type ZxdgOutputV1DescriptionHandler

type ZxdgOutputV1DescriptionHandler interface {
	HandleZxdgOutputV1Description(ZxdgOutputV1DescriptionEvent)
}

ZxdgOutputV1DescriptionHandler is the handler interface for ZxdgOutputV1DescriptionEvent

type ZxdgOutputV1DoneEvent

type ZxdgOutputV1DoneEvent struct {
}

ZxdgOutputV1DoneEvent is the all information about the output have been sent

type ZxdgOutputV1DoneHandler

type ZxdgOutputV1DoneHandler interface {
	HandleZxdgOutputV1Done(ZxdgOutputV1DoneEvent)
}

ZxdgOutputV1DoneHandler is the handler interface for ZxdgOutputV1DoneEvent

type ZxdgOutputV1LogicalPositionEvent

type ZxdgOutputV1LogicalPositionEvent struct {
	// X is the x position within the global compositor space
	X int32
	// Y is the y position within the global compositor space
	Y int32
}

ZxdgOutputV1LogicalPositionEvent is the position of the output within the global compositor space

type ZxdgOutputV1LogicalPositionHandler

type ZxdgOutputV1LogicalPositionHandler interface {
	HandleZxdgOutputV1LogicalPosition(ZxdgOutputV1LogicalPositionEvent)
}

ZxdgOutputV1LogicalPositionHandler is the handler interface for ZxdgOutputV1LogicalPositionEvent

type ZxdgOutputV1LogicalSizeEvent

type ZxdgOutputV1LogicalSizeEvent struct {
	// Width is the width in global compositor space
	Width int32
	// Height is the height in global compositor space
	Height int32
}

ZxdgOutputV1LogicalSizeEvent is the size of the output in the global compositor space

type ZxdgOutputV1LogicalSizeHandler

type ZxdgOutputV1LogicalSizeHandler interface {
	HandleZxdgOutputV1LogicalSize(ZxdgOutputV1LogicalSizeEvent)
}

ZxdgOutputV1LogicalSizeHandler is the handler interface for ZxdgOutputV1LogicalSizeEvent

type ZxdgOutputV1NameEvent

type ZxdgOutputV1NameEvent struct {
	// Name is the output name
	Name string
}

ZxdgOutputV1NameEvent is the name of this output

type ZxdgOutputV1NameHandler

type ZxdgOutputV1NameHandler interface {
	HandleZxdgOutputV1Name(ZxdgOutputV1NameEvent)
}

ZxdgOutputV1NameHandler is the handler interface for ZxdgOutputV1NameEvent

Jump to

Keyboard shortcuts

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