Documentation
¶
Index ¶
- func FixTimezone()
- func Loop(w *app.Window) error
- type AppManager
- func (m *AppManager) CurrentPage() Page
- func (m *AppManager) GetWindowHeightInDp() int
- func (m *AppManager) GetWindowHeightInPx() int
- func (m *AppManager) GetWindowWidthInDp() int
- func (m *AppManager) GetWindowWidthInPx() int
- func (m *AppManager) Initialized() bool
- func (m *AppManager) IsStageRunning() bool
- func (m *AppManager) Layout(gtx Gtx) Dim
- func (m *AppManager) Modal() Modal
- func (m *AppManager) NavigateToPage(page Page, AfterNavCallback func())
- func (m *AppManager) NavigateToUrl(pageURL URL, AfterNavCallback func())
- func (m *AppManager) Notifier() notify.Notifier
- func (m *AppManager) PageFromUrl(url URL) Page
- func (m *AppManager) PopUp()
- func (m *AppManager) Service() service.Service
- func (m *AppManager) SetModal(modal Modal)
- func (m *AppManager) ShouldDrawSidebar() bool
- func (m *AppManager) Snackbar() Snackbar
- func (m *AppManager) SystemInsets() system.Insets
- func (m *AppManager) Theme() *material.Theme
- func (m *AppManager) Window() *app.Window
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixTimezone ¶
func FixTimezone()
Types ¶
type AppManager ¶
type AppManager struct { view.Greetings Constraints layout.Constraints Metric unit.Metric system.Insets // contains filtered or unexported fields }
AppManager Always call NewAppManager function to create AppManager instance
func (*AppManager) CurrentPage ¶
func (m *AppManager) CurrentPage() Page
func (*AppManager) GetWindowHeightInDp ¶
func (m *AppManager) GetWindowHeightInDp() int
func (*AppManager) GetWindowHeightInPx ¶
func (m *AppManager) GetWindowHeightInPx() int
func (*AppManager) GetWindowWidthInDp ¶
func (m *AppManager) GetWindowWidthInDp() int
func (*AppManager) GetWindowWidthInPx ¶
func (m *AppManager) GetWindowWidthInPx() int
func (*AppManager) Initialized ¶
func (m *AppManager) Initialized() bool
func (*AppManager) IsStageRunning ¶
func (m *AppManager) IsStageRunning() bool
func (*AppManager) Layout ¶
func (m *AppManager) Layout(gtx Gtx) Dim
func (*AppManager) Modal ¶
func (m *AppManager) Modal() Modal
func (*AppManager) NavigateToPage ¶
func (m *AppManager) NavigateToPage(page Page, AfterNavCallback func())
func (*AppManager) NavigateToUrl ¶
func (m *AppManager) NavigateToUrl(pageURL URL, AfterNavCallback func())
func (*AppManager) Notifier ¶
func (m *AppManager) Notifier() notify.Notifier
func (*AppManager) PageFromUrl ¶
func (m *AppManager) PageFromUrl(url URL) Page
func (*AppManager) PopUp ¶
func (m *AppManager) PopUp()
func (*AppManager) Service ¶
func (m *AppManager) Service() service.Service
func (*AppManager) SetModal ¶
func (m *AppManager) SetModal(modal Modal)
func (*AppManager) ShouldDrawSidebar ¶
func (m *AppManager) ShouldDrawSidebar() bool
func (*AppManager) Snackbar ¶
func (m *AppManager) Snackbar() Snackbar
func (*AppManager) SystemInsets ¶
func (m *AppManager) SystemInsets() system.Insets
func (*AppManager) Theme ¶
func (m *AppManager) Theme() *material.Theme
func (*AppManager) Window ¶
func (m *AppManager) Window() *app.Window
Click to show internal directories.
Click to hide internal directories.