Fyne API "widget"
widget
import "fyne.io/fyne/v2/widget"
Package widget defines the UI widgets within the Fyne toolkit
Usage
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
- Accordion
- AccordionItem
- BaseWidget
- Button
- ButtonAlign
- ButtonIconPlacement
- ButtonImportance
- ButtonStyle
- Card
- Check
- CustomTextGridStyle
- DisableableWidget
- Entry
- FileIcon
- Form
- FormItem
- Hyperlink
- Icon
- Label
- List
- ListItemID
- Menu
- Orientation
- PopUp
- PopUpMenu
- ProgressBar
- ProgressBarInfinite
- RadioGroup
- Select
- SelectEntry
- Separator
- Slider
- Table
- TableCellID
- TextGrid
- TextGridCell
- TextGridRow
- TextGridStyle
- Toolbar
- ToolbarAction
- ToolbarItem
- ToolbarSeparator
- ToolbarSpacer
- Tree
- TreeNodeID