Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Screens ¶
type Screens struct {
widget.BaseWidget
// OnConfigurationChanged, if set, is invoked whenever the screen or layout
// configuration changes — for example a monitor being plugged in or removed,
// or a resolution or position change. It is called on the main goroutine
// after the internal state and UI have been refreshed, so it is safe to
// query the current configuration or update Fyne widgets from within it.
OnConfigurationChanged func()
// contains filtered or unexported fields
}
Screens is a custom widget presenting the screen-management UI, together with its lifecycle controls and change notifications. Obtain one from New and add it to a container or window like any other Fyne widget.
func (*Screens) Close ¶
func (s *Screens) Close()
Close releases the X resources held by the screen manager. Call it once the UI is no longer needed, for example when the owning window closes.
func (*Screens) CreateRenderer ¶
func (s *Screens) CreateRenderer() fyne.WidgetRenderer
CreateRenderer returns the renderer for the widget, drawing the screen-manager UI built by makeUI as its content. It implements fyne.Widget.
Click to show internal directories.
Click to hide internal directories.