package app
import "fyne.io/fyne/internal/app"
Index ¶
- func ApplyTheme(app fyne.App)
- func ApplyThemeTo(content fyne.CanvasObject, canvas fyne.Canvas)
- type FocusManager
Functions ¶
func ApplyTheme ¶
ApplyTheme ensures that all widgets and themeable objects in an application will be updated for the current theme.
func ApplyThemeTo ¶
func ApplyThemeTo(content fyne.CanvasObject, canvas 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.
Source Files ¶
focus.go theme.go
- Version
- v1.1.1
- Published
- Aug 17, 2019
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 1 hour ago –
Tools for package owners.