Documentation
¶
Overview ¶
Package wlr implements the alpha_modifier_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_escape_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_unstable_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_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 wlr_virtual_pointer_unstable_v1 protocol
Package wlr implements the virtual_keyboard_unstable_v1 protocol
Index ¶
- Constants
- func SafeCast[T any](p wl.Proxy) T
- type ActivationTokenV1
- func (p *ActivationTokenV1) AddDoneHandler(h ActivationTokenV1DoneHandler)
- func (p *ActivationTokenV1) Commit() error
- func (p *ActivationTokenV1) Destroy() error
- func (p *ActivationTokenV1) Dispatch(event *Event)
- func (p *ActivationTokenV1) RemoveDoneHandler(h ActivationTokenV1DoneHandler)
- func (p *ActivationTokenV1) SetAppId(AppId string) error
- func (p *ActivationTokenV1) SetSerial(Serial uint32, Seat *Seat) error
- func (p *ActivationTokenV1) SetSurface(Surface *Surface) error
- type ActivationTokenV1DoneEvent
- type ActivationTokenV1DoneHandler
- type ActivationV1
- type BaseProxy
- type Buffer
- type Context
- type CtmControlManagerV1
- func (p *CtmControlManagerV1) AddBlockedHandler(h CtmControlManagerV1BlockedHandler)
- func (p *CtmControlManagerV1) Commit() error
- func (p *CtmControlManagerV1) Destroy() error
- func (p *CtmControlManagerV1) Dispatch(event *Event)
- func (p *CtmControlManagerV1) RemoveBlockedHandler(h CtmControlManagerV1BlockedHandler)
- func (p *CtmControlManagerV1) SetCtmForOutput(Output *Output, Mat0 float32, Mat1 float32, Mat2 float32, Mat3 float32, ...) error
- type CtmControlManagerV1BlockedEvent
- type CtmControlManagerV1BlockedHandler
- type DataControlDeviceV1
- func (p *DataControlDeviceV1) AddDataOfferHandler(h DataControlDeviceV1DataOfferHandler)
- func (p *DataControlDeviceV1) AddFinishedHandler(h DataControlDeviceV1FinishedHandler)
- func (p *DataControlDeviceV1) AddPrimarySelectionHandler(h DataControlDeviceV1PrimarySelectionHandler)
- func (p *DataControlDeviceV1) AddSelectionHandler(h DataControlDeviceV1SelectionHandler)
- func (p *DataControlDeviceV1) Destroy() error
- func (p *DataControlDeviceV1) Dispatch(event *Event)
- func (p *DataControlDeviceV1) RemoveDataOfferHandler(h DataControlDeviceV1DataOfferHandler)
- func (p *DataControlDeviceV1) RemoveFinishedHandler(h DataControlDeviceV1FinishedHandler)
- func (p *DataControlDeviceV1) RemovePrimarySelectionHandler(h DataControlDeviceV1PrimarySelectionHandler)
- func (p *DataControlDeviceV1) RemoveSelectionHandler(h DataControlDeviceV1SelectionHandler)
- func (p *DataControlDeviceV1) SetPrimarySelection(Source *DataControlSourceV1) error
- func (p *DataControlDeviceV1) SetSelection(Source *DataControlSourceV1) error
- type DataControlDeviceV1DataOfferEvent
- type DataControlDeviceV1DataOfferHandler
- type DataControlDeviceV1FinishedEvent
- type DataControlDeviceV1FinishedHandler
- type DataControlDeviceV1PrimarySelectionEvent
- type DataControlDeviceV1PrimarySelectionHandler
- type DataControlDeviceV1SelectionEvent
- type DataControlDeviceV1SelectionHandler
- type DataControlManagerV1
- type DataControlOfferV1
- func (p *DataControlOfferV1) AddOfferHandler(h DataControlOfferV1OfferHandler)
- func (p *DataControlOfferV1) Destroy() error
- func (p *DataControlOfferV1) Dispatch(event *Event)
- func (p *DataControlOfferV1) Receive(MimeType string, Fd uintptr) error
- func (p *DataControlOfferV1) RemoveOfferHandler(h DataControlOfferV1OfferHandler)
- type DataControlOfferV1OfferEvent
- type DataControlOfferV1OfferHandler
- type DataControlSourceV1
- func (p *DataControlSourceV1) AddCancelledHandler(h DataControlSourceV1CancelledHandler)
- func (p *DataControlSourceV1) AddSendHandler(h DataControlSourceV1SendHandler)
- func (p *DataControlSourceV1) Destroy() error
- func (p *DataControlSourceV1) Dispatch(event *Event)
- func (p *DataControlSourceV1) EventFDs(opcode uint32) int
- func (p *DataControlSourceV1) Offer(MimeType string) error
- func (p *DataControlSourceV1) RemoveCancelledHandler(h DataControlSourceV1CancelledHandler)
- func (p *DataControlSourceV1) RemoveSendHandler(h DataControlSourceV1SendHandler)
- type DataControlSourceV1CancelledEvent
- type DataControlSourceV1CancelledHandler
- type DataControlSourceV1SendEvent
- type DataControlSourceV1SendHandler
- type DialogV1
- type Event
- type ExtBackgroundEffectManagerV1
- func (p *ExtBackgroundEffectManagerV1) AddCapabilitiesHandler(h ExtBackgroundEffectManagerV1CapabilitiesHandler)
- func (p *ExtBackgroundEffectManagerV1) Destroy() error
- func (p *ExtBackgroundEffectManagerV1) Dispatch(event *Event)
- func (p *ExtBackgroundEffectManagerV1) GetExtBackgroundEffect(Surface *Surface) (*ExtBackgroundEffectSurfaceV1, error)
- func (p *ExtBackgroundEffectManagerV1) RemoveCapabilitiesHandler(h ExtBackgroundEffectManagerV1CapabilitiesHandler)
- type ExtBackgroundEffectManagerV1CapabilitiesEvent
- type ExtBackgroundEffectManagerV1CapabilitiesHandler
- type ExtBackgroundEffectSurfaceV1
- type ExtIdleNotificationV1
- func (p *ExtIdleNotificationV1) AddIdledHandler(h ExtIdleNotificationV1IdledHandler)
- func (p *ExtIdleNotificationV1) AddResumedHandler(h ExtIdleNotificationV1ResumedHandler)
- func (p *ExtIdleNotificationV1) Destroy() error
- func (p *ExtIdleNotificationV1) Dispatch(event *Event)
- func (p *ExtIdleNotificationV1) RemoveIdledHandler(h ExtIdleNotificationV1IdledHandler)
- func (p *ExtIdleNotificationV1) RemoveResumedHandler(h ExtIdleNotificationV1ResumedHandler)
- type ExtIdleNotificationV1IdledEvent
- type ExtIdleNotificationV1IdledHandler
- type ExtIdleNotificationV1ResumedEvent
- type ExtIdleNotificationV1ResumedHandler
- type ExtIdleNotifierV1
- func (p *ExtIdleNotifierV1) Destroy() error
- func (p *ExtIdleNotifierV1) Dispatch(event *Event)
- func (p *ExtIdleNotifierV1) GetIdleNotification(Timeout uint32, Seat *Seat) (*ExtIdleNotificationV1, error)
- func (p *ExtIdleNotifierV1) GetInputIdleNotification(Timeout uint32, Seat *Seat) (*ExtIdleNotificationV1, error)
- type ForeignToplevelHandleV1
- func (p *ForeignToplevelHandleV1) AddAppIdHandler(h ForeignToplevelHandleV1AppIdHandler)
- func (p *ForeignToplevelHandleV1) AddClosedHandler(h ForeignToplevelHandleV1ClosedHandler)
- func (p *ForeignToplevelHandleV1) AddDoneHandler(h ForeignToplevelHandleV1DoneHandler)
- func (p *ForeignToplevelHandleV1) AddIdentifierHandler(h ForeignToplevelHandleV1IdentifierHandler)
- func (p *ForeignToplevelHandleV1) AddTitleHandler(h ForeignToplevelHandleV1TitleHandler)
- func (p *ForeignToplevelHandleV1) Destroy() error
- func (p *ForeignToplevelHandleV1) Dispatch(event *Event)
- func (p *ForeignToplevelHandleV1) RemoveAppIdHandler(h ForeignToplevelHandleV1AppIdHandler)
- func (p *ForeignToplevelHandleV1) RemoveClosedHandler(h ForeignToplevelHandleV1ClosedHandler)
- func (p *ForeignToplevelHandleV1) RemoveDoneHandler(h ForeignToplevelHandleV1DoneHandler)
- func (p *ForeignToplevelHandleV1) RemoveIdentifierHandler(h ForeignToplevelHandleV1IdentifierHandler)
- func (p *ForeignToplevelHandleV1) RemoveTitleHandler(h ForeignToplevelHandleV1TitleHandler)
- type ForeignToplevelHandleV1AppIdEvent
- type ForeignToplevelHandleV1AppIdHandler
- type ForeignToplevelHandleV1ClosedEvent
- type ForeignToplevelHandleV1ClosedHandler
- type ForeignToplevelHandleV1DoneEvent
- type ForeignToplevelHandleV1DoneHandler
- type ForeignToplevelHandleV1IdentifierEvent
- type ForeignToplevelHandleV1IdentifierHandler
- type ForeignToplevelHandleV1TitleEvent
- type ForeignToplevelHandleV1TitleHandler
- type ForeignToplevelImageCaptureSourceManagerV1
- type ForeignToplevelListV1
- func (p *ForeignToplevelListV1) AddFinishedHandler(h ForeignToplevelListV1FinishedHandler)
- func (p *ForeignToplevelListV1) AddToplevelHandler(h ForeignToplevelListV1ToplevelHandler)
- func (p *ForeignToplevelListV1) Destroy() error
- func (p *ForeignToplevelListV1) Dispatch(event *Event)
- func (p *ForeignToplevelListV1) RemoveFinishedHandler(h ForeignToplevelListV1FinishedHandler)
- func (p *ForeignToplevelListV1) RemoveToplevelHandler(h ForeignToplevelListV1ToplevelHandler)
- func (p *ForeignToplevelListV1) Stop() error
- type ForeignToplevelListV1FinishedEvent
- type ForeignToplevelListV1FinishedHandler
- type ForeignToplevelListV1ToplevelEvent
- type ForeignToplevelListV1ToplevelHandler
- type GlobalShortcutV1
- func (p *GlobalShortcutV1) AddPressedHandler(h GlobalShortcutV1PressedHandler)
- func (p *GlobalShortcutV1) AddReleasedHandler(h GlobalShortcutV1ReleasedHandler)
- func (p *GlobalShortcutV1) Destroy() error
- func (p *GlobalShortcutV1) Dispatch(event *Event)
- func (p *GlobalShortcutV1) RemovePressedHandler(h GlobalShortcutV1PressedHandler)
- func (p *GlobalShortcutV1) RemoveReleasedHandler(h GlobalShortcutV1ReleasedHandler)
- type GlobalShortcutV1PressedEvent
- type GlobalShortcutV1PressedHandler
- type GlobalShortcutV1ReleasedEvent
- type GlobalShortcutV1ReleasedHandler
- type GlobalShortcutsManagerV1
- type ImageCaptureSourceV1
- type ImageCopyCaptureCursorSessionV1
- func (p *ImageCopyCaptureCursorSessionV1) AddEnterHandler(h ImageCopyCaptureCursorSessionV1EnterHandler)
- func (p *ImageCopyCaptureCursorSessionV1) AddHotspotHandler(h ImageCopyCaptureCursorSessionV1HotspotHandler)
- func (p *ImageCopyCaptureCursorSessionV1) AddLeaveHandler(h ImageCopyCaptureCursorSessionV1LeaveHandler)
- func (p *ImageCopyCaptureCursorSessionV1) AddPositionHandler(h ImageCopyCaptureCursorSessionV1PositionHandler)
- func (p *ImageCopyCaptureCursorSessionV1) Destroy() error
- func (p *ImageCopyCaptureCursorSessionV1) Dispatch(event *Event)
- func (p *ImageCopyCaptureCursorSessionV1) GetCaptureSession() (*ImageCopyCaptureSessionV1, error)
- func (p *ImageCopyCaptureCursorSessionV1) RemoveEnterHandler(h ImageCopyCaptureCursorSessionV1EnterHandler)
- func (p *ImageCopyCaptureCursorSessionV1) RemoveHotspotHandler(h ImageCopyCaptureCursorSessionV1HotspotHandler)
- func (p *ImageCopyCaptureCursorSessionV1) RemoveLeaveHandler(h ImageCopyCaptureCursorSessionV1LeaveHandler)
- func (p *ImageCopyCaptureCursorSessionV1) RemovePositionHandler(h ImageCopyCaptureCursorSessionV1PositionHandler)
- type ImageCopyCaptureCursorSessionV1EnterEvent
- type ImageCopyCaptureCursorSessionV1EnterHandler
- type ImageCopyCaptureCursorSessionV1HotspotEvent
- type ImageCopyCaptureCursorSessionV1HotspotHandler
- type ImageCopyCaptureCursorSessionV1LeaveEvent
- type ImageCopyCaptureCursorSessionV1LeaveHandler
- type ImageCopyCaptureCursorSessionV1PositionEvent
- type ImageCopyCaptureCursorSessionV1PositionHandler
- type ImageCopyCaptureFrameV1
- func (p *ImageCopyCaptureFrameV1) AddDamageHandler(h ImageCopyCaptureFrameV1DamageHandler)
- func (p *ImageCopyCaptureFrameV1) AddFailedHandler(h ImageCopyCaptureFrameV1FailedHandler)
- func (p *ImageCopyCaptureFrameV1) AddPresentationTimeHandler(h ImageCopyCaptureFrameV1PresentationTimeHandler)
- func (p *ImageCopyCaptureFrameV1) AddReadyHandler(h ImageCopyCaptureFrameV1ReadyHandler)
- func (p *ImageCopyCaptureFrameV1) AddTransformHandler(h ImageCopyCaptureFrameV1TransformHandler)
- func (p *ImageCopyCaptureFrameV1) AttachBuffer(Buffer *Buffer) error
- func (p *ImageCopyCaptureFrameV1) Capture() error
- func (p *ImageCopyCaptureFrameV1) DamageBuffer(X int32, Y int32, Width int32, Height int32) error
- func (p *ImageCopyCaptureFrameV1) Destroy() error
- func (p *ImageCopyCaptureFrameV1) Dispatch(event *Event)
- func (p *ImageCopyCaptureFrameV1) RemoveDamageHandler(h ImageCopyCaptureFrameV1DamageHandler)
- func (p *ImageCopyCaptureFrameV1) RemoveFailedHandler(h ImageCopyCaptureFrameV1FailedHandler)
- func (p *ImageCopyCaptureFrameV1) RemovePresentationTimeHandler(h ImageCopyCaptureFrameV1PresentationTimeHandler)
- func (p *ImageCopyCaptureFrameV1) RemoveReadyHandler(h ImageCopyCaptureFrameV1ReadyHandler)
- func (p *ImageCopyCaptureFrameV1) RemoveTransformHandler(h ImageCopyCaptureFrameV1TransformHandler)
- type ImageCopyCaptureFrameV1DamageEvent
- type ImageCopyCaptureFrameV1DamageHandler
- type ImageCopyCaptureFrameV1FailedEvent
- type ImageCopyCaptureFrameV1FailedHandler
- type ImageCopyCaptureFrameV1PresentationTimeEvent
- type ImageCopyCaptureFrameV1PresentationTimeHandler
- type ImageCopyCaptureFrameV1ReadyEvent
- type ImageCopyCaptureFrameV1ReadyHandler
- type ImageCopyCaptureFrameV1TransformEvent
- type ImageCopyCaptureFrameV1TransformHandler
- type ImageCopyCaptureManagerV1
- func (p *ImageCopyCaptureManagerV1) CreatePointerCursorSession(Source *ImageCaptureSourceV1, Pointer *Pointer) (*ImageCopyCaptureCursorSessionV1, error)
- func (p *ImageCopyCaptureManagerV1) CreateSession(Source *ImageCaptureSourceV1, Options uint32) (*ImageCopyCaptureSessionV1, error)
- func (p *ImageCopyCaptureManagerV1) Destroy() error
- func (p *ImageCopyCaptureManagerV1) Dispatch(event *Event)
- type ImageCopyCaptureSessionV1
- func (p *ImageCopyCaptureSessionV1) AddBufferSizeHandler(h ImageCopyCaptureSessionV1BufferSizeHandler)
- func (p *ImageCopyCaptureSessionV1) AddDmabufDeviceHandler(h ImageCopyCaptureSessionV1DmabufDeviceHandler)
- func (p *ImageCopyCaptureSessionV1) AddDmabufFormatHandler(h ImageCopyCaptureSessionV1DmabufFormatHandler)
- func (p *ImageCopyCaptureSessionV1) AddDoneHandler(h ImageCopyCaptureSessionV1DoneHandler)
- func (p *ImageCopyCaptureSessionV1) AddShmFormatHandler(h ImageCopyCaptureSessionV1ShmFormatHandler)
- func (p *ImageCopyCaptureSessionV1) AddStoppedHandler(h ImageCopyCaptureSessionV1StoppedHandler)
- func (p *ImageCopyCaptureSessionV1) CreateFrame() (*ImageCopyCaptureFrameV1, error)
- func (p *ImageCopyCaptureSessionV1) Destroy() error
- func (p *ImageCopyCaptureSessionV1) Dispatch(event *Event)
- func (p *ImageCopyCaptureSessionV1) RemoveBufferSizeHandler(h ImageCopyCaptureSessionV1BufferSizeHandler)
- func (p *ImageCopyCaptureSessionV1) RemoveDmabufDeviceHandler(h ImageCopyCaptureSessionV1DmabufDeviceHandler)
- func (p *ImageCopyCaptureSessionV1) RemoveDmabufFormatHandler(h ImageCopyCaptureSessionV1DmabufFormatHandler)
- func (p *ImageCopyCaptureSessionV1) RemoveDoneHandler(h ImageCopyCaptureSessionV1DoneHandler)
- func (p *ImageCopyCaptureSessionV1) RemoveShmFormatHandler(h ImageCopyCaptureSessionV1ShmFormatHandler)
- func (p *ImageCopyCaptureSessionV1) RemoveStoppedHandler(h ImageCopyCaptureSessionV1StoppedHandler)
- type ImageCopyCaptureSessionV1BufferSizeEvent
- type ImageCopyCaptureSessionV1BufferSizeHandler
- type ImageCopyCaptureSessionV1DmabufDeviceEvent
- type ImageCopyCaptureSessionV1DmabufDeviceHandler
- type ImageCopyCaptureSessionV1DmabufFormatEvent
- type ImageCopyCaptureSessionV1DmabufFormatHandler
- type ImageCopyCaptureSessionV1DoneEvent
- type ImageCopyCaptureSessionV1DoneHandler
- type ImageCopyCaptureSessionV1ShmFormatEvent
- type ImageCopyCaptureSessionV1ShmFormatHandler
- type ImageCopyCaptureSessionV1StoppedEvent
- type ImageCopyCaptureSessionV1StoppedHandler
- type LysEscapeArmV1
- type LysEscapeArmV1PressedEvent
- type LysEscapeArmV1PressedHandler
- type LysEscapeManagerV1
- type Output
- type OutputImageCaptureSourceManagerV1
- type Pointer
- type Region
- type Seat
- type SessionLockManagerV1
- type SessionLockSurfaceV1
- func (p *SessionLockSurfaceV1) AckConfigure(Serial uint32) error
- func (p *SessionLockSurfaceV1) AddConfigureHandler(h SessionLockSurfaceV1ConfigureHandler)
- func (p *SessionLockSurfaceV1) Destroy() error
- func (p *SessionLockSurfaceV1) Dispatch(event *Event)
- func (p *SessionLockSurfaceV1) RemoveConfigureHandler(h SessionLockSurfaceV1ConfigureHandler)
- type SessionLockSurfaceV1ConfigureEvent
- type SessionLockSurfaceV1ConfigureHandler
- type SessionLockV1
- func (p *SessionLockV1) AddFinishedHandler(h SessionLockV1FinishedHandler)
- func (p *SessionLockV1) AddLockedHandler(h SessionLockV1LockedHandler)
- func (p *SessionLockV1) Destroy() error
- func (p *SessionLockV1) Dispatch(event *Event)
- func (p *SessionLockV1) GetLockSurface(Surface *Surface, Output *Output) (*SessionLockSurfaceV1, error)
- func (p *SessionLockV1) RemoveFinishedHandler(h SessionLockV1FinishedHandler)
- func (p *SessionLockV1) RemoveLockedHandler(h SessionLockV1LockedHandler)
- func (p *SessionLockV1) UnlockAndDestroy() error
- type SessionLockV1FinishedEvent
- type SessionLockV1FinishedHandler
- type SessionLockV1LockedEvent
- type SessionLockV1LockedHandler
- type Surface
- type Toplevel
- type ToplevelExportFrameV1
- func (p *ToplevelExportFrameV1) AddBufferDoneHandler(h ToplevelExportFrameV1BufferDoneHandler)
- func (p *ToplevelExportFrameV1) AddBufferHandler(h ToplevelExportFrameV1BufferHandler)
- func (p *ToplevelExportFrameV1) AddDamageHandler(h ToplevelExportFrameV1DamageHandler)
- func (p *ToplevelExportFrameV1) AddFailedHandler(h ToplevelExportFrameV1FailedHandler)
- func (p *ToplevelExportFrameV1) AddFlagsHandler(h ToplevelExportFrameV1FlagsHandler)
- func (p *ToplevelExportFrameV1) AddLinuxDmabufHandler(h ToplevelExportFrameV1LinuxDmabufHandler)
- func (p *ToplevelExportFrameV1) AddReadyHandler(h ToplevelExportFrameV1ReadyHandler)
- func (p *ToplevelExportFrameV1) Copy(Buffer *Buffer, IgnoreDamage int32) error
- func (p *ToplevelExportFrameV1) Destroy() error
- func (p *ToplevelExportFrameV1) Dispatch(event *Event)
- func (p *ToplevelExportFrameV1) RemoveBufferDoneHandler(h ToplevelExportFrameV1BufferDoneHandler)
- func (p *ToplevelExportFrameV1) RemoveBufferHandler(h ToplevelExportFrameV1BufferHandler)
- func (p *ToplevelExportFrameV1) RemoveDamageHandler(h ToplevelExportFrameV1DamageHandler)
- func (p *ToplevelExportFrameV1) RemoveFailedHandler(h ToplevelExportFrameV1FailedHandler)
- func (p *ToplevelExportFrameV1) RemoveFlagsHandler(h ToplevelExportFrameV1FlagsHandler)
- func (p *ToplevelExportFrameV1) RemoveLinuxDmabufHandler(h ToplevelExportFrameV1LinuxDmabufHandler)
- func (p *ToplevelExportFrameV1) RemoveReadyHandler(h ToplevelExportFrameV1ReadyHandler)
- type ToplevelExportFrameV1BufferDoneEvent
- type ToplevelExportFrameV1BufferDoneHandler
- type ToplevelExportFrameV1BufferEvent
- type ToplevelExportFrameV1BufferHandler
- type ToplevelExportFrameV1DamageEvent
- type ToplevelExportFrameV1DamageHandler
- type ToplevelExportFrameV1FailedEvent
- type ToplevelExportFrameV1FailedHandler
- type ToplevelExportFrameV1FlagsEvent
- type ToplevelExportFrameV1FlagsHandler
- type ToplevelExportFrameV1LinuxDmabufEvent
- type ToplevelExportFrameV1LinuxDmabufHandler
- type ToplevelExportFrameV1ReadyEvent
- type ToplevelExportFrameV1ReadyHandler
- type ToplevelExportManagerV1
- func (p *ToplevelExportManagerV1) CaptureToplevel(OverlayCursor int32, Handle uint32) (*ToplevelExportFrameV1, error)
- func (p *ToplevelExportManagerV1) CaptureToplevelWithWlrToplevelHandle(OverlayCursor int32, Handle *ZwlrForeignToplevelHandleV1) (*ToplevelExportFrameV1, error)
- func (p *ToplevelExportManagerV1) Destroy() error
- func (p *ToplevelExportManagerV1) Dispatch(event *Event)
- type ToplevelIconManagerV1
- func (p *ToplevelIconManagerV1) AddDoneHandler(h ToplevelIconManagerV1DoneHandler)
- func (p *ToplevelIconManagerV1) AddIconSizeHandler(h ToplevelIconManagerV1IconSizeHandler)
- func (p *ToplevelIconManagerV1) CreateIcon() (*ToplevelIconV1, error)
- func (p *ToplevelIconManagerV1) Destroy() error
- func (p *ToplevelIconManagerV1) Dispatch(event *Event)
- func (p *ToplevelIconManagerV1) RemoveDoneHandler(h ToplevelIconManagerV1DoneHandler)
- func (p *ToplevelIconManagerV1) RemoveIconSizeHandler(h ToplevelIconManagerV1IconSizeHandler)
- func (p *ToplevelIconManagerV1) SetIcon(Toplevel *Toplevel, Icon *ToplevelIconV1) error
- type ToplevelIconManagerV1DoneEvent
- type ToplevelIconManagerV1DoneHandler
- type ToplevelIconManagerV1IconSizeEvent
- type ToplevelIconManagerV1IconSizeHandler
- type ToplevelIconV1
- type WmDialogV1
- type WpAlphaModifierSurfaceV1
- type WpAlphaModifierV1
- type WpContentTypeManagerV1
- type WpContentTypeV1
- type WpCursorShapeDeviceV1
- type WpCursorShapeManagerV1
- func (p *WpCursorShapeManagerV1) Destroy() error
- func (p *WpCursorShapeManagerV1) Dispatch(event *Event)
- func (p *WpCursorShapeManagerV1) GetPointer(Pointer *Pointer) (*WpCursorShapeDeviceV1, error)
- func (p *WpCursorShapeManagerV1) GetTabletToolV2(TabletTool *ZwpTabletToolV2) (*WpCursorShapeDeviceV1, error)
- type WpDrmSyncobjManagerV1
- type WpDrmSyncobjSurfaceV1
- func (p *WpDrmSyncobjSurfaceV1) Destroy() error
- func (p *WpDrmSyncobjSurfaceV1) Dispatch(event *Event)
- func (p *WpDrmSyncobjSurfaceV1) SetAcquirePoint(Timeline *WpDrmSyncobjTimelineV1, PointHi uint32, PointLo uint32) error
- func (p *WpDrmSyncobjSurfaceV1) SetReleasePoint(Timeline *WpDrmSyncobjTimelineV1, PointHi uint32, PointLo uint32) error
- type WpDrmSyncobjTimelineV1
- type WpPresentation
- func (p *WpPresentation) AddClockIdHandler(h WpPresentationClockIdHandler)
- func (p *WpPresentation) Destroy() error
- func (p *WpPresentation) Dispatch(event *Event)
- func (p *WpPresentation) Feedback(Surface *Surface) (*WpPresentationFeedback, error)
- func (p *WpPresentation) RemoveClockIdHandler(h WpPresentationClockIdHandler)
- type WpPresentationClockIdEvent
- type WpPresentationClockIdHandler
- type WpPresentationFeedback
- func (p *WpPresentationFeedback) AddDiscardedHandler(h WpPresentationFeedbackDiscardedHandler)
- func (p *WpPresentationFeedback) AddPresentedHandler(h WpPresentationFeedbackPresentedHandler)
- func (p *WpPresentationFeedback) AddSyncOutputHandler(h WpPresentationFeedbackSyncOutputHandler)
- func (p *WpPresentationFeedback) Dispatch(event *Event)
- func (p *WpPresentationFeedback) RemoveDiscardedHandler(h WpPresentationFeedbackDiscardedHandler)
- func (p *WpPresentationFeedback) RemovePresentedHandler(h WpPresentationFeedbackPresentedHandler)
- func (p *WpPresentationFeedback) RemoveSyncOutputHandler(h WpPresentationFeedbackSyncOutputHandler)
- type WpPresentationFeedbackDiscardedEvent
- type WpPresentationFeedbackDiscardedHandler
- type WpPresentationFeedbackPresentedEvent
- type WpPresentationFeedbackPresentedHandler
- type WpPresentationFeedbackSyncOutputEvent
- type WpPresentationFeedbackSyncOutputHandler
- type WpScaleManagerV1
- type WpScaleV1
- type WpScaleV1PreferredScaleEvent
- type WpScaleV1PreferredScaleHandler
- type WpViewport
- type WpViewporter
- type XdgPopup
- type XdgSystemBellV1
- type ZwlrDataControlDeviceV1
- func (p *ZwlrDataControlDeviceV1) AddDataOfferHandler(h ZwlrDataControlDeviceV1DataOfferHandler)
- func (p *ZwlrDataControlDeviceV1) AddFinishedHandler(h ZwlrDataControlDeviceV1FinishedHandler)
- func (p *ZwlrDataControlDeviceV1) AddPrimarySelectionHandler(h ZwlrDataControlDeviceV1PrimarySelectionHandler)
- func (p *ZwlrDataControlDeviceV1) AddSelectionHandler(h ZwlrDataControlDeviceV1SelectionHandler)
- func (p *ZwlrDataControlDeviceV1) Destroy() error
- func (p *ZwlrDataControlDeviceV1) Dispatch(event *Event)
- func (p *ZwlrDataControlDeviceV1) RemoveDataOfferHandler(h ZwlrDataControlDeviceV1DataOfferHandler)
- func (p *ZwlrDataControlDeviceV1) RemoveFinishedHandler(h ZwlrDataControlDeviceV1FinishedHandler)
- func (p *ZwlrDataControlDeviceV1) RemovePrimarySelectionHandler(h ZwlrDataControlDeviceV1PrimarySelectionHandler)
- func (p *ZwlrDataControlDeviceV1) RemoveSelectionHandler(h ZwlrDataControlDeviceV1SelectionHandler)
- func (p *ZwlrDataControlDeviceV1) SetPrimarySelection(Source *ZwlrDataControlSourceV1) error
- func (p *ZwlrDataControlDeviceV1) SetSelection(Source *ZwlrDataControlSourceV1) error
- type ZwlrDataControlDeviceV1DataOfferEvent
- type ZwlrDataControlDeviceV1DataOfferHandler
- type ZwlrDataControlDeviceV1FinishedEvent
- type ZwlrDataControlDeviceV1FinishedHandler
- type ZwlrDataControlDeviceV1PrimarySelectionEvent
- type ZwlrDataControlDeviceV1PrimarySelectionHandler
- type ZwlrDataControlDeviceV1SelectionEvent
- type ZwlrDataControlDeviceV1SelectionHandler
- type ZwlrDataControlManagerV1
- type ZwlrDataControlOfferV1
- func (p *ZwlrDataControlOfferV1) AddOfferHandler(h ZwlrDataControlOfferV1OfferHandler)
- func (p *ZwlrDataControlOfferV1) Destroy() error
- func (p *ZwlrDataControlOfferV1) Dispatch(event *Event)
- func (p *ZwlrDataControlOfferV1) Receive(MimeType string, Fd uintptr) error
- func (p *ZwlrDataControlOfferV1) RemoveOfferHandler(h ZwlrDataControlOfferV1OfferHandler)
- type ZwlrDataControlOfferV1OfferEvent
- type ZwlrDataControlOfferV1OfferHandler
- type ZwlrDataControlSourceV1
- func (p *ZwlrDataControlSourceV1) AddCancelledHandler(h ZwlrDataControlSourceV1CancelledHandler)
- func (p *ZwlrDataControlSourceV1) AddSendHandler(h ZwlrDataControlSourceV1SendHandler)
- func (p *ZwlrDataControlSourceV1) Destroy() error
- func (p *ZwlrDataControlSourceV1) Dispatch(event *Event)
- func (p *ZwlrDataControlSourceV1) EventFDs(opcode uint32) int
- func (p *ZwlrDataControlSourceV1) Offer(MimeType string) error
- func (p *ZwlrDataControlSourceV1) RemoveCancelledHandler(h ZwlrDataControlSourceV1CancelledHandler)
- func (p *ZwlrDataControlSourceV1) RemoveSendHandler(h ZwlrDataControlSourceV1SendHandler)
- type ZwlrDataControlSourceV1CancelledEvent
- type ZwlrDataControlSourceV1CancelledHandler
- type ZwlrDataControlSourceV1SendEvent
- type ZwlrDataControlSourceV1SendHandler
- type ZwlrForeignToplevelHandleV1
- func (p *ZwlrForeignToplevelHandleV1) Activate(Seat *Seat) error
- func (p *ZwlrForeignToplevelHandleV1) AddAppIdHandler(h ZwlrForeignToplevelHandleV1AppIdHandler)
- func (p *ZwlrForeignToplevelHandleV1) AddClosedHandler(h ZwlrForeignToplevelHandleV1ClosedHandler)
- func (p *ZwlrForeignToplevelHandleV1) AddDoneHandler(h ZwlrForeignToplevelHandleV1DoneHandler)
- func (p *ZwlrForeignToplevelHandleV1) AddOutputEnterHandler(h ZwlrForeignToplevelHandleV1OutputEnterHandler)
- func (p *ZwlrForeignToplevelHandleV1) AddOutputLeaveHandler(h ZwlrForeignToplevelHandleV1OutputLeaveHandler)
- func (p *ZwlrForeignToplevelHandleV1) AddParentHandler(h ZwlrForeignToplevelHandleV1ParentHandler)
- func (p *ZwlrForeignToplevelHandleV1) AddStateHandler(h ZwlrForeignToplevelHandleV1StateHandler)
- func (p *ZwlrForeignToplevelHandleV1) AddTitleHandler(h ZwlrForeignToplevelHandleV1TitleHandler)
- func (p *ZwlrForeignToplevelHandleV1) Close() error
- func (p *ZwlrForeignToplevelHandleV1) Destroy() error
- func (p *ZwlrForeignToplevelHandleV1) Dispatch(event *Event)
- func (p *ZwlrForeignToplevelHandleV1) RemoveAppIdHandler(h ZwlrForeignToplevelHandleV1AppIdHandler)
- func (p *ZwlrForeignToplevelHandleV1) RemoveClosedHandler(h ZwlrForeignToplevelHandleV1ClosedHandler)
- func (p *ZwlrForeignToplevelHandleV1) RemoveDoneHandler(h ZwlrForeignToplevelHandleV1DoneHandler)
- func (p *ZwlrForeignToplevelHandleV1) RemoveOutputEnterHandler(h ZwlrForeignToplevelHandleV1OutputEnterHandler)
- func (p *ZwlrForeignToplevelHandleV1) RemoveOutputLeaveHandler(h ZwlrForeignToplevelHandleV1OutputLeaveHandler)
- func (p *ZwlrForeignToplevelHandleV1) RemoveParentHandler(h ZwlrForeignToplevelHandleV1ParentHandler)
- func (p *ZwlrForeignToplevelHandleV1) RemoveStateHandler(h ZwlrForeignToplevelHandleV1StateHandler)
- func (p *ZwlrForeignToplevelHandleV1) RemoveTitleHandler(h ZwlrForeignToplevelHandleV1TitleHandler)
- func (p *ZwlrForeignToplevelHandleV1) SetFullscreen(Output *Output) error
- func (p *ZwlrForeignToplevelHandleV1) SetMaximized() error
- func (p *ZwlrForeignToplevelHandleV1) SetMinimized() error
- func (p *ZwlrForeignToplevelHandleV1) SetRectangle(Surface *Surface, X int32, Y int32, Width int32, Height int32) error
- func (p *ZwlrForeignToplevelHandleV1) UnsetFullscreen() error
- func (p *ZwlrForeignToplevelHandleV1) UnsetMaximized() error
- func (p *ZwlrForeignToplevelHandleV1) UnsetMinimized() error
- type ZwlrForeignToplevelHandleV1AppIdEvent
- type ZwlrForeignToplevelHandleV1AppIdHandler
- type ZwlrForeignToplevelHandleV1ClosedEvent
- type ZwlrForeignToplevelHandleV1ClosedHandler
- type ZwlrForeignToplevelHandleV1DoneEvent
- type ZwlrForeignToplevelHandleV1DoneHandler
- type ZwlrForeignToplevelHandleV1OutputEnterEvent
- type ZwlrForeignToplevelHandleV1OutputEnterHandler
- type ZwlrForeignToplevelHandleV1OutputLeaveEvent
- type ZwlrForeignToplevelHandleV1OutputLeaveHandler
- type ZwlrForeignToplevelHandleV1ParentEvent
- type ZwlrForeignToplevelHandleV1ParentHandler
- type ZwlrForeignToplevelHandleV1StateEvent
- type ZwlrForeignToplevelHandleV1StateHandler
- type ZwlrForeignToplevelHandleV1TitleEvent
- type ZwlrForeignToplevelHandleV1TitleHandler
- type ZwlrForeignToplevelManagerV1
- func (p *ZwlrForeignToplevelManagerV1) AddFinishedHandler(h ZwlrForeignToplevelManagerV1FinishedHandler)
- func (p *ZwlrForeignToplevelManagerV1) AddToplevelHandler(h ZwlrForeignToplevelManagerV1ToplevelHandler)
- func (p *ZwlrForeignToplevelManagerV1) Dispatch(event *Event)
- func (p *ZwlrForeignToplevelManagerV1) RemoveFinishedHandler(h ZwlrForeignToplevelManagerV1FinishedHandler)
- func (p *ZwlrForeignToplevelManagerV1) RemoveToplevelHandler(h ZwlrForeignToplevelManagerV1ToplevelHandler)
- func (p *ZwlrForeignToplevelManagerV1) Stop() error
- type ZwlrForeignToplevelManagerV1FinishedEvent
- type ZwlrForeignToplevelManagerV1FinishedHandler
- type ZwlrForeignToplevelManagerV1ToplevelEvent
- type ZwlrForeignToplevelManagerV1ToplevelHandler
- type ZwlrGammaControlManagerV1
- type ZwlrGammaControlV1
- func (p *ZwlrGammaControlV1) AddFailedHandler(h ZwlrGammaControlV1FailedHandler)
- func (p *ZwlrGammaControlV1) AddGammaSizeHandler(h ZwlrGammaControlV1GammaSizeHandler)
- func (p *ZwlrGammaControlV1) Destroy() error
- func (p *ZwlrGammaControlV1) Dispatch(event *Event)
- func (p *ZwlrGammaControlV1) RemoveFailedHandler(h ZwlrGammaControlV1FailedHandler)
- func (p *ZwlrGammaControlV1) RemoveGammaSizeHandler(h ZwlrGammaControlV1GammaSizeHandler)
- func (p *ZwlrGammaControlV1) SetGamma(Fd uintptr) error
- type ZwlrGammaControlV1FailedEvent
- type ZwlrGammaControlV1FailedHandler
- type ZwlrGammaControlV1GammaSizeEvent
- type ZwlrGammaControlV1GammaSizeHandler
- type ZwlrLayerShellV1
- type ZwlrLayerSurfaceV1
- func (p *ZwlrLayerSurfaceV1) AckConfigure(Serial uint32) error
- func (p *ZwlrLayerSurfaceV1) AddClosedHandler(h ZwlrLayerSurfaceV1ClosedHandler)
- func (p *ZwlrLayerSurfaceV1) AddConfigureHandler(h ZwlrLayerSurfaceV1ConfigureHandler)
- func (p *ZwlrLayerSurfaceV1) Destroy() error
- func (p *ZwlrLayerSurfaceV1) Dispatch(event *Event)
- func (p *ZwlrLayerSurfaceV1) GetPopup(Popup *XdgPopup) error
- func (p *ZwlrLayerSurfaceV1) RemoveClosedHandler(h ZwlrLayerSurfaceV1ClosedHandler)
- func (p *ZwlrLayerSurfaceV1) RemoveConfigureHandler(h ZwlrLayerSurfaceV1ConfigureHandler)
- func (p *ZwlrLayerSurfaceV1) SetAnchor(Anchor uint32) error
- func (p *ZwlrLayerSurfaceV1) SetExclusiveZone(Zone int32) error
- func (p *ZwlrLayerSurfaceV1) SetKeyboardInteractivity(KeyboardInteractivity uint32) error
- func (p *ZwlrLayerSurfaceV1) SetLayer(Layer uint32) error
- func (p *ZwlrLayerSurfaceV1) SetMargin(Top int32, Right int32, Bottom int32, Left int32) error
- func (p *ZwlrLayerSurfaceV1) SetSize(Width uint32, Height uint32) error
- type ZwlrLayerSurfaceV1ClosedEvent
- type ZwlrLayerSurfaceV1ClosedHandler
- type ZwlrLayerSurfaceV1ConfigureEvent
- type ZwlrLayerSurfaceV1ConfigureHandler
- type ZwlrScreencopyFrameV1
- func (p *ZwlrScreencopyFrameV1) AddBufferDoneHandler(h ZwlrScreencopyFrameV1BufferDoneHandler)
- func (p *ZwlrScreencopyFrameV1) AddBufferHandler(h ZwlrScreencopyFrameV1BufferHandler)
- func (p *ZwlrScreencopyFrameV1) AddDamageHandler(h ZwlrScreencopyFrameV1DamageHandler)
- func (p *ZwlrScreencopyFrameV1) AddFailedHandler(h ZwlrScreencopyFrameV1FailedHandler)
- func (p *ZwlrScreencopyFrameV1) AddFlagsHandler(h ZwlrScreencopyFrameV1FlagsHandler)
- func (p *ZwlrScreencopyFrameV1) AddLinuxDmabufHandler(h ZwlrScreencopyFrameV1LinuxDmabufHandler)
- func (p *ZwlrScreencopyFrameV1) AddReadyHandler(h ZwlrScreencopyFrameV1ReadyHandler)
- func (p *ZwlrScreencopyFrameV1) Copy(Buffer *Buffer) error
- func (p *ZwlrScreencopyFrameV1) CopyWithDamage(Buffer *Buffer) error
- func (p *ZwlrScreencopyFrameV1) Destroy() error
- func (p *ZwlrScreencopyFrameV1) Dispatch(event *Event)
- func (p *ZwlrScreencopyFrameV1) RemoveBufferDoneHandler(h ZwlrScreencopyFrameV1BufferDoneHandler)
- func (p *ZwlrScreencopyFrameV1) RemoveBufferHandler(h ZwlrScreencopyFrameV1BufferHandler)
- func (p *ZwlrScreencopyFrameV1) RemoveDamageHandler(h ZwlrScreencopyFrameV1DamageHandler)
- func (p *ZwlrScreencopyFrameV1) RemoveFailedHandler(h ZwlrScreencopyFrameV1FailedHandler)
- func (p *ZwlrScreencopyFrameV1) RemoveFlagsHandler(h ZwlrScreencopyFrameV1FlagsHandler)
- func (p *ZwlrScreencopyFrameV1) RemoveLinuxDmabufHandler(h ZwlrScreencopyFrameV1LinuxDmabufHandler)
- func (p *ZwlrScreencopyFrameV1) RemoveReadyHandler(h ZwlrScreencopyFrameV1ReadyHandler)
- type ZwlrScreencopyFrameV1BufferDoneEvent
- type ZwlrScreencopyFrameV1BufferDoneHandler
- type ZwlrScreencopyFrameV1BufferEvent
- type ZwlrScreencopyFrameV1BufferHandler
- type ZwlrScreencopyFrameV1DamageEvent
- type ZwlrScreencopyFrameV1DamageHandler
- type ZwlrScreencopyFrameV1FailedEvent
- type ZwlrScreencopyFrameV1FailedHandler
- type ZwlrScreencopyFrameV1FlagsEvent
- type ZwlrScreencopyFrameV1FlagsHandler
- type ZwlrScreencopyFrameV1LinuxDmabufEvent
- type ZwlrScreencopyFrameV1LinuxDmabufHandler
- type ZwlrScreencopyFrameV1ReadyEvent
- type ZwlrScreencopyFrameV1ReadyHandler
- type ZwlrScreencopyManagerV1
- func (p *ZwlrScreencopyManagerV1) CaptureOutput(OverlayCursor int32, Output *Output) (*ZwlrScreencopyFrameV1, error)
- func (p *ZwlrScreencopyManagerV1) CaptureOutputRegion(OverlayCursor int32, Output *Output, X int32, Y int32, Width int32, ...) (*ZwlrScreencopyFrameV1, error)
- func (p *ZwlrScreencopyManagerV1) Destroy() error
- func (p *ZwlrScreencopyManagerV1) Dispatch(event *Event)
- type ZwlrVirtualPointerManagerV1
- func (p *ZwlrVirtualPointerManagerV1) CreateVirtualPointer(Seat *Seat) (*ZwlrVirtualPointerV1, error)
- func (p *ZwlrVirtualPointerManagerV1) CreateVirtualPointerWithOutput(Seat *Seat, Output *Output) (*ZwlrVirtualPointerV1, error)
- func (p *ZwlrVirtualPointerManagerV1) Destroy() error
- func (p *ZwlrVirtualPointerManagerV1) Dispatch(event *Event)
- type ZwlrVirtualPointerV1
- func (p *ZwlrVirtualPointerV1) Axis(Time uint32, Axis uint32, Value float32) error
- func (p *ZwlrVirtualPointerV1) AxisDiscrete(Time uint32, Axis uint32, Value float32, Discrete int32) error
- func (p *ZwlrVirtualPointerV1) AxisSource(AxisSource uint32) error
- func (p *ZwlrVirtualPointerV1) AxisStop(Time uint32, Axis uint32) error
- func (p *ZwlrVirtualPointerV1) Button(Time uint32, Button uint32, State uint32) error
- func (p *ZwlrVirtualPointerV1) Destroy() error
- func (p *ZwlrVirtualPointerV1) Dispatch(event *Event)
- func (p *ZwlrVirtualPointerV1) Frame() error
- func (p *ZwlrVirtualPointerV1) Motion(Time uint32, Dx float32, Dy float32) error
- func (p *ZwlrVirtualPointerV1) MotionAbsolute(Time uint32, X uint32, Y uint32, XExtent uint32, YExtent uint32) error
- type ZwpBufferParamsV1
- func (p *ZwpBufferParamsV1) Add(Fd uintptr, PlaneIdx uint32, Offset uint32, Stride uint32, ModifierHi uint32, ...) error
- func (p *ZwpBufferParamsV1) AddCreatedHandler(h ZwpBufferParamsV1CreatedHandler)
- func (p *ZwpBufferParamsV1) AddFailedHandler(h ZwpBufferParamsV1FailedHandler)
- func (p *ZwpBufferParamsV1) Create(Width int32, Height int32, Format uint32, Flags uint32) error
- func (p *ZwpBufferParamsV1) CreateImmed(Width int32, Height int32, Format uint32, Flags uint32) (*Buffer, error)
- func (p *ZwpBufferParamsV1) Destroy() error
- func (p *ZwpBufferParamsV1) Dispatch(event *Event)
- func (p *ZwpBufferParamsV1) RemoveCreatedHandler(h ZwpBufferParamsV1CreatedHandler)
- func (p *ZwpBufferParamsV1) RemoveFailedHandler(h ZwpBufferParamsV1FailedHandler)
- type ZwpBufferParamsV1CreatedEvent
- type ZwpBufferParamsV1CreatedHandler
- type ZwpBufferParamsV1FailedEvent
- type ZwpBufferParamsV1FailedHandler
- type ZwpConfinedPointerV1
- func (p *ZwpConfinedPointerV1) AddConfinedHandler(h ZwpConfinedPointerV1ConfinedHandler)
- func (p *ZwpConfinedPointerV1) AddUnconfinedHandler(h ZwpConfinedPointerV1UnconfinedHandler)
- func (p *ZwpConfinedPointerV1) Destroy() error
- func (p *ZwpConfinedPointerV1) Dispatch(event *Event)
- func (p *ZwpConfinedPointerV1) RemoveConfinedHandler(h ZwpConfinedPointerV1ConfinedHandler)
- func (p *ZwpConfinedPointerV1) RemoveUnconfinedHandler(h ZwpConfinedPointerV1UnconfinedHandler)
- func (p *ZwpConfinedPointerV1) SetRegion(Region *Region) error
- type ZwpConfinedPointerV1ConfinedEvent
- type ZwpConfinedPointerV1ConfinedHandler
- type ZwpConfinedPointerV1UnconfinedEvent
- type ZwpConfinedPointerV1UnconfinedHandler
- type ZwpDmabufFeedbackV1
- func (p *ZwpDmabufFeedbackV1) AddDoneHandler(h ZwpDmabufFeedbackV1DoneHandler)
- func (p *ZwpDmabufFeedbackV1) AddFormatTableHandler(h ZwpDmabufFeedbackV1FormatTableHandler)
- func (p *ZwpDmabufFeedbackV1) AddMainDeviceHandler(h ZwpDmabufFeedbackV1MainDeviceHandler)
- func (p *ZwpDmabufFeedbackV1) AddTrancheDoneHandler(h ZwpDmabufFeedbackV1TrancheDoneHandler)
- func (p *ZwpDmabufFeedbackV1) AddTrancheFlagsHandler(h ZwpDmabufFeedbackV1TrancheFlagsHandler)
- func (p *ZwpDmabufFeedbackV1) AddTrancheFormatsHandler(h ZwpDmabufFeedbackV1TrancheFormatsHandler)
- func (p *ZwpDmabufFeedbackV1) AddTrancheTargetDeviceHandler(h ZwpDmabufFeedbackV1TrancheTargetDeviceHandler)
- func (p *ZwpDmabufFeedbackV1) Destroy() error
- func (p *ZwpDmabufFeedbackV1) Dispatch(event *Event)
- func (p *ZwpDmabufFeedbackV1) EventFDs(opcode uint32) int
- func (p *ZwpDmabufFeedbackV1) RemoveDoneHandler(h ZwpDmabufFeedbackV1DoneHandler)
- func (p *ZwpDmabufFeedbackV1) RemoveFormatTableHandler(h ZwpDmabufFeedbackV1FormatTableHandler)
- func (p *ZwpDmabufFeedbackV1) RemoveMainDeviceHandler(h ZwpDmabufFeedbackV1MainDeviceHandler)
- func (p *ZwpDmabufFeedbackV1) RemoveTrancheDoneHandler(h ZwpDmabufFeedbackV1TrancheDoneHandler)
- func (p *ZwpDmabufFeedbackV1) RemoveTrancheFlagsHandler(h ZwpDmabufFeedbackV1TrancheFlagsHandler)
- func (p *ZwpDmabufFeedbackV1) RemoveTrancheFormatsHandler(h ZwpDmabufFeedbackV1TrancheFormatsHandler)
- func (p *ZwpDmabufFeedbackV1) RemoveTrancheTargetDeviceHandler(h ZwpDmabufFeedbackV1TrancheTargetDeviceHandler)
- type ZwpDmabufFeedbackV1DoneEvent
- type ZwpDmabufFeedbackV1DoneHandler
- type ZwpDmabufFeedbackV1FormatTableEvent
- type ZwpDmabufFeedbackV1FormatTableHandler
- type ZwpDmabufFeedbackV1MainDeviceEvent
- type ZwpDmabufFeedbackV1MainDeviceHandler
- type ZwpDmabufFeedbackV1TrancheDoneEvent
- type ZwpDmabufFeedbackV1TrancheDoneHandler
- type ZwpDmabufFeedbackV1TrancheFlagsEvent
- type ZwpDmabufFeedbackV1TrancheFlagsHandler
- type ZwpDmabufFeedbackV1TrancheFormatsEvent
- type ZwpDmabufFeedbackV1TrancheFormatsHandler
- type ZwpDmabufFeedbackV1TrancheTargetDeviceEvent
- type ZwpDmabufFeedbackV1TrancheTargetDeviceHandler
- type ZwpDmabufV1
- func (p *ZwpDmabufV1) AddFormatHandler(h ZwpDmabufV1FormatHandler)
- func (p *ZwpDmabufV1) AddModifierHandler(h ZwpDmabufV1ModifierHandler)
- func (p *ZwpDmabufV1) CreateParams() (*ZwpBufferParamsV1, error)
- func (p *ZwpDmabufV1) Destroy() error
- func (p *ZwpDmabufV1) Dispatch(event *Event)
- func (p *ZwpDmabufV1) GetDefaultFeedback() (*ZwpDmabufFeedbackV1, error)
- func (p *ZwpDmabufV1) GetSurfaceFeedback(Surface *Surface) (*ZwpDmabufFeedbackV1, error)
- func (p *ZwpDmabufV1) RemoveFormatHandler(h ZwpDmabufV1FormatHandler)
- func (p *ZwpDmabufV1) RemoveModifierHandler(h ZwpDmabufV1ModifierHandler)
- type ZwpDmabufV1FormatEvent
- type ZwpDmabufV1FormatHandler
- type ZwpDmabufV1ModifierEvent
- type ZwpDmabufV1ModifierHandler
- type ZwpGestureHoldV1
- func (p *ZwpGestureHoldV1) AddBeginHandler(h ZwpGestureHoldV1BeginHandler)
- func (p *ZwpGestureHoldV1) AddEndHandler(h ZwpGestureHoldV1EndHandler)
- func (p *ZwpGestureHoldV1) Destroy() error
- func (p *ZwpGestureHoldV1) Dispatch(event *Event)
- func (p *ZwpGestureHoldV1) RemoveBeginHandler(h ZwpGestureHoldV1BeginHandler)
- func (p *ZwpGestureHoldV1) RemoveEndHandler(h ZwpGestureHoldV1EndHandler)
- type ZwpGestureHoldV1BeginEvent
- type ZwpGestureHoldV1BeginHandler
- type ZwpGestureHoldV1EndEvent
- type ZwpGestureHoldV1EndHandler
- type ZwpGesturePinchV1
- func (p *ZwpGesturePinchV1) AddBeginHandler(h ZwpGesturePinchV1BeginHandler)
- func (p *ZwpGesturePinchV1) AddEndHandler(h ZwpGesturePinchV1EndHandler)
- func (p *ZwpGesturePinchV1) AddUpdateHandler(h ZwpGesturePinchV1UpdateHandler)
- func (p *ZwpGesturePinchV1) Destroy() error
- func (p *ZwpGesturePinchV1) Dispatch(event *Event)
- func (p *ZwpGesturePinchV1) RemoveBeginHandler(h ZwpGesturePinchV1BeginHandler)
- func (p *ZwpGesturePinchV1) RemoveEndHandler(h ZwpGesturePinchV1EndHandler)
- func (p *ZwpGesturePinchV1) RemoveUpdateHandler(h ZwpGesturePinchV1UpdateHandler)
- type ZwpGesturePinchV1BeginEvent
- type ZwpGesturePinchV1BeginHandler
- type ZwpGesturePinchV1EndEvent
- type ZwpGesturePinchV1EndHandler
- type ZwpGesturePinchV1UpdateEvent
- type ZwpGesturePinchV1UpdateHandler
- type ZwpGestureSwipeV1
- func (p *ZwpGestureSwipeV1) AddBeginHandler(h ZwpGestureSwipeV1BeginHandler)
- func (p *ZwpGestureSwipeV1) AddEndHandler(h ZwpGestureSwipeV1EndHandler)
- func (p *ZwpGestureSwipeV1) AddUpdateHandler(h ZwpGestureSwipeV1UpdateHandler)
- func (p *ZwpGestureSwipeV1) Destroy() error
- func (p *ZwpGestureSwipeV1) Dispatch(event *Event)
- func (p *ZwpGestureSwipeV1) RemoveBeginHandler(h ZwpGestureSwipeV1BeginHandler)
- func (p *ZwpGestureSwipeV1) RemoveEndHandler(h ZwpGestureSwipeV1EndHandler)
- func (p *ZwpGestureSwipeV1) RemoveUpdateHandler(h ZwpGestureSwipeV1UpdateHandler)
- type ZwpGestureSwipeV1BeginEvent
- type ZwpGestureSwipeV1BeginHandler
- type ZwpGestureSwipeV1EndEvent
- type ZwpGestureSwipeV1EndHandler
- type ZwpGestureSwipeV1UpdateEvent
- type ZwpGestureSwipeV1UpdateHandler
- type ZwpGesturesV1
- func (p *ZwpGesturesV1) Dispatch(event *Event)
- func (p *ZwpGesturesV1) GetHoldGesture(Pointer *Pointer) (*ZwpGestureHoldV1, error)
- func (p *ZwpGesturesV1) GetPinchGesture(Pointer *Pointer) (*ZwpGesturePinchV1, error)
- func (p *ZwpGesturesV1) GetSwipeGesture(Pointer *Pointer) (*ZwpGestureSwipeV1, error)
- func (p *ZwpGesturesV1) Release() error
- type ZwpInhibitManagerV1
- type ZwpInhibitorV1
- type ZwpKeyboardManagerV1
- type ZwpKeyboardV1
- func (p *ZwpKeyboardV1) Destroy() error
- func (p *ZwpKeyboardV1) Dispatch(event *Event)
- func (p *ZwpKeyboardV1) Key(Time uint32, Key uint32, State uint32) error
- func (p *ZwpKeyboardV1) Keymap(Format uint32, Fd uintptr, Size uint32) error
- func (p *ZwpKeyboardV1) Modifiers(ModsDepressed uint32, ModsLatched uint32, ModsLocked uint32, Group uint32) error
- type ZwpLockedPointerV1
- func (p *ZwpLockedPointerV1) AddLockedHandler(h ZwpLockedPointerV1LockedHandler)
- func (p *ZwpLockedPointerV1) AddUnlockedHandler(h ZwpLockedPointerV1UnlockedHandler)
- func (p *ZwpLockedPointerV1) Destroy() error
- func (p *ZwpLockedPointerV1) Dispatch(event *Event)
- func (p *ZwpLockedPointerV1) RemoveLockedHandler(h ZwpLockedPointerV1LockedHandler)
- func (p *ZwpLockedPointerV1) RemoveUnlockedHandler(h ZwpLockedPointerV1UnlockedHandler)
- func (p *ZwpLockedPointerV1) SetCursorPositionHint(SurfaceX float32, SurfaceY float32) error
- func (p *ZwpLockedPointerV1) SetRegion(Region *Region) error
- type ZwpLockedPointerV1LockedEvent
- type ZwpLockedPointerV1LockedHandler
- type ZwpLockedPointerV1UnlockedEvent
- type ZwpLockedPointerV1UnlockedHandler
- type ZwpPointerConstraintsV1
- func (p *ZwpPointerConstraintsV1) ConfinePointer(Surface *Surface, Pointer *Pointer, Region *Region, Lifetime uint32) (*ZwpConfinedPointerV1, error)
- func (p *ZwpPointerConstraintsV1) Destroy() error
- func (p *ZwpPointerConstraintsV1) Dispatch(event *Event)
- func (p *ZwpPointerConstraintsV1) LockPointer(Surface *Surface, Pointer *Pointer, Region *Region, Lifetime uint32) (*ZwpLockedPointerV1, error)
- type ZwpPrimarySelectionDeviceManagerV1
- func (p *ZwpPrimarySelectionDeviceManagerV1) CreateSource() (*ZwpPrimarySelectionSourceV1, error)
- func (p *ZwpPrimarySelectionDeviceManagerV1) Destroy() error
- func (p *ZwpPrimarySelectionDeviceManagerV1) Dispatch(event *Event)
- func (p *ZwpPrimarySelectionDeviceManagerV1) GetDevice(Seat *Seat) (*ZwpPrimarySelectionDeviceV1, error)
- type ZwpPrimarySelectionDeviceV1
- func (p *ZwpPrimarySelectionDeviceV1) AddDataOfferHandler(h ZwpPrimarySelectionDeviceV1DataOfferHandler)
- func (p *ZwpPrimarySelectionDeviceV1) AddSelectionHandler(h ZwpPrimarySelectionDeviceV1SelectionHandler)
- func (p *ZwpPrimarySelectionDeviceV1) Destroy() error
- func (p *ZwpPrimarySelectionDeviceV1) Dispatch(event *Event)
- func (p *ZwpPrimarySelectionDeviceV1) RemoveDataOfferHandler(h ZwpPrimarySelectionDeviceV1DataOfferHandler)
- func (p *ZwpPrimarySelectionDeviceV1) RemoveSelectionHandler(h ZwpPrimarySelectionDeviceV1SelectionHandler)
- func (p *ZwpPrimarySelectionDeviceV1) SetSelection(Source *ZwpPrimarySelectionSourceV1, Serial uint32) error
- type ZwpPrimarySelectionDeviceV1DataOfferEvent
- type ZwpPrimarySelectionDeviceV1DataOfferHandler
- type ZwpPrimarySelectionDeviceV1SelectionEvent
- type ZwpPrimarySelectionDeviceV1SelectionHandler
- type ZwpPrimarySelectionOfferV1
- func (p *ZwpPrimarySelectionOfferV1) AddOfferHandler(h ZwpPrimarySelectionOfferV1OfferHandler)
- func (p *ZwpPrimarySelectionOfferV1) Destroy() error
- func (p *ZwpPrimarySelectionOfferV1) Dispatch(event *Event)
- func (p *ZwpPrimarySelectionOfferV1) Receive(MimeType string, Fd uintptr) error
- func (p *ZwpPrimarySelectionOfferV1) RemoveOfferHandler(h ZwpPrimarySelectionOfferV1OfferHandler)
- type ZwpPrimarySelectionOfferV1OfferEvent
- type ZwpPrimarySelectionOfferV1OfferHandler
- type ZwpPrimarySelectionSourceV1
- func (p *ZwpPrimarySelectionSourceV1) AddCancelledHandler(h ZwpPrimarySelectionSourceV1CancelledHandler)
- func (p *ZwpPrimarySelectionSourceV1) AddSendHandler(h ZwpPrimarySelectionSourceV1SendHandler)
- func (p *ZwpPrimarySelectionSourceV1) Destroy() error
- func (p *ZwpPrimarySelectionSourceV1) Dispatch(event *Event)
- func (p *ZwpPrimarySelectionSourceV1) EventFDs(opcode uint32) int
- func (p *ZwpPrimarySelectionSourceV1) Offer(MimeType string) error
- func (p *ZwpPrimarySelectionSourceV1) RemoveCancelledHandler(h ZwpPrimarySelectionSourceV1CancelledHandler)
- func (p *ZwpPrimarySelectionSourceV1) RemoveSendHandler(h ZwpPrimarySelectionSourceV1SendHandler)
- type ZwpPrimarySelectionSourceV1CancelledEvent
- type ZwpPrimarySelectionSourceV1CancelledHandler
- type ZwpPrimarySelectionSourceV1SendEvent
- type ZwpPrimarySelectionSourceV1SendHandler
- type ZwpRelativePointerManagerV1
- type ZwpRelativePointerV1
- type ZwpRelativePointerV1MotionEvent
- type ZwpRelativePointerV1MotionHandler
- type ZwpShortcutsInhibitManagerV1
- type ZwpShortcutsInhibitorV1
- func (p *ZwpShortcutsInhibitorV1) AddActiveHandler(h ZwpShortcutsInhibitorV1ActiveHandler)
- func (p *ZwpShortcutsInhibitorV1) AddInactiveHandler(h ZwpShortcutsInhibitorV1InactiveHandler)
- func (p *ZwpShortcutsInhibitorV1) Destroy() error
- func (p *ZwpShortcutsInhibitorV1) Dispatch(event *Event)
- func (p *ZwpShortcutsInhibitorV1) RemoveActiveHandler(h ZwpShortcutsInhibitorV1ActiveHandler)
- func (p *ZwpShortcutsInhibitorV1) RemoveInactiveHandler(h ZwpShortcutsInhibitorV1InactiveHandler)
- type ZwpShortcutsInhibitorV1ActiveEvent
- type ZwpShortcutsInhibitorV1ActiveHandler
- type ZwpShortcutsInhibitorV1InactiveEvent
- type ZwpShortcutsInhibitorV1InactiveHandler
- type ZwpTabletManagerV2
- type ZwpTabletPadGroupV2
- func (p *ZwpTabletPadGroupV2) AddButtonsHandler(h ZwpTabletPadGroupV2ButtonsHandler)
- func (p *ZwpTabletPadGroupV2) AddDoneHandler(h ZwpTabletPadGroupV2DoneHandler)
- func (p *ZwpTabletPadGroupV2) AddModeSwitchHandler(h ZwpTabletPadGroupV2ModeSwitchHandler)
- func (p *ZwpTabletPadGroupV2) AddModesHandler(h ZwpTabletPadGroupV2ModesHandler)
- func (p *ZwpTabletPadGroupV2) AddRingHandler(h ZwpTabletPadGroupV2RingHandler)
- func (p *ZwpTabletPadGroupV2) AddStripHandler(h ZwpTabletPadGroupV2StripHandler)
- func (p *ZwpTabletPadGroupV2) Destroy() error
- func (p *ZwpTabletPadGroupV2) Dispatch(event *Event)
- func (p *ZwpTabletPadGroupV2) RemoveButtonsHandler(h ZwpTabletPadGroupV2ButtonsHandler)
- func (p *ZwpTabletPadGroupV2) RemoveDoneHandler(h ZwpTabletPadGroupV2DoneHandler)
- func (p *ZwpTabletPadGroupV2) RemoveModeSwitchHandler(h ZwpTabletPadGroupV2ModeSwitchHandler)
- func (p *ZwpTabletPadGroupV2) RemoveModesHandler(h ZwpTabletPadGroupV2ModesHandler)
- func (p *ZwpTabletPadGroupV2) RemoveRingHandler(h ZwpTabletPadGroupV2RingHandler)
- func (p *ZwpTabletPadGroupV2) RemoveStripHandler(h ZwpTabletPadGroupV2StripHandler)
- type ZwpTabletPadGroupV2ButtonsEvent
- type ZwpTabletPadGroupV2ButtonsHandler
- type ZwpTabletPadGroupV2DoneEvent
- type ZwpTabletPadGroupV2DoneHandler
- type ZwpTabletPadGroupV2ModeSwitchEvent
- type ZwpTabletPadGroupV2ModeSwitchHandler
- type ZwpTabletPadGroupV2ModesEvent
- type ZwpTabletPadGroupV2ModesHandler
- type ZwpTabletPadGroupV2RingEvent
- type ZwpTabletPadGroupV2RingHandler
- type ZwpTabletPadGroupV2StripEvent
- type ZwpTabletPadGroupV2StripHandler
- type ZwpTabletPadRingV2
- func (p *ZwpTabletPadRingV2) AddAngleHandler(h ZwpTabletPadRingV2AngleHandler)
- func (p *ZwpTabletPadRingV2) AddFrameHandler(h ZwpTabletPadRingV2FrameHandler)
- func (p *ZwpTabletPadRingV2) AddSourceHandler(h ZwpTabletPadRingV2SourceHandler)
- func (p *ZwpTabletPadRingV2) AddStopHandler(h ZwpTabletPadRingV2StopHandler)
- func (p *ZwpTabletPadRingV2) Destroy() error
- func (p *ZwpTabletPadRingV2) Dispatch(event *Event)
- func (p *ZwpTabletPadRingV2) RemoveAngleHandler(h ZwpTabletPadRingV2AngleHandler)
- func (p *ZwpTabletPadRingV2) RemoveFrameHandler(h ZwpTabletPadRingV2FrameHandler)
- func (p *ZwpTabletPadRingV2) RemoveSourceHandler(h ZwpTabletPadRingV2SourceHandler)
- func (p *ZwpTabletPadRingV2) RemoveStopHandler(h ZwpTabletPadRingV2StopHandler)
- func (p *ZwpTabletPadRingV2) SetFeedback(Description string, Serial uint32) error
- type ZwpTabletPadRingV2AngleEvent
- type ZwpTabletPadRingV2AngleHandler
- type ZwpTabletPadRingV2FrameEvent
- type ZwpTabletPadRingV2FrameHandler
- type ZwpTabletPadRingV2SourceEvent
- type ZwpTabletPadRingV2SourceHandler
- type ZwpTabletPadRingV2StopEvent
- type ZwpTabletPadRingV2StopHandler
- type ZwpTabletPadStripV2
- func (p *ZwpTabletPadStripV2) AddFrameHandler(h ZwpTabletPadStripV2FrameHandler)
- func (p *ZwpTabletPadStripV2) AddPositionHandler(h ZwpTabletPadStripV2PositionHandler)
- func (p *ZwpTabletPadStripV2) AddSourceHandler(h ZwpTabletPadStripV2SourceHandler)
- func (p *ZwpTabletPadStripV2) AddStopHandler(h ZwpTabletPadStripV2StopHandler)
- func (p *ZwpTabletPadStripV2) Destroy() error
- func (p *ZwpTabletPadStripV2) Dispatch(event *Event)
- func (p *ZwpTabletPadStripV2) RemoveFrameHandler(h ZwpTabletPadStripV2FrameHandler)
- func (p *ZwpTabletPadStripV2) RemovePositionHandler(h ZwpTabletPadStripV2PositionHandler)
- func (p *ZwpTabletPadStripV2) RemoveSourceHandler(h ZwpTabletPadStripV2SourceHandler)
- func (p *ZwpTabletPadStripV2) RemoveStopHandler(h ZwpTabletPadStripV2StopHandler)
- func (p *ZwpTabletPadStripV2) SetFeedback(Description string, Serial uint32) error
- type ZwpTabletPadStripV2FrameEvent
- type ZwpTabletPadStripV2FrameHandler
- type ZwpTabletPadStripV2PositionEvent
- type ZwpTabletPadStripV2PositionHandler
- type ZwpTabletPadStripV2SourceEvent
- type ZwpTabletPadStripV2SourceHandler
- type ZwpTabletPadStripV2StopEvent
- type ZwpTabletPadStripV2StopHandler
- type ZwpTabletPadV2
- func (p *ZwpTabletPadV2) AddButtonHandler(h ZwpTabletPadV2ButtonHandler)
- func (p *ZwpTabletPadV2) AddButtonsHandler(h ZwpTabletPadV2ButtonsHandler)
- func (p *ZwpTabletPadV2) AddDoneHandler(h ZwpTabletPadV2DoneHandler)
- func (p *ZwpTabletPadV2) AddEnterHandler(h ZwpTabletPadV2EnterHandler)
- func (p *ZwpTabletPadV2) AddGroupHandler(h ZwpTabletPadV2GroupHandler)
- func (p *ZwpTabletPadV2) AddLeaveHandler(h ZwpTabletPadV2LeaveHandler)
- func (p *ZwpTabletPadV2) AddPathHandler(h ZwpTabletPadV2PathHandler)
- func (p *ZwpTabletPadV2) AddRemovedHandler(h ZwpTabletPadV2RemovedHandler)
- func (p *ZwpTabletPadV2) Destroy() error
- func (p *ZwpTabletPadV2) Dispatch(event *Event)
- func (p *ZwpTabletPadV2) RemoveButtonHandler(h ZwpTabletPadV2ButtonHandler)
- func (p *ZwpTabletPadV2) RemoveButtonsHandler(h ZwpTabletPadV2ButtonsHandler)
- func (p *ZwpTabletPadV2) RemoveDoneHandler(h ZwpTabletPadV2DoneHandler)
- func (p *ZwpTabletPadV2) RemoveEnterHandler(h ZwpTabletPadV2EnterHandler)
- func (p *ZwpTabletPadV2) RemoveGroupHandler(h ZwpTabletPadV2GroupHandler)
- func (p *ZwpTabletPadV2) RemoveLeaveHandler(h ZwpTabletPadV2LeaveHandler)
- func (p *ZwpTabletPadV2) RemovePathHandler(h ZwpTabletPadV2PathHandler)
- func (p *ZwpTabletPadV2) RemoveRemovedHandler(h ZwpTabletPadV2RemovedHandler)
- func (p *ZwpTabletPadV2) SetFeedback(Button uint32, Description string, Serial uint32) error
- type ZwpTabletPadV2ButtonEvent
- type ZwpTabletPadV2ButtonHandler
- type ZwpTabletPadV2ButtonsEvent
- type ZwpTabletPadV2ButtonsHandler
- type ZwpTabletPadV2DoneEvent
- type ZwpTabletPadV2DoneHandler
- type ZwpTabletPadV2EnterEvent
- type ZwpTabletPadV2EnterHandler
- type ZwpTabletPadV2GroupEvent
- type ZwpTabletPadV2GroupHandler
- type ZwpTabletPadV2LeaveEvent
- type ZwpTabletPadV2LeaveHandler
- type ZwpTabletPadV2PathEvent
- type ZwpTabletPadV2PathHandler
- type ZwpTabletPadV2RemovedEvent
- type ZwpTabletPadV2RemovedHandler
- type ZwpTabletSeatV2
- func (p *ZwpTabletSeatV2) AddAddedHandler(h ZwpTabletSeatV2AddedHandler)
- func (p *ZwpTabletSeatV2) AddPadAddedHandler(h ZwpTabletSeatV2PadAddedHandler)
- func (p *ZwpTabletSeatV2) AddToolAddedHandler(h ZwpTabletSeatV2ToolAddedHandler)
- func (p *ZwpTabletSeatV2) Destroy() error
- func (p *ZwpTabletSeatV2) Dispatch(event *Event)
- func (p *ZwpTabletSeatV2) RemoveAddedHandler(h ZwpTabletSeatV2AddedHandler)
- func (p *ZwpTabletSeatV2) RemovePadAddedHandler(h ZwpTabletSeatV2PadAddedHandler)
- func (p *ZwpTabletSeatV2) RemoveToolAddedHandler(h ZwpTabletSeatV2ToolAddedHandler)
- type ZwpTabletSeatV2AddedEvent
- type ZwpTabletSeatV2AddedHandler
- type ZwpTabletSeatV2PadAddedEvent
- type ZwpTabletSeatV2PadAddedHandler
- type ZwpTabletSeatV2ToolAddedEvent
- type ZwpTabletSeatV2ToolAddedHandler
- type ZwpTabletToolV2
- func (p *ZwpTabletToolV2) AddButtonHandler(h ZwpTabletToolV2ButtonHandler)
- func (p *ZwpTabletToolV2) AddCapabilityHandler(h ZwpTabletToolV2CapabilityHandler)
- func (p *ZwpTabletToolV2) AddDistanceHandler(h ZwpTabletToolV2DistanceHandler)
- func (p *ZwpTabletToolV2) AddDoneHandler(h ZwpTabletToolV2DoneHandler)
- func (p *ZwpTabletToolV2) AddDownHandler(h ZwpTabletToolV2DownHandler)
- func (p *ZwpTabletToolV2) AddFrameHandler(h ZwpTabletToolV2FrameHandler)
- func (p *ZwpTabletToolV2) AddHardwareIdWacomHandler(h ZwpTabletToolV2HardwareIdWacomHandler)
- func (p *ZwpTabletToolV2) AddHardwareSerialHandler(h ZwpTabletToolV2HardwareSerialHandler)
- func (p *ZwpTabletToolV2) AddMotionHandler(h ZwpTabletToolV2MotionHandler)
- func (p *ZwpTabletToolV2) AddPressureHandler(h ZwpTabletToolV2PressureHandler)
- func (p *ZwpTabletToolV2) AddProximityInHandler(h ZwpTabletToolV2ProximityInHandler)
- func (p *ZwpTabletToolV2) AddProximityOutHandler(h ZwpTabletToolV2ProximityOutHandler)
- func (p *ZwpTabletToolV2) AddRemovedHandler(h ZwpTabletToolV2RemovedHandler)
- func (p *ZwpTabletToolV2) AddRotationHandler(h ZwpTabletToolV2RotationHandler)
- func (p *ZwpTabletToolV2) AddSliderHandler(h ZwpTabletToolV2SliderHandler)
- func (p *ZwpTabletToolV2) AddTiltHandler(h ZwpTabletToolV2TiltHandler)
- func (p *ZwpTabletToolV2) AddTypeHandler(h ZwpTabletToolV2TypeHandler)
- func (p *ZwpTabletToolV2) AddUpHandler(h ZwpTabletToolV2UpHandler)
- func (p *ZwpTabletToolV2) AddWheelHandler(h ZwpTabletToolV2WheelHandler)
- func (p *ZwpTabletToolV2) Destroy() error
- func (p *ZwpTabletToolV2) Dispatch(event *Event)
- func (p *ZwpTabletToolV2) RemoveButtonHandler(h ZwpTabletToolV2ButtonHandler)
- func (p *ZwpTabletToolV2) RemoveCapabilityHandler(h ZwpTabletToolV2CapabilityHandler)
- func (p *ZwpTabletToolV2) RemoveDistanceHandler(h ZwpTabletToolV2DistanceHandler)
- func (p *ZwpTabletToolV2) RemoveDoneHandler(h ZwpTabletToolV2DoneHandler)
- func (p *ZwpTabletToolV2) RemoveDownHandler(h ZwpTabletToolV2DownHandler)
- func (p *ZwpTabletToolV2) RemoveFrameHandler(h ZwpTabletToolV2FrameHandler)
- func (p *ZwpTabletToolV2) RemoveHardwareIdWacomHandler(h ZwpTabletToolV2HardwareIdWacomHandler)
- func (p *ZwpTabletToolV2) RemoveHardwareSerialHandler(h ZwpTabletToolV2HardwareSerialHandler)
- func (p *ZwpTabletToolV2) RemoveMotionHandler(h ZwpTabletToolV2MotionHandler)
- func (p *ZwpTabletToolV2) RemovePressureHandler(h ZwpTabletToolV2PressureHandler)
- func (p *ZwpTabletToolV2) RemoveProximityInHandler(h ZwpTabletToolV2ProximityInHandler)
- func (p *ZwpTabletToolV2) RemoveProximityOutHandler(h ZwpTabletToolV2ProximityOutHandler)
- func (p *ZwpTabletToolV2) RemoveRemovedHandler(h ZwpTabletToolV2RemovedHandler)
- func (p *ZwpTabletToolV2) RemoveRotationHandler(h ZwpTabletToolV2RotationHandler)
- func (p *ZwpTabletToolV2) RemoveSliderHandler(h ZwpTabletToolV2SliderHandler)
- func (p *ZwpTabletToolV2) RemoveTiltHandler(h ZwpTabletToolV2TiltHandler)
- func (p *ZwpTabletToolV2) RemoveTypeHandler(h ZwpTabletToolV2TypeHandler)
- func (p *ZwpTabletToolV2) RemoveUpHandler(h ZwpTabletToolV2UpHandler)
- func (p *ZwpTabletToolV2) RemoveWheelHandler(h ZwpTabletToolV2WheelHandler)
- func (p *ZwpTabletToolV2) SetCursor(Serial uint32, Surface *Surface, HotspotX int32, HotspotY int32) error
- type ZwpTabletToolV2ButtonEvent
- type ZwpTabletToolV2ButtonHandler
- type ZwpTabletToolV2CapabilityEvent
- type ZwpTabletToolV2CapabilityHandler
- type ZwpTabletToolV2DistanceEvent
- type ZwpTabletToolV2DistanceHandler
- type ZwpTabletToolV2DoneEvent
- type ZwpTabletToolV2DoneHandler
- type ZwpTabletToolV2DownEvent
- type ZwpTabletToolV2DownHandler
- type ZwpTabletToolV2FrameEvent
- type ZwpTabletToolV2FrameHandler
- type ZwpTabletToolV2HardwareIdWacomEvent
- type ZwpTabletToolV2HardwareIdWacomHandler
- type ZwpTabletToolV2HardwareSerialEvent
- type ZwpTabletToolV2HardwareSerialHandler
- type ZwpTabletToolV2MotionEvent
- type ZwpTabletToolV2MotionHandler
- type ZwpTabletToolV2PressureEvent
- type ZwpTabletToolV2PressureHandler
- type ZwpTabletToolV2ProximityInEvent
- type ZwpTabletToolV2ProximityInHandler
- type ZwpTabletToolV2ProximityOutEvent
- type ZwpTabletToolV2ProximityOutHandler
- type ZwpTabletToolV2RemovedEvent
- type ZwpTabletToolV2RemovedHandler
- type ZwpTabletToolV2RotationEvent
- type ZwpTabletToolV2RotationHandler
- type ZwpTabletToolV2SliderEvent
- type ZwpTabletToolV2SliderHandler
- type ZwpTabletToolV2TiltEvent
- type ZwpTabletToolV2TiltHandler
- type ZwpTabletToolV2TypeEvent
- type ZwpTabletToolV2TypeHandler
- type ZwpTabletToolV2UpEvent
- type ZwpTabletToolV2UpHandler
- type ZwpTabletToolV2WheelEvent
- type ZwpTabletToolV2WheelHandler
- type ZwpTabletV2
- func (p *ZwpTabletV2) AddDoneHandler(h ZwpTabletV2DoneHandler)
- func (p *ZwpTabletV2) AddIdHandler(h ZwpTabletV2IdHandler)
- func (p *ZwpTabletV2) AddNameHandler(h ZwpTabletV2NameHandler)
- func (p *ZwpTabletV2) AddPathHandler(h ZwpTabletV2PathHandler)
- func (p *ZwpTabletV2) AddRemovedHandler(h ZwpTabletV2RemovedHandler)
- func (p *ZwpTabletV2) Destroy() error
- func (p *ZwpTabletV2) Dispatch(event *Event)
- func (p *ZwpTabletV2) RemoveDoneHandler(h ZwpTabletV2DoneHandler)
- func (p *ZwpTabletV2) RemoveIdHandler(h ZwpTabletV2IdHandler)
- func (p *ZwpTabletV2) RemoveNameHandler(h ZwpTabletV2NameHandler)
- func (p *ZwpTabletV2) RemovePathHandler(h ZwpTabletV2PathHandler)
- func (p *ZwpTabletV2) RemoveRemovedHandler(h ZwpTabletV2RemovedHandler)
- type ZwpTabletV2DoneEvent
- type ZwpTabletV2DoneHandler
- type ZwpTabletV2IdEvent
- type ZwpTabletV2IdHandler
- type ZwpTabletV2NameEvent
- type ZwpTabletV2NameHandler
- type ZwpTabletV2PathEvent
- type ZwpTabletV2PathHandler
- type ZwpTabletV2RemovedEvent
- type ZwpTabletV2RemovedHandler
- type ZxdgExportedV2
- type ZxdgExportedV2HandleEvent
- type ZxdgExportedV2HandleHandler
- type ZxdgExporterV2
- type ZxdgImportedV2
- func (p *ZxdgImportedV2) AddDestroyedHandler(h ZxdgImportedV2DestroyedHandler)
- func (p *ZxdgImportedV2) Destroy() error
- func (p *ZxdgImportedV2) Dispatch(event *Event)
- func (p *ZxdgImportedV2) RemoveDestroyedHandler(h ZxdgImportedV2DestroyedHandler)
- func (p *ZxdgImportedV2) SetParentOf(Surface *Surface) error
- type ZxdgImportedV2DestroyedEvent
- type ZxdgImportedV2DestroyedHandler
- type ZxdgImporterV2
- type ZxdgOutputManagerV1
- type ZxdgOutputV1
- func (p *ZxdgOutputV1) AddDescriptionHandler(h ZxdgOutputV1DescriptionHandler)
- func (p *ZxdgOutputV1) AddDoneHandler(h ZxdgOutputV1DoneHandler)
- func (p *ZxdgOutputV1) AddLogicalPositionHandler(h ZxdgOutputV1LogicalPositionHandler)
- func (p *ZxdgOutputV1) AddLogicalSizeHandler(h ZxdgOutputV1LogicalSizeHandler)
- func (p *ZxdgOutputV1) AddNameHandler(h ZxdgOutputV1NameHandler)
- func (p *ZxdgOutputV1) Destroy() error
- func (p *ZxdgOutputV1) Dispatch(event *Event)
- func (p *ZxdgOutputV1) RemoveDescriptionHandler(h ZxdgOutputV1DescriptionHandler)
- func (p *ZxdgOutputV1) RemoveDoneHandler(h ZxdgOutputV1DoneHandler)
- func (p *ZxdgOutputV1) RemoveLogicalPositionHandler(h ZxdgOutputV1LogicalPositionHandler)
- func (p *ZxdgOutputV1) RemoveLogicalSizeHandler(h ZxdgOutputV1LogicalSizeHandler)
- func (p *ZxdgOutputV1) RemoveNameHandler(h ZxdgOutputV1NameHandler)
- type ZxdgOutputV1DescriptionEvent
- type ZxdgOutputV1DescriptionHandler
- type ZxdgOutputV1DoneEvent
- type ZxdgOutputV1DoneHandler
- type ZxdgOutputV1LogicalPositionEvent
- type ZxdgOutputV1LogicalPositionHandler
- type ZxdgOutputV1LogicalSizeEvent
- type ZxdgOutputV1LogicalSizeHandler
- type ZxdgOutputV1NameEvent
- type ZxdgOutputV1NameHandler
Constants ¶
const ActivationTokenV1ErrorAlreadyUsed = 0
ActivationTokenV1ErrorAlreadyUsed means The token has already been used previously
const CtmControlManagerV1ErrorInvalidMatrix = 0
CtmControlManagerV1ErrorInvalidMatrix means the matrix values are invalid.
const DataControlDeviceV1ErrorUsedSource = 1
DataControlDeviceV1ErrorUsedSource means source given to set_selection or set_primary_selection was already used before
const DataControlSourceV1ErrorInvalidOffer = 1
DataControlSourceV1ErrorInvalidOffer means offer sent after ext_data_control_device.set_selection
const ExtBackgroundEffectManagerV1CapabilityBlur = 1
ExtBackgroundEffectManagerV1CapabilityBlur means the compositor supports applying blur
const ExtBackgroundEffectManagerV1ErrorExtBackgroundEffectExists = 0
ExtBackgroundEffectManagerV1ErrorExtBackgroundEffectExists means the surface already has a background effect object
const ExtBackgroundEffectSurfaceV1ErrorSurfaceDestroyed = 0
ExtBackgroundEffectSurfaceV1ErrorSurfaceDestroyed means the associated surface has been destroyed
const GlobalShortcutsManagerV1ErrorAlreadyTaken = 0
GlobalShortcutsManagerV1ErrorAlreadyTaken means the app_id + id combination has already been registered.
const ImageCopyCaptureCursorSessionV1ErrorDuplicateSession = 1
ImageCopyCaptureCursorSessionV1ErrorDuplicateSession means get_capture_session sent twice
const ImageCopyCaptureFrameV1ErrorAlreadyCaptured = 3
ImageCopyCaptureFrameV1ErrorAlreadyCaptured means capture request has been sent
const ImageCopyCaptureFrameV1ErrorInvalidBufferDamage = 2
ImageCopyCaptureFrameV1ErrorInvalidBufferDamage means invalid buffer damage
const ImageCopyCaptureFrameV1ErrorNoBuffer = 1
ImageCopyCaptureFrameV1ErrorNoBuffer means capture sent without attach_buffer
const ImageCopyCaptureFrameV1FailureReasonBufferConstraints = 1
ImageCopyCaptureFrameV1FailureReasonBufferConstraints
const ImageCopyCaptureFrameV1FailureReasonStopped = 2
ImageCopyCaptureFrameV1FailureReasonStopped
const ImageCopyCaptureFrameV1FailureReasonUnknown = 0
ImageCopyCaptureFrameV1FailureReasonUnknown
const ImageCopyCaptureManagerV1ErrorInvalidOption = 1
ImageCopyCaptureManagerV1ErrorInvalidOption means invalid option flag
const ImageCopyCaptureManagerV1OptionsPaintCursors = 1
ImageCopyCaptureManagerV1OptionsPaintCursors means paint cursors onto captured frames
const ImageCopyCaptureSessionV1ErrorDuplicateFrame = 1
ImageCopyCaptureSessionV1ErrorDuplicateFrame means create_frame sent before destroying previous frame
const SessionLockSurfaceV1ErrorCommitBeforeFirstAck = 0
SessionLockSurfaceV1ErrorCommitBeforeFirstAck means surface committed before first ack_configure request
const SessionLockSurfaceV1ErrorDimensionsMismatch = 2
SessionLockSurfaceV1ErrorDimensionsMismatch means failed to match ack'd width/height
const SessionLockSurfaceV1ErrorInvalidSerial = 3
SessionLockSurfaceV1ErrorInvalidSerial means serial provided in ack_configure is invalid
const SessionLockSurfaceV1ErrorNullBuffer = 1
SessionLockSurfaceV1ErrorNullBuffer means surface committed with a null buffer
const SessionLockV1ErrorAlreadyConstructed = 4
SessionLockV1ErrorAlreadyConstructed means given wl_surface has a buffer attached or committed
const SessionLockV1ErrorDuplicateOutput = 3
SessionLockV1ErrorDuplicateOutput means given output already has a lock surface
const SessionLockV1ErrorInvalidDestroy = 0
SessionLockV1ErrorInvalidDestroy means attempted to destroy session lock while locked
const SessionLockV1ErrorInvalidUnlock = 1
SessionLockV1ErrorInvalidUnlock means unlock requested but locked event was never sent
const SessionLockV1ErrorRole = 2
SessionLockV1ErrorRole means given wl_surface already has a role
const ToplevelExportFrameV1ErrorAlreadyUsed = 0
ToplevelExportFrameV1ErrorAlreadyUsed means the object has already been used to copy a wl_buffer
const ToplevelExportFrameV1ErrorInvalidBuffer = 1
ToplevelExportFrameV1ErrorInvalidBuffer means buffer attributes are invalid
const ToplevelExportFrameV1FlagsYInvert = 1
ToplevelExportFrameV1FlagsYInvert means contents are y-inverted
const ToplevelIconV1ErrorImmutable = 2
ToplevelIconV1ErrorImmutable means the icon has already been assigned to a toplevel and must not be changed
const ToplevelIconV1ErrorInvalidBuffer = 1
ToplevelIconV1ErrorInvalidBuffer means the provided buffer does not satisfy requirements
const ToplevelIconV1ErrorNoBuffer = 3
ToplevelIconV1ErrorNoBuffer means the provided buffer has been destroyed before the toplevel icon
const WmDialogV1ErrorAlreadyUsed = 0
WmDialogV1ErrorAlreadyUsed means the xdg_toplevel object has already been used to create a xdg_dialog_v1
const WpAlphaModifierSurfaceV1ErrorNoSurface = 0
WpAlphaModifierSurfaceV1ErrorNoSurface means wl_surface was destroyed
const WpAlphaModifierV1ErrorAlreadyConstructed = 0
WpAlphaModifierV1ErrorAlreadyConstructed means wl_surface already has a alpha modifier object
const WpContentTypeManagerV1ErrorAlreadyConstructed = 0
WpContentTypeManagerV1ErrorAlreadyConstructed means wl_surface already has a content type object
const WpContentTypeV1TypeGame = 3
WpContentTypeV1TypeGame
const WpContentTypeV1TypeNone = 0
WpContentTypeV1TypeNone
const WpContentTypeV1TypePhoto = 1
WpContentTypeV1TypePhoto
const WpContentTypeV1TypeVideo = 2
WpContentTypeV1TypeVideo
const WpCursorShapeDeviceV1ErrorInvalidShape = 1
WpCursorShapeDeviceV1ErrorInvalidShape means the specified shape value is invalid
const WpCursorShapeDeviceV1ShapeAlias = 11
WpCursorShapeDeviceV1ShapeAlias means drag-and-drop: alias of/shortcut to something is to be created
const WpCursorShapeDeviceV1ShapeAllResize = 36
WpCursorShapeDeviceV1ShapeAllResize means resizing: something can be moved or resized in any direction (non-css value)
const WpCursorShapeDeviceV1ShapeAllScroll = 32
WpCursorShapeDeviceV1ShapeAllScroll means something can be scrolled in any direction
const WpCursorShapeDeviceV1ShapeCell = 7
WpCursorShapeDeviceV1ShapeCell means a cell or set of cells may be selected
const WpCursorShapeDeviceV1ShapeColResize = 30
WpCursorShapeDeviceV1ShapeColResize means resizing: that the item/column can be resized horizontally
const WpCursorShapeDeviceV1ShapeContextMenu = 2
WpCursorShapeDeviceV1ShapeContextMenu means a context menu is available for the object under the cursor
const WpCursorShapeDeviceV1ShapeCopy = 12
WpCursorShapeDeviceV1ShapeCopy means drag-and-drop: something is to be copied
const WpCursorShapeDeviceV1ShapeCrosshair = 8
WpCursorShapeDeviceV1ShapeCrosshair means simple crosshair
const WpCursorShapeDeviceV1ShapeDefault = 1
WpCursorShapeDeviceV1ShapeDefault means default cursor
const WpCursorShapeDeviceV1ShapeDndAsk = 35
WpCursorShapeDeviceV1ShapeDndAsk means drag-and-drop: the user will select which action will be carried out (non-css value)
const WpCursorShapeDeviceV1ShapeEResize = 18
WpCursorShapeDeviceV1ShapeEResize means resizing: the east border is to be moved
const WpCursorShapeDeviceV1ShapeEwResize = 26
WpCursorShapeDeviceV1ShapeEwResize means resizing: the east and west borders are to be moved
const WpCursorShapeDeviceV1ShapeGrab = 16
WpCursorShapeDeviceV1ShapeGrab means drag-and-drop: something can be grabbed
const WpCursorShapeDeviceV1ShapeGrabbing = 17
WpCursorShapeDeviceV1ShapeGrabbing means drag-and-drop: something is being grabbed
const WpCursorShapeDeviceV1ShapeHelp = 3
WpCursorShapeDeviceV1ShapeHelp means help is available for the object under the cursor
const WpCursorShapeDeviceV1ShapeMove = 13
WpCursorShapeDeviceV1ShapeMove means drag-and-drop: something is to be moved
const WpCursorShapeDeviceV1ShapeNResize = 19
WpCursorShapeDeviceV1ShapeNResize means resizing: the north border is to be moved
const WpCursorShapeDeviceV1ShapeNeResize = 20
WpCursorShapeDeviceV1ShapeNeResize means resizing: the north-east corner is to be moved
const WpCursorShapeDeviceV1ShapeNeswResize = 28
WpCursorShapeDeviceV1ShapeNeswResize means resizing: the north-east and south-west corners are to be moved
const WpCursorShapeDeviceV1ShapeNoDrop = 14
WpCursorShapeDeviceV1ShapeNoDrop means drag-and-drop: the dragged item cannot be dropped at the current cursor location
const WpCursorShapeDeviceV1ShapeNotAllowed = 15
WpCursorShapeDeviceV1ShapeNotAllowed means drag-and-drop: the requested action will not be carried out
const WpCursorShapeDeviceV1ShapeNsResize = 27
WpCursorShapeDeviceV1ShapeNsResize means resizing: the north and south borders are to be moved
const WpCursorShapeDeviceV1ShapeNwResize = 21
WpCursorShapeDeviceV1ShapeNwResize means resizing: the north-west corner is to be moved
const WpCursorShapeDeviceV1ShapeNwseResize = 29
WpCursorShapeDeviceV1ShapeNwseResize means resizing: the north-west and south-east corners are to be moved
const WpCursorShapeDeviceV1ShapePointer = 4
WpCursorShapeDeviceV1ShapePointer means pointer that indicates a link or another interactive element
const WpCursorShapeDeviceV1ShapeProgress = 5
WpCursorShapeDeviceV1ShapeProgress means progress indicator
const WpCursorShapeDeviceV1ShapeRowResize = 31
WpCursorShapeDeviceV1ShapeRowResize means resizing: that the item/row can be resized vertically
const WpCursorShapeDeviceV1ShapeSResize = 22
WpCursorShapeDeviceV1ShapeSResize means resizing: the south border is to be moved
const WpCursorShapeDeviceV1ShapeSeResize = 23
WpCursorShapeDeviceV1ShapeSeResize means resizing: the south-east corner is to be moved
const WpCursorShapeDeviceV1ShapeSwResize = 24
WpCursorShapeDeviceV1ShapeSwResize means resizing: the south-west corner is to be moved
const WpCursorShapeDeviceV1ShapeText = 9
WpCursorShapeDeviceV1ShapeText means text may be selected
const WpCursorShapeDeviceV1ShapeVerticalText = 10
WpCursorShapeDeviceV1ShapeVerticalText means vertical text may be selected
const WpCursorShapeDeviceV1ShapeWResize = 25
WpCursorShapeDeviceV1ShapeWResize means resizing: the west border is to be moved
const WpCursorShapeDeviceV1ShapeWait = 6
WpCursorShapeDeviceV1ShapeWait means program is busy, user should wait
const WpCursorShapeDeviceV1ShapeZoomIn = 33
WpCursorShapeDeviceV1ShapeZoomIn means something can be zoomed in
const WpCursorShapeDeviceV1ShapeZoomOut = 34
WpCursorShapeDeviceV1ShapeZoomOut means something can be zoomed out
const WpDrmSyncobjManagerV1ErrorInvalidTimeline = 1
WpDrmSyncobjManagerV1ErrorInvalidTimeline means the timeline object could not be imported
const WpDrmSyncobjManagerV1ErrorSurfaceExists = 0
WpDrmSyncobjManagerV1ErrorSurfaceExists means the surface already has a synchronization object associated
const WpDrmSyncobjSurfaceV1ErrorConflictingPoints = 6
WpDrmSyncobjSurfaceV1ErrorConflictingPoints means acquire and release timeline points are in conflict
const WpDrmSyncobjSurfaceV1ErrorNoAcquirePoint = 4
WpDrmSyncobjSurfaceV1ErrorNoAcquirePoint means no acquire timeline point was set
const WpDrmSyncobjSurfaceV1ErrorNoBuffer = 3
WpDrmSyncobjSurfaceV1ErrorNoBuffer means no buffer was attached
const WpDrmSyncobjSurfaceV1ErrorNoReleasePoint = 5
WpDrmSyncobjSurfaceV1ErrorNoReleasePoint means no release timeline point was set
const WpDrmSyncobjSurfaceV1ErrorNoSurface = 1
WpDrmSyncobjSurfaceV1ErrorNoSurface means the associated wl_surface was destroyed
const WpDrmSyncobjSurfaceV1ErrorUnsupportedBuffer = 2
WpDrmSyncobjSurfaceV1ErrorUnsupportedBuffer means the buffer does not support explicit synchronization
const WpErrorInvalidFlag = 1
WpErrorInvalidFlag means invalid flag
const WpErrorInvalidTimestamp = 0
WpErrorInvalidTimestamp means invalid value in tv_nsec
const WpErrorViewportExists = 0
WpErrorViewportExists means the surface already has a viewport object associated
const WpPresentationFeedbackKindHwClock = 0x2
WpPresentationFeedbackKindHwClock
const WpPresentationFeedbackKindHwCompletion = 0x4
WpPresentationFeedbackKindHwCompletion
const WpPresentationFeedbackKindVsync = 0x1
WpPresentationFeedbackKindVsync
const WpPresentationFeedbackKindZeroCopy = 0x8
WpPresentationFeedbackKindZeroCopy
const WpScaleManagerV1ErrorScaleExists = 0
WpScaleManagerV1ErrorScaleExists means the surface already has a fractional_scale object associated
const WpViewportErrorBadSize = 1
WpViewportErrorBadSize means destination size is not integer
const WpViewportErrorBadValue = 0
WpViewportErrorBadValue means negative or zero values in width or height
const WpViewportErrorNoSurface = 3
WpViewportErrorNoSurface means the wl_surface was destroyed
const WpViewportErrorOutOfBuffer = 2
WpViewportErrorOutOfBuffer means source rectangle extends outside of the content area
const ZwlrDataControlDeviceV1ErrorUsedSource = 1
ZwlrDataControlDeviceV1ErrorUsedSource means source given to set_selection or set_primary_selection was already used before
const ZwlrDataControlSourceV1ErrorInvalidOffer = 1
ZwlrDataControlSourceV1ErrorInvalidOffer means offer sent after wlr_data_control_device.set_selection
const ZwlrForeignToplevelHandleV1ErrorInvalidRectangle = 0
ZwlrForeignToplevelHandleV1ErrorInvalidRectangle means the provided rectangle is invalid
const ZwlrForeignToplevelHandleV1StateActivated = 2
ZwlrForeignToplevelHandleV1StateActivated means the toplevel is active
const ZwlrForeignToplevelHandleV1StateFullscreen = 3
ZwlrForeignToplevelHandleV1StateFullscreen means the toplevel is fullscreen
const ZwlrForeignToplevelHandleV1StateMaximized = 0
ZwlrForeignToplevelHandleV1StateMaximized means the toplevel is maximized
const ZwlrForeignToplevelHandleV1StateMinimized = 1
ZwlrForeignToplevelHandleV1StateMinimized means the toplevel is minimized
const ZwlrGammaControlV1ErrorInvalidGamma = 1
ZwlrGammaControlV1ErrorInvalidGamma means invalid gamma tables
const ZwlrLayerShellV1ErrorAlreadyConstructed = 2
ZwlrLayerShellV1ErrorAlreadyConstructed means wl_surface has a buffer attached or committed
const ZwlrLayerShellV1ErrorInvalidLayer = 1
ZwlrLayerShellV1ErrorInvalidLayer means layer value is invalid
const ZwlrLayerShellV1ErrorRole = 0
ZwlrLayerShellV1ErrorRole means wl_surface has another role
const ZwlrLayerShellV1LayerBackground = 0
ZwlrLayerShellV1LayerBackground
const ZwlrLayerShellV1LayerBottom = 1
ZwlrLayerShellV1LayerBottom
const ZwlrLayerShellV1LayerOverlay = 3
ZwlrLayerShellV1LayerOverlay
const ZwlrLayerShellV1LayerTop = 2
ZwlrLayerShellV1LayerTop
const ZwlrLayerSurfaceV1AnchorBottom = 2
ZwlrLayerSurfaceV1AnchorBottom means the bottom edge of the anchor rectangle
const ZwlrLayerSurfaceV1AnchorLeft = 4
ZwlrLayerSurfaceV1AnchorLeft means the left edge of the anchor rectangle
const ZwlrLayerSurfaceV1AnchorRight = 8
ZwlrLayerSurfaceV1AnchorRight means the right edge of the anchor rectangle
const ZwlrLayerSurfaceV1AnchorTop = 1
ZwlrLayerSurfaceV1AnchorTop means the top edge of the anchor rectangle
const ZwlrLayerSurfaceV1ErrorInvalidAnchor = 2
ZwlrLayerSurfaceV1ErrorInvalidAnchor means anchor bitfield is invalid
const ZwlrLayerSurfaceV1ErrorInvalidKeyboardInteractivity = 3
ZwlrLayerSurfaceV1ErrorInvalidKeyboardInteractivity means keyboard interactivity is invalid
const ZwlrLayerSurfaceV1ErrorInvalidSize = 1
ZwlrLayerSurfaceV1ErrorInvalidSize means size is invalid
const ZwlrLayerSurfaceV1ErrorInvalidSurfaceState = 0
ZwlrLayerSurfaceV1ErrorInvalidSurfaceState means provided surface state is invalid
const ZwlrLayerSurfaceV1KeyboardInteractivityExclusive = 1
ZwlrLayerSurfaceV1KeyboardInteractivityExclusive
const ZwlrLayerSurfaceV1KeyboardInteractivityNone = 0
ZwlrLayerSurfaceV1KeyboardInteractivityNone
const ZwlrLayerSurfaceV1KeyboardInteractivityOnDemand = 2
ZwlrLayerSurfaceV1KeyboardInteractivityOnDemand
const ZwlrScreencopyFrameV1ErrorAlreadyUsed = 0
ZwlrScreencopyFrameV1ErrorAlreadyUsed means the object has already been used to copy a wl_buffer
const ZwlrScreencopyFrameV1ErrorInvalidBuffer = 1
ZwlrScreencopyFrameV1ErrorInvalidBuffer means buffer attributes are invalid
const ZwlrScreencopyFrameV1FlagsYInvert = 1
ZwlrScreencopyFrameV1FlagsYInvert means contents are y-inverted
const ZwlrVirtualPointerV1ErrorInvalidAxis = 0
ZwlrVirtualPointerV1ErrorInvalidAxis means client sent invalid axis enumeration value
const ZwlrVirtualPointerV1ErrorInvalidAxisSource = 1
ZwlrVirtualPointerV1ErrorInvalidAxisSource means client sent invalid axis source enumeration value
const ZwpBufferParamsV1ErrorAlreadyUsed = 0
ZwpBufferParamsV1ErrorAlreadyUsed means the dmabuf_batch object has already been used to create a wl_buffer
const ZwpBufferParamsV1ErrorIncomplete = 3
ZwpBufferParamsV1ErrorIncomplete means missing or too many planes to create a buffer
const ZwpBufferParamsV1ErrorInvalidDimensions = 5
ZwpBufferParamsV1ErrorInvalidDimensions means invalid width or height
const ZwpBufferParamsV1ErrorInvalidFormat = 4
ZwpBufferParamsV1ErrorInvalidFormat means format not supported
const ZwpBufferParamsV1ErrorInvalidWlBuffer = 7
ZwpBufferParamsV1ErrorInvalidWlBuffer means invalid wl_buffer resulted from importing dmabufs via the create_immed request on given buffer_params
const ZwpBufferParamsV1ErrorOutOfBounds = 6
ZwpBufferParamsV1ErrorOutOfBounds means offset + stride * height goes out of dmabuf bounds
const ZwpBufferParamsV1ErrorPlaneIdx = 1
ZwpBufferParamsV1ErrorPlaneIdx means plane index out of bounds
const ZwpBufferParamsV1ErrorPlaneSet = 2
ZwpBufferParamsV1ErrorPlaneSet means the plane index was already set
const ZwpBufferParamsV1FlagsBottomFirst = 4
ZwpBufferParamsV1FlagsBottomFirst means bottom field first
const ZwpBufferParamsV1FlagsInterlaced = 2
ZwpBufferParamsV1FlagsInterlaced means content is interlaced
const ZwpBufferParamsV1FlagsYInvert = 1
ZwpBufferParamsV1FlagsYInvert means contents are y-inverted
const ZwpDmabufFeedbackV1TrancheFlagsScanout = 1
ZwpDmabufFeedbackV1TrancheFlagsScanout means direct scan-out tranche
ZwpKeyboardManagerV1ErrorUnauthorized means client not authorized to use the interface
const ZwpKeyboardV1ErrorNoKeymap = 0
ZwpKeyboardV1ErrorNoKeymap means No keymap was set
const ZwpPointerConstraintsV1ErrorAlreadyConstrained = 1
ZwpPointerConstraintsV1ErrorAlreadyConstrained means pointer constraint already requested on that surface
const ZwpPointerConstraintsV1LifetimeOneshot = 1
ZwpPointerConstraintsV1LifetimeOneshot
const ZwpPointerConstraintsV1LifetimePersistent = 2
ZwpPointerConstraintsV1LifetimePersistent
const ZwpShortcutsInhibitManagerV1ErrorAlreadyInhibited = 0
ZwpShortcutsInhibitManagerV1ErrorAlreadyInhibited means the shortcuts are already inhibited for this surface
const ZwpTabletPadRingV2SourceFinger = 1
ZwpTabletPadRingV2SourceFinger means finger
const ZwpTabletPadStripV2SourceFinger = 1
ZwpTabletPadStripV2SourceFinger means finger
const ZwpTabletPadV2ButtonStatePressed = 1
ZwpTabletPadV2ButtonStatePressed means the button is pressed
const ZwpTabletPadV2ButtonStateReleased = 0
ZwpTabletPadV2ButtonStateReleased means the button is not pressed
const ZwpTabletToolV2ButtonStatePressed = 1
ZwpTabletToolV2ButtonStatePressed means button is pressed
const ZwpTabletToolV2ButtonStateReleased = 0
ZwpTabletToolV2ButtonStateReleased means button is not pressed
const ZwpTabletToolV2CapabilityDistance = 3
ZwpTabletToolV2CapabilityDistance means Distance axis
const ZwpTabletToolV2CapabilityPressure = 2
ZwpTabletToolV2CapabilityPressure means Pressure axis
const ZwpTabletToolV2CapabilityRotation = 4
ZwpTabletToolV2CapabilityRotation means Z-rotation axis
const ZwpTabletToolV2CapabilitySlider = 5
ZwpTabletToolV2CapabilitySlider means Slider axis
const ZwpTabletToolV2CapabilityTilt = 1
ZwpTabletToolV2CapabilityTilt means Tilt axes
const ZwpTabletToolV2CapabilityWheel = 6
ZwpTabletToolV2CapabilityWheel means Wheel axis
const ZwpTabletToolV2ErrorRole = 0
ZwpTabletToolV2ErrorRole means given wl_surface has another role
const ZwpTabletToolV2TypeAirbrush = 0x144
ZwpTabletToolV2TypeAirbrush means Airbrush
const ZwpTabletToolV2TypeBrush = 0x142
ZwpTabletToolV2TypeBrush means Brush
const ZwpTabletToolV2TypeEraser = 0x141
ZwpTabletToolV2TypeEraser means Eraser
const ZwpTabletToolV2TypeFinger = 0x145
ZwpTabletToolV2TypeFinger means Finger
const ZwpTabletToolV2TypeLens = 0x147
ZwpTabletToolV2TypeLens means Lens
const ZwpTabletToolV2TypeMouse = 0x146
ZwpTabletToolV2TypeMouse means Mouse
const ZwpTabletToolV2TypePen = 0x140
ZwpTabletToolV2TypePen means Pen
const ZwpTabletToolV2TypePencil = 0x143
ZwpTabletToolV2TypePencil means Pencil
const ZxdgExporterV2ErrorInvalidSurface = 0
ZxdgExporterV2ErrorInvalidSurface means surface is not an xdg_toplevel
const ZxdgImportedV2ErrorInvalidSurface = 0
ZxdgImportedV2ErrorInvalidSurface means surface is not an xdg_toplevel
Variables ¶
This section is empty.
Functions ¶
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 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 ¶
func (p *CtmControlManagerV1) AddBlockedHandler(h CtmControlManagerV1BlockedHandler)
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
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 ¶
func (p *DataControlDeviceV1) AddFinishedHandler(h DataControlDeviceV1FinishedHandler)
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 ¶
func (p *DataControlSourceV1) AddSendHandler(h DataControlSourceV1SendHandler)
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 ¶
NewDialogV1 is a constructor for the DialogV1 object
func (*DialogV1) UnsetModal ¶
UnsetModal mark dialog as not modal
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 ¶
func (p *ExtBackgroundEffectManagerV1) AddCapabilitiesHandler(h ExtBackgroundEffectManagerV1CapabilitiesHandler)
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 ¶
func (p *ExtBackgroundEffectManagerV1) RemoveCapabilitiesHandler(h ExtBackgroundEffectManagerV1CapabilitiesHandler)
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 ¶
func (p *ExtIdleNotificationV1) AddIdledHandler(h ExtIdleNotificationV1IdledHandler)
AddIdledHandler adds the Idled handler
func (*ExtIdleNotificationV1) AddResumedHandler ¶
func (p *ExtIdleNotificationV1) AddResumedHandler(h ExtIdleNotificationV1ResumedHandler)
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 ¶
func (p *ExtIdleNotificationV1) RemoveIdledHandler(h ExtIdleNotificationV1IdledHandler)
RemoveIdledHandler removes the Idled handler
func (*ExtIdleNotificationV1) RemoveResumedHandler ¶
func (p *ExtIdleNotificationV1) RemoveResumedHandler(h ExtIdleNotificationV1ResumedHandler)
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 ¶
func (p *ForeignToplevelHandleV1) AddAppIdHandler(h ForeignToplevelHandleV1AppIdHandler)
AddAppIdHandler adds the AppId handler
func (*ForeignToplevelHandleV1) AddClosedHandler ¶
func (p *ForeignToplevelHandleV1) AddClosedHandler(h ForeignToplevelHandleV1ClosedHandler)
AddClosedHandler adds the Closed handler
func (*ForeignToplevelHandleV1) AddDoneHandler ¶
func (p *ForeignToplevelHandleV1) AddDoneHandler(h ForeignToplevelHandleV1DoneHandler)
AddDoneHandler adds the Done handler
func (*ForeignToplevelHandleV1) AddIdentifierHandler ¶
func (p *ForeignToplevelHandleV1) AddIdentifierHandler(h ForeignToplevelHandleV1IdentifierHandler)
AddIdentifierHandler adds the Identifier handler
func (*ForeignToplevelHandleV1) AddTitleHandler ¶
func (p *ForeignToplevelHandleV1) AddTitleHandler(h ForeignToplevelHandleV1TitleHandler)
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 ¶
func (p *ForeignToplevelHandleV1) RemoveAppIdHandler(h ForeignToplevelHandleV1AppIdHandler)
RemoveAppIdHandler removes the AppId handler
func (*ForeignToplevelHandleV1) RemoveClosedHandler ¶
func (p *ForeignToplevelHandleV1) RemoveClosedHandler(h ForeignToplevelHandleV1ClosedHandler)
RemoveClosedHandler removes the Closed handler
func (*ForeignToplevelHandleV1) RemoveDoneHandler ¶
func (p *ForeignToplevelHandleV1) RemoveDoneHandler(h ForeignToplevelHandleV1DoneHandler)
RemoveDoneHandler removes the Done handler
func (*ForeignToplevelHandleV1) RemoveIdentifierHandler ¶
func (p *ForeignToplevelHandleV1) RemoveIdentifierHandler(h ForeignToplevelHandleV1IdentifierHandler)
RemoveIdentifierHandler removes the Identifier handler
func (*ForeignToplevelHandleV1) RemoveTitleHandler ¶
func (p *ForeignToplevelHandleV1) RemoveTitleHandler(h ForeignToplevelHandleV1TitleHandler)
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 ¶
func (p *ForeignToplevelImageCaptureSourceManagerV1) CreateSource(ToplevelHandle *ForeignToplevelHandleV1) (*ImageCaptureSourceV1, error)
CreateSource create source object for foreign toplevel
func (*ForeignToplevelImageCaptureSourceManagerV1) Destroy ¶
func (p *ForeignToplevelImageCaptureSourceManagerV1) Destroy() error
Destroy delete this object
func (*ForeignToplevelImageCaptureSourceManagerV1) Dispatch ¶
func (p *ForeignToplevelImageCaptureSourceManagerV1) Dispatch(event *Event)
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 ¶
func (p *ForeignToplevelListV1) AddFinishedHandler(h ForeignToplevelListV1FinishedHandler)
AddFinishedHandler adds the Finished handler
func (*ForeignToplevelListV1) AddToplevelHandler ¶
func (p *ForeignToplevelListV1) AddToplevelHandler(h ForeignToplevelListV1ToplevelHandler)
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 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 ¶
func (p *ImageCopyCaptureCursorSessionV1) AddEnterHandler(h ImageCopyCaptureCursorSessionV1EnterHandler)
AddEnterHandler adds the Enter handler
func (*ImageCopyCaptureCursorSessionV1) AddHotspotHandler ¶
func (p *ImageCopyCaptureCursorSessionV1) AddHotspotHandler(h ImageCopyCaptureCursorSessionV1HotspotHandler)
AddHotspotHandler adds the Hotspot handler
func (*ImageCopyCaptureCursorSessionV1) AddLeaveHandler ¶
func (p *ImageCopyCaptureCursorSessionV1) AddLeaveHandler(h ImageCopyCaptureCursorSessionV1LeaveHandler)
AddLeaveHandler adds the Leave handler
func (*ImageCopyCaptureCursorSessionV1) AddPositionHandler ¶
func (p *ImageCopyCaptureCursorSessionV1) AddPositionHandler(h ImageCopyCaptureCursorSessionV1PositionHandler)
AddPositionHandler adds the Position handler
func (*ImageCopyCaptureCursorSessionV1) Destroy ¶
func (p *ImageCopyCaptureCursorSessionV1) Destroy() error
Destroy delete this object
func (*ImageCopyCaptureCursorSessionV1) Dispatch ¶
func (p *ImageCopyCaptureCursorSessionV1) Dispatch(event *Event)
Dispatch dispatches event for object ImageCopyCaptureCursorSessionV1
func (*ImageCopyCaptureCursorSessionV1) GetCaptureSession ¶
func (p *ImageCopyCaptureCursorSessionV1) GetCaptureSession() (*ImageCopyCaptureSessionV1, error)
GetCaptureSession get image copy capturer session
func (*ImageCopyCaptureCursorSessionV1) RemoveEnterHandler ¶
func (p *ImageCopyCaptureCursorSessionV1) RemoveEnterHandler(h ImageCopyCaptureCursorSessionV1EnterHandler)
RemoveEnterHandler removes the Enter handler
func (*ImageCopyCaptureCursorSessionV1) RemoveHotspotHandler ¶
func (p *ImageCopyCaptureCursorSessionV1) RemoveHotspotHandler(h ImageCopyCaptureCursorSessionV1HotspotHandler)
RemoveHotspotHandler removes the Hotspot handler
func (*ImageCopyCaptureCursorSessionV1) RemoveLeaveHandler ¶
func (p *ImageCopyCaptureCursorSessionV1) RemoveLeaveHandler(h ImageCopyCaptureCursorSessionV1LeaveHandler)
RemoveLeaveHandler removes the Leave handler
func (*ImageCopyCaptureCursorSessionV1) RemovePositionHandler ¶
func (p *ImageCopyCaptureCursorSessionV1) RemovePositionHandler(h ImageCopyCaptureCursorSessionV1PositionHandler)
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 ¶
func (p *ImageCopyCaptureFrameV1) AddDamageHandler(h ImageCopyCaptureFrameV1DamageHandler)
AddDamageHandler adds the Damage handler
func (*ImageCopyCaptureFrameV1) AddFailedHandler ¶
func (p *ImageCopyCaptureFrameV1) AddFailedHandler(h ImageCopyCaptureFrameV1FailedHandler)
AddFailedHandler adds the Failed handler
func (*ImageCopyCaptureFrameV1) AddPresentationTimeHandler ¶
func (p *ImageCopyCaptureFrameV1) AddPresentationTimeHandler(h ImageCopyCaptureFrameV1PresentationTimeHandler)
AddPresentationTimeHandler adds the PresentationTime handler
func (*ImageCopyCaptureFrameV1) AddReadyHandler ¶
func (p *ImageCopyCaptureFrameV1) AddReadyHandler(h ImageCopyCaptureFrameV1ReadyHandler)
AddReadyHandler adds the Ready handler
func (*ImageCopyCaptureFrameV1) AddTransformHandler ¶
func (p *ImageCopyCaptureFrameV1) AddTransformHandler(h ImageCopyCaptureFrameV1TransformHandler)
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 ¶
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 ¶
func (p *ImageCopyCaptureFrameV1) RemoveDamageHandler(h ImageCopyCaptureFrameV1DamageHandler)
RemoveDamageHandler removes the Damage handler
func (*ImageCopyCaptureFrameV1) RemoveFailedHandler ¶
func (p *ImageCopyCaptureFrameV1) RemoveFailedHandler(h ImageCopyCaptureFrameV1FailedHandler)
RemoveFailedHandler removes the Failed handler
func (*ImageCopyCaptureFrameV1) RemovePresentationTimeHandler ¶
func (p *ImageCopyCaptureFrameV1) RemovePresentationTimeHandler(h ImageCopyCaptureFrameV1PresentationTimeHandler)
RemovePresentationTimeHandler removes the PresentationTime handler
func (*ImageCopyCaptureFrameV1) RemoveReadyHandler ¶
func (p *ImageCopyCaptureFrameV1) RemoveReadyHandler(h ImageCopyCaptureFrameV1ReadyHandler)
RemoveReadyHandler removes the Ready handler
func (*ImageCopyCaptureFrameV1) RemoveTransformHandler ¶
func (p *ImageCopyCaptureFrameV1) RemoveTransformHandler(h ImageCopyCaptureFrameV1TransformHandler)
RemoveTransformHandler removes the Transform handler
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 ¶
func (p *ImageCopyCaptureManagerV1) CreateSession(Source *ImageCaptureSourceV1, Options uint32) (*ImageCopyCaptureSessionV1, error)
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 ¶
func (p *ImageCopyCaptureSessionV1) AddBufferSizeHandler(h ImageCopyCaptureSessionV1BufferSizeHandler)
AddBufferSizeHandler adds the BufferSize handler
func (*ImageCopyCaptureSessionV1) AddDmabufDeviceHandler ¶
func (p *ImageCopyCaptureSessionV1) AddDmabufDeviceHandler(h ImageCopyCaptureSessionV1DmabufDeviceHandler)
AddDmabufDeviceHandler adds the DmabufDevice handler
func (*ImageCopyCaptureSessionV1) AddDmabufFormatHandler ¶
func (p *ImageCopyCaptureSessionV1) AddDmabufFormatHandler(h ImageCopyCaptureSessionV1DmabufFormatHandler)
AddDmabufFormatHandler adds the DmabufFormat handler
func (*ImageCopyCaptureSessionV1) AddDoneHandler ¶
func (p *ImageCopyCaptureSessionV1) AddDoneHandler(h ImageCopyCaptureSessionV1DoneHandler)
AddDoneHandler adds the Done handler
func (*ImageCopyCaptureSessionV1) AddShmFormatHandler ¶
func (p *ImageCopyCaptureSessionV1) AddShmFormatHandler(h ImageCopyCaptureSessionV1ShmFormatHandler)
AddShmFormatHandler adds the ShmFormat handler
func (*ImageCopyCaptureSessionV1) AddStoppedHandler ¶
func (p *ImageCopyCaptureSessionV1) AddStoppedHandler(h ImageCopyCaptureSessionV1StoppedHandler)
AddStoppedHandler adds the Stopped handler
func (*ImageCopyCaptureSessionV1) CreateFrame ¶
func (p *ImageCopyCaptureSessionV1) CreateFrame() (*ImageCopyCaptureFrameV1, error)
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 ¶
func (p *ImageCopyCaptureSessionV1) RemoveBufferSizeHandler(h ImageCopyCaptureSessionV1BufferSizeHandler)
RemoveBufferSizeHandler removes the BufferSize handler
func (*ImageCopyCaptureSessionV1) RemoveDmabufDeviceHandler ¶
func (p *ImageCopyCaptureSessionV1) RemoveDmabufDeviceHandler(h ImageCopyCaptureSessionV1DmabufDeviceHandler)
RemoveDmabufDeviceHandler removes the DmabufDevice handler
func (*ImageCopyCaptureSessionV1) RemoveDmabufFormatHandler ¶
func (p *ImageCopyCaptureSessionV1) RemoveDmabufFormatHandler(h ImageCopyCaptureSessionV1DmabufFormatHandler)
RemoveDmabufFormatHandler removes the DmabufFormat handler
func (*ImageCopyCaptureSessionV1) RemoveDoneHandler ¶
func (p *ImageCopyCaptureSessionV1) RemoveDoneHandler(h ImageCopyCaptureSessionV1DoneHandler)
RemoveDoneHandler removes the Done handler
func (*ImageCopyCaptureSessionV1) RemoveShmFormatHandler ¶
func (p *ImageCopyCaptureSessionV1) RemoveShmFormatHandler(h ImageCopyCaptureSessionV1ShmFormatHandler)
RemoveShmFormatHandler removes the ShmFormat handler
func (*ImageCopyCaptureSessionV1) RemoveStoppedHandler ¶
func (p *ImageCopyCaptureSessionV1) RemoveStoppedHandler(h ImageCopyCaptureSessionV1StoppedHandler)
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 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) 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 ¶
func (p *LysEscapeManagerV1) Arm() (*LysEscapeArmV1, error)
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 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 ¶
func (p *OutputImageCaptureSourceManagerV1) CreateSource(Output *Output) (*ImageCaptureSourceV1, error)
CreateSource create source object for output
func (*OutputImageCaptureSourceManagerV1) Destroy ¶
func (p *OutputImageCaptureSourceManagerV1) Destroy() error
Destroy delete this object
func (*OutputImageCaptureSourceManagerV1) Dispatch ¶
func (p *OutputImageCaptureSourceManagerV1) Dispatch(event *Event)
Dispatch dispatches event for object OutputImageCaptureSourceManagerV1
type Pointer ¶
Pointer is a wl_pointer: ext-image-copy-capture's cursor sessions capture the cursor of one.
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 ¶
func (p *SessionLockManagerV1) Lock() (*SessionLockV1, error)
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 ¶
func (p *SessionLockSurfaceV1) AddConfigureHandler(h SessionLockSurfaceV1ConfigureHandler)
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 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 ¶
func (p *ToplevelExportFrameV1) AddBufferDoneHandler(h ToplevelExportFrameV1BufferDoneHandler)
AddBufferDoneHandler adds the BufferDone handler
func (*ToplevelExportFrameV1) AddBufferHandler ¶
func (p *ToplevelExportFrameV1) AddBufferHandler(h ToplevelExportFrameV1BufferHandler)
AddBufferHandler adds the Buffer handler
func (*ToplevelExportFrameV1) AddDamageHandler ¶
func (p *ToplevelExportFrameV1) AddDamageHandler(h ToplevelExportFrameV1DamageHandler)
AddDamageHandler adds the Damage handler
func (*ToplevelExportFrameV1) AddFailedHandler ¶
func (p *ToplevelExportFrameV1) AddFailedHandler(h ToplevelExportFrameV1FailedHandler)
AddFailedHandler adds the Failed handler
func (*ToplevelExportFrameV1) AddFlagsHandler ¶
func (p *ToplevelExportFrameV1) AddFlagsHandler(h ToplevelExportFrameV1FlagsHandler)
AddFlagsHandler adds the Flags handler
func (*ToplevelExportFrameV1) AddLinuxDmabufHandler ¶
func (p *ToplevelExportFrameV1) AddLinuxDmabufHandler(h ToplevelExportFrameV1LinuxDmabufHandler)
AddLinuxDmabufHandler adds the LinuxDmabuf handler
func (*ToplevelExportFrameV1) AddReadyHandler ¶
func (p *ToplevelExportFrameV1) AddReadyHandler(h ToplevelExportFrameV1ReadyHandler)
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 ¶
func (p *ToplevelExportFrameV1) RemoveBufferHandler(h ToplevelExportFrameV1BufferHandler)
RemoveBufferHandler removes the Buffer handler
func (*ToplevelExportFrameV1) RemoveDamageHandler ¶
func (p *ToplevelExportFrameV1) RemoveDamageHandler(h ToplevelExportFrameV1DamageHandler)
RemoveDamageHandler removes the Damage handler
func (*ToplevelExportFrameV1) RemoveFailedHandler ¶
func (p *ToplevelExportFrameV1) RemoveFailedHandler(h ToplevelExportFrameV1FailedHandler)
RemoveFailedHandler removes the Failed handler
func (*ToplevelExportFrameV1) RemoveFlagsHandler ¶
func (p *ToplevelExportFrameV1) RemoveFlagsHandler(h ToplevelExportFrameV1FlagsHandler)
RemoveFlagsHandler removes the Flags handler
func (*ToplevelExportFrameV1) RemoveLinuxDmabufHandler ¶
func (p *ToplevelExportFrameV1) RemoveLinuxDmabufHandler(h ToplevelExportFrameV1LinuxDmabufHandler)
RemoveLinuxDmabufHandler removes the LinuxDmabuf handler
func (*ToplevelExportFrameV1) RemoveReadyHandler ¶
func (p *ToplevelExportFrameV1) RemoveReadyHandler(h ToplevelExportFrameV1ReadyHandler)
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 ¶
func (p *ToplevelIconManagerV1) AddDoneHandler(h ToplevelIconManagerV1DoneHandler)
AddDoneHandler adds the Done handler
func (*ToplevelIconManagerV1) AddIconSizeHandler ¶
func (p *ToplevelIconManagerV1) AddIconSizeHandler(h ToplevelIconManagerV1IconSizeHandler)
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 ¶
func (p *ToplevelIconManagerV1) RemoveDoneHandler(h ToplevelIconManagerV1DoneHandler)
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
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 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
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 ¶
func (p *WpPresentationFeedback) AddDiscardedHandler(h WpPresentationFeedbackDiscardedHandler)
AddDiscardedHandler adds the Discarded handler
func (*WpPresentationFeedback) AddPresentedHandler ¶
func (p *WpPresentationFeedback) AddPresentedHandler(h WpPresentationFeedbackPresentedHandler)
AddPresentedHandler adds the Presented handler
func (*WpPresentationFeedback) AddSyncOutputHandler ¶
func (p *WpPresentationFeedback) AddSyncOutputHandler(h WpPresentationFeedbackSyncOutputHandler)
AddSyncOutputHandler adds the SyncOutput handler
func (*WpPresentationFeedback) Dispatch ¶
func (p *WpPresentationFeedback) Dispatch(event *Event)
Dispatch dispatches event for object WpPresentationFeedback
func (*WpPresentationFeedback) RemoveDiscardedHandler ¶
func (p *WpPresentationFeedback) RemoveDiscardedHandler(h WpPresentationFeedbackDiscardedHandler)
RemoveDiscardedHandler removes the Discarded handler
func (*WpPresentationFeedback) RemovePresentedHandler ¶
func (p *WpPresentationFeedback) RemovePresentedHandler(h WpPresentationFeedbackPresentedHandler)
RemovePresentedHandler removes the Presented handler
func (*WpPresentationFeedback) RemoveSyncOutputHandler ¶
func (p *WpPresentationFeedback) RemoveSyncOutputHandler(h WpPresentationFeedbackSyncOutputHandler)
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
type WpScaleV1 ¶
type WpScaleV1 struct {
BaseProxy
// contains filtered or unexported fields
}
WpScaleV1 fractional scale interface to a wl_surface
func NewWpScaleV1 ¶
NewWpScaleV1 is a constructor for the WpScaleV1 object
func (*WpScaleV1) AddPreferredScaleHandler ¶
func (p *WpScaleV1) AddPreferredScaleHandler(h WpScaleV1PreferredScaleHandler)
AddPreferredScaleHandler adds the PreferredScale handler
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
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 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 ¶
func (p *ZwlrDataControlDeviceV1) AddDataOfferHandler(h ZwlrDataControlDeviceV1DataOfferHandler)
AddDataOfferHandler adds the DataOffer handler
func (*ZwlrDataControlDeviceV1) AddFinishedHandler ¶
func (p *ZwlrDataControlDeviceV1) AddFinishedHandler(h ZwlrDataControlDeviceV1FinishedHandler)
AddFinishedHandler adds the Finished handler
func (*ZwlrDataControlDeviceV1) AddPrimarySelectionHandler ¶
func (p *ZwlrDataControlDeviceV1) AddPrimarySelectionHandler(h ZwlrDataControlDeviceV1PrimarySelectionHandler)
AddPrimarySelectionHandler adds the PrimarySelection handler
func (*ZwlrDataControlDeviceV1) AddSelectionHandler ¶
func (p *ZwlrDataControlDeviceV1) AddSelectionHandler(h ZwlrDataControlDeviceV1SelectionHandler)
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 ¶
func (p *ZwlrDataControlDeviceV1) RemoveDataOfferHandler(h ZwlrDataControlDeviceV1DataOfferHandler)
RemoveDataOfferHandler removes the DataOffer handler
func (*ZwlrDataControlDeviceV1) RemoveFinishedHandler ¶
func (p *ZwlrDataControlDeviceV1) RemoveFinishedHandler(h ZwlrDataControlDeviceV1FinishedHandler)
RemoveFinishedHandler removes the Finished handler
func (*ZwlrDataControlDeviceV1) RemovePrimarySelectionHandler ¶
func (p *ZwlrDataControlDeviceV1) RemovePrimarySelectionHandler(h ZwlrDataControlDeviceV1PrimarySelectionHandler)
RemovePrimarySelectionHandler removes the PrimarySelection handler
func (*ZwlrDataControlDeviceV1) RemoveSelectionHandler ¶
func (p *ZwlrDataControlDeviceV1) RemoveSelectionHandler(h ZwlrDataControlDeviceV1SelectionHandler)
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 ¶
func (p *ZwlrDataControlOfferV1) AddOfferHandler(h ZwlrDataControlOfferV1OfferHandler)
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 ¶
func (p *ZwlrDataControlOfferV1) RemoveOfferHandler(h ZwlrDataControlOfferV1OfferHandler)
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 ¶
func (p *ZwlrDataControlSourceV1) AddCancelledHandler(h ZwlrDataControlSourceV1CancelledHandler)
AddCancelledHandler adds the Cancelled handler
func (*ZwlrDataControlSourceV1) AddSendHandler ¶
func (p *ZwlrDataControlSourceV1) AddSendHandler(h ZwlrDataControlSourceV1SendHandler)
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 ¶
func (p *ZwlrDataControlSourceV1) RemoveCancelledHandler(h ZwlrDataControlSourceV1CancelledHandler)
RemoveCancelledHandler removes the Cancelled handler
func (*ZwlrDataControlSourceV1) RemoveSendHandler ¶
func (p *ZwlrDataControlSourceV1) RemoveSendHandler(h ZwlrDataControlSourceV1SendHandler)
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 ¶
func (p *ZwlrForeignToplevelHandleV1) AddAppIdHandler(h ZwlrForeignToplevelHandleV1AppIdHandler)
AddAppIdHandler adds the AppId handler
func (*ZwlrForeignToplevelHandleV1) AddClosedHandler ¶
func (p *ZwlrForeignToplevelHandleV1) AddClosedHandler(h ZwlrForeignToplevelHandleV1ClosedHandler)
AddClosedHandler adds the Closed handler
func (*ZwlrForeignToplevelHandleV1) AddDoneHandler ¶
func (p *ZwlrForeignToplevelHandleV1) AddDoneHandler(h ZwlrForeignToplevelHandleV1DoneHandler)
AddDoneHandler adds the Done handler
func (*ZwlrForeignToplevelHandleV1) AddOutputEnterHandler ¶
func (p *ZwlrForeignToplevelHandleV1) AddOutputEnterHandler(h ZwlrForeignToplevelHandleV1OutputEnterHandler)
AddOutputEnterHandler adds the OutputEnter handler
func (*ZwlrForeignToplevelHandleV1) AddOutputLeaveHandler ¶
func (p *ZwlrForeignToplevelHandleV1) AddOutputLeaveHandler(h ZwlrForeignToplevelHandleV1OutputLeaveHandler)
AddOutputLeaveHandler adds the OutputLeave handler
func (*ZwlrForeignToplevelHandleV1) AddParentHandler ¶
func (p *ZwlrForeignToplevelHandleV1) AddParentHandler(h ZwlrForeignToplevelHandleV1ParentHandler)
AddParentHandler adds the Parent handler
func (*ZwlrForeignToplevelHandleV1) AddStateHandler ¶
func (p *ZwlrForeignToplevelHandleV1) AddStateHandler(h ZwlrForeignToplevelHandleV1StateHandler)
AddStateHandler adds the State handler
func (*ZwlrForeignToplevelHandleV1) AddTitleHandler ¶
func (p *ZwlrForeignToplevelHandleV1) AddTitleHandler(h ZwlrForeignToplevelHandleV1TitleHandler)
AddTitleHandler adds the Title handler
func (*ZwlrForeignToplevelHandleV1) Close ¶
func (p *ZwlrForeignToplevelHandleV1) Close() error
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 ¶
func (p *ZwlrForeignToplevelHandleV1) RemoveAppIdHandler(h ZwlrForeignToplevelHandleV1AppIdHandler)
RemoveAppIdHandler removes the AppId handler
func (*ZwlrForeignToplevelHandleV1) RemoveClosedHandler ¶
func (p *ZwlrForeignToplevelHandleV1) RemoveClosedHandler(h ZwlrForeignToplevelHandleV1ClosedHandler)
RemoveClosedHandler removes the Closed handler
func (*ZwlrForeignToplevelHandleV1) RemoveDoneHandler ¶
func (p *ZwlrForeignToplevelHandleV1) RemoveDoneHandler(h ZwlrForeignToplevelHandleV1DoneHandler)
RemoveDoneHandler removes the Done handler
func (*ZwlrForeignToplevelHandleV1) RemoveOutputEnterHandler ¶
func (p *ZwlrForeignToplevelHandleV1) RemoveOutputEnterHandler(h ZwlrForeignToplevelHandleV1OutputEnterHandler)
RemoveOutputEnterHandler removes the OutputEnter handler
func (*ZwlrForeignToplevelHandleV1) RemoveOutputLeaveHandler ¶
func (p *ZwlrForeignToplevelHandleV1) RemoveOutputLeaveHandler(h ZwlrForeignToplevelHandleV1OutputLeaveHandler)
RemoveOutputLeaveHandler removes the OutputLeave handler
func (*ZwlrForeignToplevelHandleV1) RemoveParentHandler ¶
func (p *ZwlrForeignToplevelHandleV1) RemoveParentHandler(h ZwlrForeignToplevelHandleV1ParentHandler)
RemoveParentHandler removes the Parent handler
func (*ZwlrForeignToplevelHandleV1) RemoveStateHandler ¶
func (p *ZwlrForeignToplevelHandleV1) RemoveStateHandler(h ZwlrForeignToplevelHandleV1StateHandler)
RemoveStateHandler removes the State handler
func (*ZwlrForeignToplevelHandleV1) RemoveTitleHandler ¶
func (p *ZwlrForeignToplevelHandleV1) RemoveTitleHandler(h ZwlrForeignToplevelHandleV1TitleHandler)
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 ¶
func (p *ZwlrForeignToplevelManagerV1) AddFinishedHandler(h ZwlrForeignToplevelManagerV1FinishedHandler)
AddFinishedHandler adds the Finished handler
func (*ZwlrForeignToplevelManagerV1) AddToplevelHandler ¶
func (p *ZwlrForeignToplevelManagerV1) AddToplevelHandler(h ZwlrForeignToplevelManagerV1ToplevelHandler)
AddToplevelHandler adds the Toplevel handler
func (*ZwlrForeignToplevelManagerV1) Dispatch ¶
func (p *ZwlrForeignToplevelManagerV1) Dispatch(event *Event)
Dispatch dispatches event for object ZwlrForeignToplevelManagerV1
func (*ZwlrForeignToplevelManagerV1) RemoveFinishedHandler ¶
func (p *ZwlrForeignToplevelManagerV1) RemoveFinishedHandler(h ZwlrForeignToplevelManagerV1FinishedHandler)
RemoveFinishedHandler removes the Finished handler
func (*ZwlrForeignToplevelManagerV1) RemoveToplevelHandler ¶
func (p *ZwlrForeignToplevelManagerV1) RemoveToplevelHandler(h ZwlrForeignToplevelManagerV1ToplevelHandler)
RemoveToplevelHandler removes the Toplevel handler
func (*ZwlrForeignToplevelManagerV1) Stop ¶
func (p *ZwlrForeignToplevelManagerV1) Stop() error
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) 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
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 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 ¶
func (p *ZwlrScreencopyFrameV1) AddBufferDoneHandler(h ZwlrScreencopyFrameV1BufferDoneHandler)
AddBufferDoneHandler adds the BufferDone handler
func (*ZwlrScreencopyFrameV1) AddBufferHandler ¶
func (p *ZwlrScreencopyFrameV1) AddBufferHandler(h ZwlrScreencopyFrameV1BufferHandler)
AddBufferHandler adds the Buffer handler
func (*ZwlrScreencopyFrameV1) AddDamageHandler ¶
func (p *ZwlrScreencopyFrameV1) AddDamageHandler(h ZwlrScreencopyFrameV1DamageHandler)
AddDamageHandler adds the Damage handler
func (*ZwlrScreencopyFrameV1) AddFailedHandler ¶
func (p *ZwlrScreencopyFrameV1) AddFailedHandler(h ZwlrScreencopyFrameV1FailedHandler)
AddFailedHandler adds the Failed handler
func (*ZwlrScreencopyFrameV1) AddFlagsHandler ¶
func (p *ZwlrScreencopyFrameV1) AddFlagsHandler(h ZwlrScreencopyFrameV1FlagsHandler)
AddFlagsHandler adds the Flags handler
func (*ZwlrScreencopyFrameV1) AddLinuxDmabufHandler ¶
func (p *ZwlrScreencopyFrameV1) AddLinuxDmabufHandler(h ZwlrScreencopyFrameV1LinuxDmabufHandler)
AddLinuxDmabufHandler adds the LinuxDmabuf handler
func (*ZwlrScreencopyFrameV1) AddReadyHandler ¶
func (p *ZwlrScreencopyFrameV1) AddReadyHandler(h ZwlrScreencopyFrameV1ReadyHandler)
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 ¶
func (p *ZwlrScreencopyFrameV1) RemoveBufferHandler(h ZwlrScreencopyFrameV1BufferHandler)
RemoveBufferHandler removes the Buffer handler
func (*ZwlrScreencopyFrameV1) RemoveDamageHandler ¶
func (p *ZwlrScreencopyFrameV1) RemoveDamageHandler(h ZwlrScreencopyFrameV1DamageHandler)
RemoveDamageHandler removes the Damage handler
func (*ZwlrScreencopyFrameV1) RemoveFailedHandler ¶
func (p *ZwlrScreencopyFrameV1) RemoveFailedHandler(h ZwlrScreencopyFrameV1FailedHandler)
RemoveFailedHandler removes the Failed handler
func (*ZwlrScreencopyFrameV1) RemoveFlagsHandler ¶
func (p *ZwlrScreencopyFrameV1) RemoveFlagsHandler(h ZwlrScreencopyFrameV1FlagsHandler)
RemoveFlagsHandler removes the Flags handler
func (*ZwlrScreencopyFrameV1) RemoveLinuxDmabufHandler ¶
func (p *ZwlrScreencopyFrameV1) RemoveLinuxDmabufHandler(h ZwlrScreencopyFrameV1LinuxDmabufHandler)
RemoveLinuxDmabufHandler removes the LinuxDmabuf handler
func (*ZwlrScreencopyFrameV1) RemoveReadyHandler ¶
func (p *ZwlrScreencopyFrameV1) RemoveReadyHandler(h ZwlrScreencopyFrameV1ReadyHandler)
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) 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
type ZwpBufferParamsV1CreatedEvent ¶
type ZwpBufferParamsV1CreatedEvent struct {
// Buffer is 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 ¶
func (p *ZwpConfinedPointerV1) AddConfinedHandler(h ZwpConfinedPointerV1ConfinedHandler)
AddConfinedHandler adds the Confined handler
func (*ZwpConfinedPointerV1) AddUnconfinedHandler ¶
func (p *ZwpConfinedPointerV1) AddUnconfinedHandler(h ZwpConfinedPointerV1UnconfinedHandler)
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 ¶
func (p *ZwpDmabufFeedbackV1) AddDoneHandler(h ZwpDmabufFeedbackV1DoneHandler)
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 modifier
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) 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
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 ¶
func (p *ZwpPrimarySelectionDeviceManagerV1) CreateSource() (*ZwpPrimarySelectionSourceV1, error)
CreateSource create a new primary selection source
func (*ZwpPrimarySelectionDeviceManagerV1) Destroy ¶
func (p *ZwpPrimarySelectionDeviceManagerV1) Destroy() error
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 ¶
func (p *ZwpPrimarySelectionDeviceManagerV1) GetDevice(Seat *Seat) (*ZwpPrimarySelectionDeviceV1, error)
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 ¶
func (p *ZwpPrimarySelectionDeviceV1) AddDataOfferHandler(h ZwpPrimarySelectionDeviceV1DataOfferHandler)
AddDataOfferHandler adds the DataOffer handler
func (*ZwpPrimarySelectionDeviceV1) AddSelectionHandler ¶
func (p *ZwpPrimarySelectionDeviceV1) AddSelectionHandler(h ZwpPrimarySelectionDeviceV1SelectionHandler)
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 ¶
func (p *ZwpPrimarySelectionDeviceV1) RemoveDataOfferHandler(h ZwpPrimarySelectionDeviceV1DataOfferHandler)
RemoveDataOfferHandler removes the DataOffer handler
func (*ZwpPrimarySelectionDeviceV1) RemoveSelectionHandler ¶
func (p *ZwpPrimarySelectionDeviceV1) RemoveSelectionHandler(h ZwpPrimarySelectionDeviceV1SelectionHandler)
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 ¶
func (p *ZwpPrimarySelectionOfferV1) AddOfferHandler(h ZwpPrimarySelectionOfferV1OfferHandler)
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 ¶
func (p *ZwpPrimarySelectionOfferV1) RemoveOfferHandler(h ZwpPrimarySelectionOfferV1OfferHandler)
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 ¶
func (p *ZwpPrimarySelectionSourceV1) AddCancelledHandler(h ZwpPrimarySelectionSourceV1CancelledHandler)
AddCancelledHandler adds the Cancelled handler
func (*ZwpPrimarySelectionSourceV1) AddSendHandler ¶
func (p *ZwpPrimarySelectionSourceV1) AddSendHandler(h ZwpPrimarySelectionSourceV1SendHandler)
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 ¶
func (p *ZwpPrimarySelectionSourceV1) RemoveCancelledHandler(h ZwpPrimarySelectionSourceV1CancelledHandler)
RemoveCancelledHandler removes the Cancelled handler
func (*ZwpPrimarySelectionSourceV1) RemoveSendHandler ¶
func (p *ZwpPrimarySelectionSourceV1) RemoveSendHandler(h ZwpPrimarySelectionSourceV1SendHandler)
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 ¶
func (p *ZwpRelativePointerV1) AddMotionHandler(h ZwpRelativePointerV1MotionHandler)
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 ¶
func (p *ZwpShortcutsInhibitorV1) AddActiveHandler(h ZwpShortcutsInhibitorV1ActiveHandler)
AddActiveHandler adds the Active handler
func (*ZwpShortcutsInhibitorV1) AddInactiveHandler ¶
func (p *ZwpShortcutsInhibitorV1) AddInactiveHandler(h ZwpShortcutsInhibitorV1InactiveHandler)
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 ¶
func (p *ZwpShortcutsInhibitorV1) RemoveActiveHandler(h ZwpShortcutsInhibitorV1ActiveHandler)
RemoveActiveHandler removes the Active handler
func (*ZwpShortcutsInhibitorV1) RemoveInactiveHandler ¶
func (p *ZwpShortcutsInhibitorV1) RemoveInactiveHandler(h ZwpShortcutsInhibitorV1InactiveHandler)
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 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 ¶
func (p *ZwpTabletPadGroupV2) AddButtonsHandler(h ZwpTabletPadGroupV2ButtonsHandler)
AddButtonsHandler adds the Buttons handler
func (*ZwpTabletPadGroupV2) AddDoneHandler ¶
func (p *ZwpTabletPadGroupV2) AddDoneHandler(h ZwpTabletPadGroupV2DoneHandler)
AddDoneHandler adds the Done handler
func (*ZwpTabletPadGroupV2) AddModeSwitchHandler ¶
func (p *ZwpTabletPadGroupV2) AddModeSwitchHandler(h ZwpTabletPadGroupV2ModeSwitchHandler)
AddModeSwitchHandler adds the ModeSwitch handler
func (*ZwpTabletPadGroupV2) AddModesHandler ¶
func (p *ZwpTabletPadGroupV2) AddModesHandler(h ZwpTabletPadGroupV2ModesHandler)
AddModesHandler adds the Modes handler
func (*ZwpTabletPadGroupV2) AddRingHandler ¶
func (p *ZwpTabletPadGroupV2) AddRingHandler(h ZwpTabletPadGroupV2RingHandler)
AddRingHandler adds the Ring handler
func (*ZwpTabletPadGroupV2) AddStripHandler ¶
func (p *ZwpTabletPadGroupV2) AddStripHandler(h ZwpTabletPadGroupV2StripHandler)
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) 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 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 ¶
func (p *ZwpTabletPadRingV2) AddStopHandler(h ZwpTabletPadRingV2StopHandler)
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 ¶
func (p *ZwpTabletPadStripV2) AddFrameHandler(h ZwpTabletPadStripV2FrameHandler)
AddFrameHandler adds the Frame handler
func (*ZwpTabletPadStripV2) AddPositionHandler ¶
func (p *ZwpTabletPadStripV2) AddPositionHandler(h ZwpTabletPadStripV2PositionHandler)
AddPositionHandler adds the Position handler
func (*ZwpTabletPadStripV2) AddSourceHandler ¶
func (p *ZwpTabletPadStripV2) AddSourceHandler(h ZwpTabletPadStripV2SourceHandler)
AddSourceHandler adds the Source handler
func (*ZwpTabletPadStripV2) AddStopHandler ¶
func (p *ZwpTabletPadStripV2) AddStopHandler(h ZwpTabletPadStripV2StopHandler)
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 and strips
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
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) 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) 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 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 USB vendor id
Vid uint32
// Pid is the USB product id
Pid uint32
}
ZwpTabletV2IdEvent is the tablet device USB 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
Source Files
¶
- alpha-modifier-v1.xml.go
- content-type-v1.xml.go
- cursor-shape-v1.xml.go
- ext-background-effect-v1.xml.go
- ext-data-control-v1.xml.go
- ext-foreign-toplevel-list-v1.xml.go
- ext-idle-notify-v1.xml.go
- ext-image-capture-source-v1.xml.go
- ext-image-copy-capture-v1.xml.go
- ext-session-lock-v1.xml.go
- fractional-scale-v1.xml.go
- hyprland-ctm-control-v1.xml.go
- hyprland-global-shortcuts-v1.xml.go
- hyprland-toplevel-export-v1.xml.go
- idle-inhibit-unstable-v1.xml.go
- keyboard-shortcuts-inhibit-unstable-v1.xml.go
- linux-dmabuf-v1.xml.go
- linux-drm-syncobj-v1.xml.go
- lys-escape-v1.xml.go
- pointer-constraints-unstable-v1.xml.go
- pointer-gestures-unstable-v1.xml.go
- presentation-time.xml.go
- primary-selection-unstable-v1.xml.go
- relative-pointer-unstable-v1.xml.go
- tablet-unstable-v2.xml.go
- types.go
- viewporter.xml.go
- viewporter_deferred.go
- wlr-data-control-unstable-v1.xml.go
- wlr-foreign-toplevel-management-unstable-v1.xml.go
- wlr-gamma-control-unstable-v1.xml.go
- wlr-layer-shell-unstable-v1.xml.go
- wlr-screencopy-unstable-v1.xml.go
- xdg-activation-v1.xml.go
- xdg-dialog-v1.xml.go
- xdg-foreign-unstable-v2.xml.go
- xdg-output-unstable-v1.xml.go
- xdg-system-bell-v1.xml.go
- xdg-toplevel-icon-v1.xml.go
- zwlr-virtual-pointer-unstable-v1.xml.go
- zwp-virtual-keyboard-unstable-v1.xml.go