dialogs

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DialogConnIssues

type DialogConnIssues struct {
	Dialog               *dialog.CustomDialog
	Title                string
	ContentBase          *fyne.Container
	LabelTechnicalErrMsg *widget.Label
	LabelUXErrMsg        *widget.Label
}

func InitDialogConnIssues

func InitDialogConnIssues(w fyne.Window, err error, opt *options.Options) *DialogConnIssues

DialogConnectionIssues: Creates and shows a dialog set to the default size that informs the user that there are connection issues, with a user friendly message and a technical message Parameters:

	err (error) - The error that occurred. This will be used as the technical error message
 opt (*options.Options) - Options/settings

type DialogLogin

type DialogLogin struct {
	ButtonLogin *widget.Button
	Dialog      *dialog.CustomDialog
	Title       string
	ContentBase *fyne.Container
	Prompt      *widget.Label
	Entry       *widget.Entry
}

func InitDialogLogin

func InitDialogLogin(
	w fyne.Window, s *screen.ScreenManager, u *user.UserCache, opt *options.Options,
) *DialogLogin

type DialogTable

type DialogTable struct {
	// Informs the user that there are issues with connecting to the server
	ConnectionIssues *DialogConnIssues
	// Asks the user for information to log in
	Login *DialogLogin
}

All dialogs to be used by chat screen

Jump to

Keyboard shortcuts

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