import "fyne.io/fyne/v2/widget"
  

Usage

type DateEntry

  type DateEntry struct {
	Entry
	Date      *time.Time
	OnChanged func(*time.Time) `json:"-"`
}
  

DateEntry is an input field which supports selecting from a fixed set of options.

Since: 2.6

func NewDateEntry

  func NewDateEntry() *DateEntry
  

NewDateEntry creates a date input where the date can be selected or typed.

Since: 2.6

func (*DateEntry) CreateRenderer

  func (e *DateEntry) CreateRenderer() fyne.WidgetRenderer
  

CreateRenderer returns a new renderer for this select entry.

func (*DateEntry) Disable

  func (e *DateEntry) Disable()
  

Disable this widget so that it cannot be interacted with, updating any style appropriately.

func (*DateEntry) Enable

  func (e *DateEntry) Enable()
  

Enable this widget, updating any style or features appropriately.

func (*DateEntry) MinSize

  func (e *DateEntry) MinSize() fyne.Size
  

MinSize returns the minimal size of the select entry.

func (*DateEntry) Move

  func (e *DateEntry) Move(pos fyne.Position)
  

Move changes the relative position of the date entry.

func (*DateEntry) Resize

  func (e *DateEntry) Resize(size fyne.Size)
  

Resize changes the size of the date entry.

func (*DateEntry) SetDate

  func (e *DateEntry) SetDate(d *time.Time)
  

SetDate will update the widget to a specific date. You can pass nil to unselect a date.