Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplySettings ¶
ApplySettings ensures that all widgets and themeable objects in an application will be updated for the current theme. It also checks that scale changes are reflected if required
func ApplyThemeTo ¶
func ApplyThemeTo(content fyne.CanvasObject, canv fyne.Canvas)
ApplyThemeTo ensures that the specified canvasobject and all widgets and themeable objects will be updated for the current theme.
Types ¶
type FocusManager ¶
type FocusManager struct {
// contains filtered or unexported fields
}
FocusManager represents a standard manager of input focus for a canvas
func NewFocusManager ¶
func NewFocusManager(c fyne.Canvas) *FocusManager
NewFocusManager returns a new instance of the standard focus manager for a canvas.
func (*FocusManager) FocusNext ¶
func (f *FocusManager) FocusNext(current fyne.Focusable)
FocusNext will find the item after the current that can be focused and focus it. If current is nil then the first focusable item in the canvas will be focused.
func (*FocusManager) FocusPrevious ¶
func (f *FocusManager) FocusPrevious(current fyne.Focusable)
FocusPrevious will find the item before the current that can be focused and focus it. If current is nil then the last focusable item in the canvas will be focused.