Documentation
¶
Index ¶
- Constants
- func AddEllipsis(label *widget.Label) *widget.Label
- func BackButton(tapped func()) *widget.Button
- func HyperLinkButton(text string, icon fyne.Resource, urlBinding binding.String) *widget.Button
- type App
- func (app *App) BindServerInfo(serv *server.Server)
- func (app *App) CheckClient()
- func (app *App) CheckForUpdates(serv *server.Server)
- func (app *App) CheckPrerequisites()
- func (app *App) CopyBootConfiguration(server *server.Server) error
- func (app *App) CurrentServer() *server.Server
- func (app *App) Footer() *fyne.Container
- func (app *App) InitializeGlobalWidgets(servers resource.ServerList)
- func (app *App) IsReady() bool
- func (app *App) LauncherSettings(window fyne.Window) *fyne.Container
- func (app *App) LoadContent()
- func (app *App) OnServerChanged(server *server.Server)
- func (app *App) PressPlay()
- func (app *App) PressUpdate()
- func (app *App) RunUpdate(server *server.Server, patch patch.Patch)
- func (app *App) ServerSettings(window fyne.Window) *fyne.Container
- func (app *App) SetCheckingUpdatesState()
- func (app *App) SetNormalState()
- func (app *App) SetPlayingState()
- func (app *App) SetUpdateState()
- func (app *App) SetUpdatingState()
- func (app *App) ShowInfo()
- func (app *App) ShowPatch(patch patch.Patch, onConfirmCancel func(nlwindows.PatchAcceptState))
- func (app *App) ShowSettings()
- func (app *App) Start()
- func (app *App) TransferCachedClientResources() error
- func (app *App) TransferPatchResources(server *server.Server) error
- func (app *App) Update(serv *server.Server)
- type ServersPage
Constants ¶
View Source
const (
EXPORT_HEADER = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n"
)
Variables ¶
This section is empty.
Functions ¶
func BackButton ¶
Types ¶
type App ¶
type App struct { fyne.App // contains filtered or unexported fields }
func New ¶
func New(settings *resource.Settings, servers resource.ServerList, rejectedPatches *patch.RejectionList) App
func (*App) BindServerInfo ¶
func (*App) CheckClient ¶
func (app *App) CheckClient()
func (*App) CheckForUpdates ¶
func (*App) CheckPrerequisites ¶ added in v0.2.0
func (app *App) CheckPrerequisites()
func (*App) CopyBootConfiguration ¶
func (*App) CurrentServer ¶
func (*App) InitializeGlobalWidgets ¶
func (app *App) InitializeGlobalWidgets(servers resource.ServerList)
func (*App) LauncherSettings ¶
func (app *App) LauncherSettings(window fyne.Window) *fyne.Container
func (*App) LoadContent ¶
func (app *App) LoadContent()
func (*App) OnServerChanged ¶
func (*App) PressUpdate ¶
func (app *App) PressUpdate()
func (*App) ServerSettings ¶
func (app *App) ServerSettings(window fyne.Window) *fyne.Container
func (*App) SetCheckingUpdatesState ¶
func (app *App) SetCheckingUpdatesState()
func (*App) SetNormalState ¶
func (app *App) SetNormalState()
func (*App) SetPlayingState ¶
func (app *App) SetPlayingState()
func (*App) SetUpdateState ¶
func (app *App) SetUpdateState()
func (*App) SetUpdatingState ¶
func (app *App) SetUpdatingState()
func (*App) ShowPatch ¶
func (app *App) ShowPatch(patch patch.Patch, onConfirmCancel func(nlwindows.PatchAcceptState))
func (*App) ShowSettings ¶
func (app *App) ShowSettings()
func (*App) TransferCachedClientResources ¶
func (*App) TransferPatchResources ¶
type ServersPage ¶
type ServersPage struct {
// contains filtered or unexported fields
}
func NewServersPage ¶
func NewServersPage(window fyne.Window, list *nlwidgets.ServerList) *ServersPage
func (*ServersPage) Container ¶
func (page *ServersPage) Container() *fyne.Container
func (*ServersPage) PromptExportServer ¶
func (page *ServersPage) PromptExportServer(window fyne.Window, list *nlwidgets.ServerList) func()
Click to show internal directories.
Click to hide internal directories.