preferences

package
v0.0.0-...-165de30 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package preferences contains preferences dialog data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialog

type Dialog struct {
	*popup.Dialog
	// contains filtered or unexported fields
}

Dialog represents preferences dialog

func Create

func Create(onConfigChanged func(config *config.Config), windowColorChanger func(c color.Color)) *Dialog

Create creates a new preferences dialog

func (*Dialog) Build

func (p *Dialog) Build()

Build builds a preferences dialog

func (*Dialog) GetLayout

func (p *Dialog) GetLayout() g.Widget

func (*Dialog) Show

func (p *Dialog) Show(cfg *config.Config)

Show switch preferences dialog to visible state

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳