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

package app

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

Index

Functions

func ApplyTheme

func ApplyTheme(app fyne.App)

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.0
Published
Jun 21, 2019
Platform
windows/amd64
Imports
3 packages
Last checked
2 minutes ago

Tools for package owners.