Interstellar


BrowserWindowConfig Module

Namespace: Interstellar

Assembly: Interstellar.Core.dll

Functions and values

Function or value Description

applyWindowTitle mainCtx browserWindow disposed title

Full Usage: applyWindowTitle mainCtx browserWindow disposed title

Parameters:

Intended for use by platform implementations; applications generally shouldn't need this function. Applies a WindowTitle to a BrowserWindow, attaching any event handlers and setting up clean up operations if necessary. Must be called from the UI thread.

mainCtx : SynchronizationContext
browserWindow : IBrowserWindow<'a>
disposed : IEvent<'b, 'c>
title : WindowTitle<'a>

attachTitleMappingHandler mainCtx browserWindow disposed titleMapping

Full Usage: attachTitleMappingHandler mainCtx browserWindow disposed titleMapping

Parameters:

Intended for use by platform implementations; applications generally shouldn't need this function. Attaches a title mapping function to a browser window, making sure that the installed event handler gets cleaned up. Must be called from the UI thread.

mainCtx : SynchronizationContext
browserWindow : IBrowserWindow<'TWindow>
disposed : IEvent<'a, 'b>
titleMapping : string -> IBrowserWindow<'TWindow> -> Async<string>

defaultValue

Full Usage: defaultValue

Returns: BrowserWindowConfig<'TWindow>

Returns: BrowserWindowConfig<'TWindow>