Documentation ¶
Index ¶
- func AddMainMenu(ctx context.Context, app *adw.Application, window *adw.ApplicationWindow, ...) (*adw.PreferencesWindow, *adw.EntryRow)
- func OpenAssistantWindow(ctx context.Context, app *adw.Application, manager *client.Manager, ...) error
- func OpenControlsWindow(ctx context.Context, app *adw.Application, torrentTitle string, ...) error
- func OpenErrorDialog(ctx context.Context, window *adw.ApplicationWindow, err error)
- func SetSubtitles(ctx context.Context, window *adw.ApplicationWindow, filePath string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMainMenu ¶
func AddMainMenu( ctx context.Context, app *adw.Application, window *adw.ApplicationWindow, settings *gio.Settings, menuButton *gtk.MenuButton, overlay *adw.ToastOverlay, gateway *server.Gateway, getMagnetLink func() string, cancel func(), ) (*adw.PreferencesWindow, *adw.EntryRow)
func OpenAssistantWindow ¶
func OpenControlsWindow ¶
func OpenControlsWindow( ctx context.Context, app *adw.Application, torrentTitle string, subtitles []mediaWithPriorityAndID, selectedTorrentMedia, torrentReadme string, manager *client.Manager, apiAddr, apiUsername, apiPassword, magnetLink, streamURL string, settings *gio.Settings, gateway *server.Gateway, cancel func(), tmpDir string, ready chan struct{}, cancelDownload func(), adapter *wrtcconn.Adapter, ids chan string, adapterCtx context.Context, cancelAdapterCtx func(), community, password, key string, bufferedMessages []interface{}, bufferedPeer *wrtcconn.Peer, bufferedDecoder *json.Decoder, ) error
func OpenErrorDialog ¶
func OpenErrorDialog(ctx context.Context, window *adw.ApplicationWindow, err error)
func SetSubtitles ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.