Documentation ¶
Index ¶
- Constants
- type CloseTabRtnType
- type WindowService
- func (svc *WindowService) CloseTab(ctx context.Context, windowId string, tabId string, fromElectron bool) (*CloseTabRtnType, waveobj.UpdatesRtnType, error)
- func (svc *WindowService) CloseWindow(ctx context.Context, windowId string, fromElectron bool) error
- 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)
Constants ¶
View Source
const DefaultTimeout = 2 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseTabRtnType ¶ added in v0.9.0
type WindowService ¶
type WindowService struct{}
func (*WindowService) CloseTab ¶
func (svc *WindowService) CloseTab(ctx context.Context, windowId string, tabId string, fromElectron bool) (*CloseTabRtnType, waveobj.UpdatesRtnType, error)
returns the new active tabid
func (*WindowService) CloseWindow ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.