Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableLog ¶
func DisableLog()
DisableLog disables all library log output. Logging output is disabled by default until UseLogger is called.
Types ¶
type D ¶
type D = layout.Dimensions
type Window ¶
type Window struct { *giouiApp.Window // Quit channel used to trigger background process to begin implementing the // shutdown protocol. Quit chan struct{} // IsShutdown channel is used to report that background processes have // completed shutting down, therefore the UI processes can finally stop. IsShutdown chan struct{} // contains filtered or unexported fields }
Window represents the app window (and UI in general). There should only be one. Window maintains an internal state of variables to determine what to display at any point in time.
func CreateWindow ¶
CreateWindow creates and initializes a new window with start as the first page displayed. Should never be called more than once as it calls app.NewWindow() which does not support being called more than once.
func (*Window) HandleEvents ¶
func (win *Window) HandleEvents()
HandleEvents runs main event handling and page rendering loop.
type WriteClipboard ¶
type WriteClipboard struct {
Text string
}
Click to show internal directories.
Click to hide internal directories.