desktop

package
v1.6.18 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DesktopManagerCtx

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

func New

func New(config *config.Desktop) *DesktopManagerCtx

func (*DesktopManagerCtx) ButtonDown

func (manager *DesktopManagerCtx) ButtonDown(code uint32) error

func (*DesktopManagerCtx) ButtonPress

func (manager *DesktopManagerCtx) ButtonPress(code uint32) error

func (*DesktopManagerCtx) ButtonUp

func (manager *DesktopManagerCtx) ButtonUp(code uint32) error

func (*DesktopManagerCtx) ClipboardGetBinary

func (manager *DesktopManagerCtx) ClipboardGetBinary(mime string) ([]byte, error)

func (*DesktopManagerCtx) ClipboardGetTargets

func (manager *DesktopManagerCtx) ClipboardGetTargets() ([]string, error)

func (*DesktopManagerCtx) ClipboardGetText

func (manager *DesktopManagerCtx) ClipboardGetText() (*types.ClipboardText, error)

func (*DesktopManagerCtx) ClipboardSetBinary

func (manager *DesktopManagerCtx) ClipboardSetBinary(mime string, data []byte) error

func (*DesktopManagerCtx) ClipboardSetText

func (manager *DesktopManagerCtx) ClipboardSetText(data types.ClipboardText) error

func (*DesktopManagerCtx) CloseFileChooserDialog

func (manager *DesktopManagerCtx) CloseFileChooserDialog()

func (*DesktopManagerCtx) DropFiles

func (manager *DesktopManagerCtx) DropFiles(x int, y int, files []string) bool

func (*DesktopManagerCtx) GetCursorImage

func (manager *DesktopManagerCtx) GetCursorImage() *types.CursorImage

func (*DesktopManagerCtx) GetCursorPosition

func (manager *DesktopManagerCtx) GetCursorPosition() (int, int)

func (*DesktopManagerCtx) GetKeyboardMap

func (manager *DesktopManagerCtx) GetKeyboardMap() (*types.KeyboardMap, error)

func (*DesktopManagerCtx) GetKeyboardModifiers

func (manager *DesktopManagerCtx) GetKeyboardModifiers() types.KeyboardModifiers

func (*DesktopManagerCtx) GetScreenSize

func (manager *DesktopManagerCtx) GetScreenSize() types.ScreenSize

func (*DesktopManagerCtx) GetScreenshotImage

func (manager *DesktopManagerCtx) GetScreenshotImage() *image.RGBA

func (*DesktopManagerCtx) HandleFileChooserDialog

func (manager *DesktopManagerCtx) HandleFileChooserDialog(uri string) error

func (*DesktopManagerCtx) HasTouchSupport added in v1.6.14

func (manager *DesktopManagerCtx) HasTouchSupport() bool

func (*DesktopManagerCtx) IsFileChooserDialogEnabled added in v1.6.17

func (manager *DesktopManagerCtx) IsFileChooserDialogEnabled() bool

func (*DesktopManagerCtx) IsFileChooserDialogOpened

func (manager *DesktopManagerCtx) IsFileChooserDialogOpened() bool

func (*DesktopManagerCtx) IsUploadDropEnabled added in v1.6.17

func (manager *DesktopManagerCtx) IsUploadDropEnabled() bool

func (*DesktopManagerCtx) KeyDown

func (manager *DesktopManagerCtx) KeyDown(code uint32) error

func (*DesktopManagerCtx) KeyPress

func (manager *DesktopManagerCtx) KeyPress(codes ...uint32) error

func (*DesktopManagerCtx) KeyUp

func (manager *DesktopManagerCtx) KeyUp(code uint32) error

func (*DesktopManagerCtx) Move

func (manager *DesktopManagerCtx) Move(x, y int)

func (*DesktopManagerCtx) OnAfterScreenSizeChange

func (manager *DesktopManagerCtx) OnAfterScreenSizeChange(listener func())

func (*DesktopManagerCtx) OnBeforeScreenSizeChange

func (manager *DesktopManagerCtx) OnBeforeScreenSizeChange(listener func())

func (*DesktopManagerCtx) OnClipboardUpdated

func (manager *DesktopManagerCtx) OnClipboardUpdated(listener func())

func (*DesktopManagerCtx) OnCursorChanged

func (manager *DesktopManagerCtx) OnCursorChanged(listener func(serial uint64))

func (*DesktopManagerCtx) OnEventError

func (manager *DesktopManagerCtx) OnEventError(listener func(error_code uint8, message string, request_code uint8, minor_code uint8))

func (*DesktopManagerCtx) OnFileChooserDialogClosed

func (manager *DesktopManagerCtx) OnFileChooserDialogClosed(listener func())

func (*DesktopManagerCtx) OnFileChooserDialogOpened

func (manager *DesktopManagerCtx) OnFileChooserDialogOpened(listener func())

func (*DesktopManagerCtx) ResetKeys

func (manager *DesktopManagerCtx) ResetKeys()

func (*DesktopManagerCtx) ScreenConfigurations

func (manager *DesktopManagerCtx) ScreenConfigurations() []types.ScreenSize

func (*DesktopManagerCtx) Scroll

func (manager *DesktopManagerCtx) Scroll(deltaX, deltaY int, controlKey bool)

func (*DesktopManagerCtx) SetKeyboardMap

func (manager *DesktopManagerCtx) SetKeyboardMap(kbd types.KeyboardMap) error

func (*DesktopManagerCtx) SetKeyboardModifiers

func (manager *DesktopManagerCtx) SetKeyboardModifiers(mod types.KeyboardModifiers)

func (*DesktopManagerCtx) SetScreenSize

func (manager *DesktopManagerCtx) SetScreenSize(screenSize types.ScreenSize) (types.ScreenSize, error)

func (*DesktopManagerCtx) Shutdown

func (manager *DesktopManagerCtx) Shutdown() error

func (*DesktopManagerCtx) Start

func (manager *DesktopManagerCtx) Start()

func (*DesktopManagerCtx) TouchBegin added in v1.6.14

func (manager *DesktopManagerCtx) TouchBegin(touchId uint32, x, y int, pressure uint8) error

func (*DesktopManagerCtx) TouchEnd added in v1.6.14

func (manager *DesktopManagerCtx) TouchEnd(touchId uint32, x, y int, pressure uint8) error

func (*DesktopManagerCtx) TouchUpdate added in v1.6.14

func (manager *DesktopManagerCtx) TouchUpdate(touchId uint32, x, y int, pressure uint8) error

Jump to

Keyboard shortcuts

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