Fyne API widget
widget
import "fyne.io/fyne/widget"
Package widget defines the UI widgets within the Fyne toolkit
Usage
func DestroyRenderer
func DestroyRenderer(wid fyne.Widget)
DestroyRenderer frees a render implementation for a widget. This is typically for internal use only.
func Refresh
func Refresh(wid fyne.Widget)
Refresh instructs the containing canvas to refresh the specified widget.
func Renderer
func Renderer(wid fyne.Widget) fyne.WidgetRenderer
Renderer looks up the render implementation for a widget
func ShowModalPopUp
func ShowModalPopUp(content fyne.CanvasObject, canvas fyne.Canvas)
ShowModalPopUp creates a new popUp for the specified content and displays it on the passed canvas. A modal PopUp blocks interactions with underlying elements, covered with a semi-transparent overlay.
func ShowPopUp
func ShowPopUp(content fyne.CanvasObject, canvas fyne.Canvas)
ShowPopUp creates a new popUp for the specified content and displays it on the passed canvas.
func ShowPopUpAtPosition
func ShowPopUpAtPosition(content fyne.CanvasObject, canvas fyne.Canvas, pos fyne.Position)
ShowPopUpAtPosition creates a new popUp for the specified content at the specified absolute position. It will then display the popup on the passed canvas.
func ShowPopUpMenuAtPosition
func ShowPopUpMenuAtPosition(menu *fyne.Menu, c fyne.Canvas, pos fyne.Position)
ShowPopUpMenuAtPosition creates a PopUp menu populated with items from the passed menu structure. It will automatically be positioned at the provided location and shown as an overlay on the specified canvas.
types
- AccordionContainer
- AccordionItem
- BaseWidget
- Box
- Button
- ButtonAlign
- ButtonIconPlacement
- ButtonStyle
- Check
- CustomTextGridStyle
- DisableableWidget
- Entry
- Form
- FormItem
- Group
- Hyperlink
- Icon
- Label
- Menu
- Orientation
- PopUp
- PopUpMenu
- ProgressBar
- ProgressBarInfinite
- Radio
- ScrollContainer
- ScrollDirection
- Select
- SelectEntry
- Slider
- SplitContainer
- TabContainer
- TabItem
- TabLocation
- TextGrid
- TextGridCell
- TextGridRow
- TextGridStyle
- Toolbar
- ToolbarAction
- ToolbarItem
- ToolbarSeparator
- ToolbarSpacer