Documentation ¶
Index ¶
- func CreateBaseDir(m Manager, baseDir binding.String)
- func CreateFileDialog(m Manager, key string, value string, baseDir binding.String, isDir bool, ...)
- func DialogValue(m Manager, key string) string
- func FormItem[T any](m Manager, key string, values ...T) *widget.FormItem
- func FormItemFileDialog(m Manager, key string) *widget.FormItem
- func GetBaseDirFormItem(m Manager, name string) *widget.FormItem
- func GetFileDialog(m Manager, name string) *widget.FormItem
- func Value[T any](m Manager, key string) (t T)
- type Entry
- func GetEntry[T any](m Manager, key string) Entry[T]
- func NewEntry[T any](m Manager, kind Kind, key string, value T) Entry[T]
- func NewSelectEntry(m Manager, key string, value string, possible []string) Entry[string]
- func NewSelectFormEntry(key string, value any, possible []string) Entry[string]
- func NewStringFormEntry(key string, value any) Entry[string]
- type Kind
- type Manager
- type SelectFormEntry
- func (e *SelectFormEntry) Binding() binding.DataItem
- func (e *SelectFormEntry) Clear()
- func (e *SelectFormEntry) DataChanged()
- func (e *SelectFormEntry) Enable(enable bool)
- func (e *SelectFormEntry) FormItem() *widget.FormItem
- func (e *SelectFormEntry) Set(value string)
- func (e *SelectFormEntry) Value() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBaseDir ¶
func CreateFileDialog ¶
func DialogValue ¶ added in v0.7.1
Types ¶
type Entry ¶
type Entry[T any] interface { Enable(bool) Binding() binding.DataItem Set(t T) Value() T FormItem() *widget.FormItem }
func NewSelectEntry ¶
func NewSelectFormEntry ¶ added in v0.7.2
type Manager ¶
type Manager interface {
// contains filtered or unexported methods
}
func NewManager ¶
func NewManager() Manager
type SelectFormEntry ¶ added in v0.7.2
func (*SelectFormEntry) Binding ¶ added in v0.7.2
func (e *SelectFormEntry) Binding() binding.DataItem
func (*SelectFormEntry) Clear ¶ added in v0.7.2
func (e *SelectFormEntry) Clear()
func (*SelectFormEntry) DataChanged ¶ added in v0.7.2
func (e *SelectFormEntry) DataChanged()
func (*SelectFormEntry) Enable ¶ added in v0.7.2
func (e *SelectFormEntry) Enable(enable bool)
func (*SelectFormEntry) FormItem ¶ added in v0.7.2
func (e *SelectFormEntry) FormItem() *widget.FormItem
func (*SelectFormEntry) Set ¶ added in v0.7.2
func (e *SelectFormEntry) Set(value string)
func (*SelectFormEntry) Value ¶ added in v0.7.2
func (e *SelectFormEntry) Value() string
Click to show internal directories.
Click to hide internal directories.