Upgrade to v2.5
Fyne API v2.5
app
canvas
container
data/binding
data/validation
dialog
driver
driver/desktop
driver/mobile
driver/software
lang
layout
storage
storage/repository
test
theme
widget
package widget
Accordion
AccordionItem
Activity
BaseWidget
Button
ButtonAlign
ButtonIconPlacement
ButtonImportance
ButtonStyle
Card
Check
CheckGroup
CustomTextGridStyle
DisableableWidget
Entry
FileIcon
Form
FormItem
GridWrap
GridWrapItemID
Hyperlink
HyperlinkSegment
Icon
ImageSegment
Importance
Label
List
ListItemID
ListSegment
Menu
Orientation
ParagraphSegment
PopUp
PopUpMenu
ProgressBar
ProgressBarInfinite
RadioGroup
RichText
RichTextBlock
RichTextSegment
RichTextStyle
Select
SelectEntry
Separator
SeparatorSegment
Slider
Table
TableCellID
TextGrid
TextGridCell
TextGridRow
TextGridStyle
TextSegment
Toolbar
ToolbarAction
ToolbarItem
ToolbarSeparator
ToolbarSpacer
Tree
TreeNodeID
Fyne API "widget.SelectEntry"
widget.SelectEntry
import "fyne.io/fyne/v2/widget"
Usage
type SelectEntry
type SelectEntry struct {
Entry
}
SelectEntry is an input field which supports selecting from a fixed set of options.
func NewSelectEntry
func NewSelectEntry(options []string) *SelectEntry
NewSelectEntry creates a SelectEntry.
func (*SelectEntry) CreateRenderer
func (e *SelectEntry) CreateRenderer() fyne.WidgetRenderer
CreateRenderer returns a new renderer for this select entry.
Implements:
fyne.Widget
func (*SelectEntry) Disable
func (e *SelectEntry) Disable()
Disable this widget so that it cannot be interacted with, updating any style appropriately.
Implements:
fyne.DisableableWidget
func (*SelectEntry) Enable
func (e *SelectEntry) Enable()
Enable this widget, updating any style or features appropriately.
Implements:
fyne.DisableableWidget
func (*SelectEntry) MinSize
func (e *SelectEntry) MinSize() fyne.Size
MinSize returns the minimal size of the select entry.
Implements:
fyne.Widget
func (*SelectEntry) Move
func (e *SelectEntry) Move(pos fyne.Position)
Move changes the relative position of the select entry.
Implements:
fyne.Widget
func (*SelectEntry) Resize
func (e *SelectEntry) Resize(size fyne.Size)
Resize changes the size of the select entry.
Implements:
fyne.Widget
func (*SelectEntry) SetOptions
func (e *SelectEntry) SetOptions(options []string)
SetOptions sets the options the user might select from.