Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MainWindow ¶
func MainWindow(win *app.Window, conn bus.Connection) error
MainWindow initializes the primary UI view and attaches it to the window.
func Window ¶
func Window(page func(th *theme.Th, conn bus.Connection) router.Page) window.WindowFunc
Window returns a window func that shows the given page. Page is constructed with the application bus.
Types ¶
type Chat ¶
type Chat struct { *theme.Th bus.Connection SplitIntoWindowBtn widget.Clickable // contains filtered or unexported fields }
Chat shows chat messages.
type D ¶
type D = layout.Dimensions
type Gallery ¶
type Gallery struct { *theme.Th bus.Connection SplitIntoWindowBtn widget.Clickable // contains filtered or unexported fields }
Gallery page displays a gallery of images.
type GalleryImage ¶
GalleryImage describes an image to display in the gallery.
type PaletteChangedEvent ¶
PaletteChangedEvent when the application color palette has changed.
type UI ¶
type UI struct { *theme.Th bus.Connection // SidePanel shows the global side panel for navigation. SidePanel widget.SidePanel NavSlugs widget.NavSlugs // Pages maintains inter-page state, such as history. Pages router.Router }
UI maintains state for the entire user interface.
func (*UI) LayoutNavSlugs ¶
LayoutNavSlugs shows the navigation history in an ordered list.
Click to show internal directories.
Click to hide internal directories.