Documentation ¶
Index ¶
- Constants
- type WindowService
- func (svc *WindowService) CloseWindow(ctx context.Context, windowId string, fromElectron bool) error
- func (svc *WindowService) CloseWindow_Meta() tsgenmeta.MethodMeta
- func (svc *WindowService) CreateWindow(ctx context.Context, winSize *waveobj.WinSize, workspaceId string) (*waveobj.Window, error)
- func (svc *WindowService) CreateWindow_Meta() tsgenmeta.MethodMeta
- func (svc *WindowService) GetWindow(windowId string) (*waveobj.Window, error)
- func (svc *WindowService) GetWindow_Meta() tsgenmeta.MethodMeta
- func (svc *WindowService) MoveBlockToNewWindow(ctx context.Context, currentTabId string, blockId string) (waveobj.UpdatesRtnType, error)
- func (svc *WindowService) MoveBlockToNewWindow_Meta() tsgenmeta.MethodMeta
- func (ws *WindowService) SetWindowPosAndSize(ctx context.Context, windowId string, pos *waveobj.Point, ...) (waveobj.UpdatesRtnType, error)
- func (svc *WindowService) SetWindowPosAndSize_Meta() tsgenmeta.MethodMeta
- func (svc *WindowService) SwitchWorkspace(ctx context.Context, windowId string, workspaceId string) (*waveobj.Workspace, error)
- func (svc *WindowService) SwitchWorkspace_Meta() tsgenmeta.MethodMeta
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 (*WindowService) CloseWindow_Meta ¶ added in v0.10.0
func (svc *WindowService) CloseWindow_Meta() tsgenmeta.MethodMeta
func (*WindowService) CreateWindow ¶ added in v0.10.0
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 (*WindowService) SetWindowPosAndSize_Meta ¶ added in v0.10.0
func (svc *WindowService) SetWindowPosAndSize_Meta() tsgenmeta.MethodMeta
func (*WindowService) SwitchWorkspace ¶ added in v0.10.0
func (*WindowService) SwitchWorkspace_Meta ¶ added in v0.10.0
func (svc *WindowService) SwitchWorkspace_Meta() tsgenmeta.MethodMeta
Click to show internal directories.
Click to hide internal directories.