fynefyne.io/fyne/internal/app Index | Files

package app

import "fyne.io/fyne/internal/app"

Index

Functions

func ApplySettings

func ApplySettings(set fyne.Settings, app fyne.App)

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.

Source Files

focus.go theme.go

Version
v1.3.3
Published
Aug 10, 2020
Platform
windows/amd64
Imports
3 packages
Last checked
4 hours ago

Tools for package owners.