package
0.0.0-20240625190017-a0fef5fe53bc
Repository: https://github.com/clearlinux/clr-installer.git
Documentation: pkg.go.dev
# Functions
FitToMonitorSize sets a proper size for the installer if it does not fit to the monitor size.
GetThankYouMessage gets the thank you message.
GetWelcomeMessage gets the welcome message.
GnomeGetProxyValue first check the Gnome network settings for proxy settings, then falls back to Bash environment variables.
New creates a new Gui frontend instance.
NewBanner constructs the header component.
NewContentView will attempt creation of a new ContentView.
NewSummaryWidget will construct a new SummaryWidget for the given page.
NewSwitcher constructs the header component.
NewWindow creates a new instance of the welcome page.
PageHeaderNew constructs a new page header for the given page.
SetupGnomeProxy configures the Gnome proxy function in the proxy package.
SyncNetworkProxies copies the current values from the Network Proxy for the non-privileged user to the root Gnome environment.
# Constants
ContentViewAdvanced is defined to map to the Advanced contentview.
ContentViewRequired is defined to map to the Required contentview.
WindowHeight specifies the default height of the window.
WindowWidth specifies the default width of the window.
# Structs
Banner is used to add a nice banner widget to the front of the installer.
ContentView is used to encapsulate the Required/Advanced options view by wrapping them into simple styled lists.
Gui is the main gui data struct and holds data about the higher level data for this front end, it also implements the Frontend interface.
PageHeader provides a wrapper around a page, with a consistent header region and spacing.
SummaryWidget is used within the ContentView to represent individual steps within the installer.
Switcher is used to switch between main installer sections.
Window provides management of the underlying GtkWindow and associated windows to provide a level of OOP abstraction.
# Type aliases
PageConstructor is a typedef of the constructors for our pages.