dialogs

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: AGPL-3.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 DialogJoinChat added in v0.4.0

type DialogJoinChat struct {
	ButtonCancel *widget.Button
	ButtonJoin   *widget.Button
	Dialog       *dialog.CustomDialog
	Entry        *widget.Entry
	Prompt       *widget.Label
}

Dialog prompting the user for a chat ID. The user will then be made a member of that chat

func InitDialogJoinChat added in v0.4.0

func InitDialogJoinChat(
	w fyne.Window, done chan int, opt *options.Options,
) *DialogJoinChat

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