windowservice

package
v0.10.4-beta.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTimeout = 2 * time.Second

Variables

This section is empty.

Functions

This section is empty.

Types

type WindowService

type WindowService struct{}

func (*WindowService) CloseWindow

func (svc *WindowService) CloseWindow(ctx context.Context, windowId string, fromElectron bool) error

func (*WindowService) CloseWindow_Meta added in v0.10.0

func (svc *WindowService) CloseWindow_Meta() tsgenmeta.MethodMeta

func (*WindowService) CreateWindow added in v0.10.0

func (svc *WindowService) CreateWindow(ctx context.Context, winSize *waveobj.WinSize, workspaceId string) (*waveobj.Window, error)

func (*WindowService) CreateWindow_Meta added in v0.10.0

func (svc *WindowService) CreateWindow_Meta() tsgenmeta.MethodMeta

func (*WindowService) GetWindow added in v0.10.0

func (svc *WindowService) GetWindow(windowId string) (*waveobj.Window, error)

func (*WindowService) GetWindow_Meta added in v0.10.0

func (svc *WindowService) GetWindow_Meta() tsgenmeta.MethodMeta

func (*WindowService) MoveBlockToNewWindow

func (svc *WindowService) MoveBlockToNewWindow(ctx context.Context, currentTabId string, blockId string) (waveobj.UpdatesRtnType, error)

func (*WindowService) MoveBlockToNewWindow_Meta

func (svc *WindowService) MoveBlockToNewWindow_Meta() tsgenmeta.MethodMeta

func (*WindowService) SetWindowPosAndSize

func (ws *WindowService) SetWindowPosAndSize(ctx context.Context, windowId string, pos *waveobj.Point, size *waveobj.WinSize) (waveobj.UpdatesRtnType, error)

func (*WindowService) SetWindowPosAndSize_Meta added in v0.10.0

func (svc *WindowService) SetWindowPosAndSize_Meta() tsgenmeta.MethodMeta

func (*WindowService) SwitchWorkspace added in v0.10.0

func (svc *WindowService) SwitchWorkspace(ctx context.Context, windowId string, workspaceId string) (*waveobj.Workspace, error)

func (*WindowService) SwitchWorkspace_Meta added in v0.10.0

func (svc *WindowService) SwitchWorkspace_Meta() tsgenmeta.MethodMeta

Jump to

Keyboard shortcuts

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