gui

package
v0.0.0-...-4a740ba Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Domain                  string // full domain name use for gui app like gui.sabz.city
	Icon                    []byte
	Info                    []Information
	LocaleInfo              Information
	ContentPreferences      string
	PresentationPreferences string
	Pages                   Pages
	UserPreferences         UserPreferences
	DesignLanguageStyles    string
}

Application store the data to run a GUI application

func (*Application) Initialize

func (a *Application) Initialize()

Initialize use to initialize application object

type Information

type Information struct {
	Language    string
	Name        string
	ShortName   string
	Tagline     string
	Slogan      string
	Description string
	Tags        []string
}

Information :

type Page

type Page struct {
	Name       string // It must be unique e.g. product
	Icon       []byte
	Info       []Information
	LocaleInfo Information
}

Page :

type PageState

type PageState struct {
	Title       string
	Description string
}

PageState :

type Pages

type Pages struct {
	List Page
}

Pages :

type UserPreferences

type UserPreferences struct {
	UsersState UsersState
}

UserPreferences :

type UsersState

type UsersState struct {
	// contains filtered or unexported fields
}

UsersState :

Jump to

Keyboard shortcuts

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