ui

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2025 License: GPL-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUI

func CreateUI()

Types

type Page

type Page interface {
	Render(gtx layout.Context) layout.Dimensions
}

type UI

type UI struct {
	GlobalState globalstate.GlobalState

	Tabs []UITab
	// contains filtered or unexported fields
}

func (*UI) DisplayLoadingError added in v0.8.0

func (ui *UI) DisplayLoadingError(err string)

func (*UI) RefreshUIWhileOnLoadTab added in v0.8.0

func (ui *UI) RefreshUIWhileOnLoadTab()

func (*UI) RenderTabbedUI

func (ui *UI) RenderTabbedUI(gtx layout.Context) layout.Dimensions

func (*UI) Run

func (ui *UI) Run(w *app.Window) error

func (*UI) ServiceLoadComputeCustomFeedPicker added in v0.10.0

func (ui *UI) ServiceLoadComputeCustomFeedPicker(returnToTab string)

func (*UI) ServiceLoadComputeMDBFeeds added in v0.10.0

func (ui *UI) ServiceLoadComputeMDBFeeds(gtfsFeedIDs []int, purgeUpdate bool, returnToTab string)

func (*UI) ServiceLoadMobrouteRuntime added in v0.8.0

func (ui *UI) ServiceLoadMobrouteRuntime()

func (*UI) ServiceQueueload added in v0.8.0

func (ui *UI) ServiceQueueload(queueload *globalstate.AppQueueload)

type UITab

type UITab struct {
	Tabname   string
	Clickable widget.Clickable
	Page      Page
}

Jump to

Keyboard shortcuts

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