Documentation ¶
Index ¶
- type SetAdapter
- func (sa *SetAdapter) AddSets(s []sets.Set)
- func (sa *SetAdapter) Count() int
- func (sa *SetAdapter) CreateTemplate() fyne.CanvasObject
- func (sa *SetAdapter) ExecuteFilter(filter string)
- func (sa *SetAdapter) Item(id widget.ListItemID) sets.Set
- func (sa *SetAdapter) UpdateList(list *widget.List)
- func (sa *SetAdapter) UpdateTemplate(id widget.ListItemID, co fyne.CanvasObject)
- type SetListItem
- type SetListItemRenderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetAdapter ¶
type SetAdapter struct {
// contains filtered or unexported fields
}
func NewSetAdapter ¶
func NewSetAdapter(loader *ansel.Ansel[string]) *SetAdapter
func (*SetAdapter) AddSets ¶
func (sa *SetAdapter) AddSets(s []sets.Set)
func (*SetAdapter) Count ¶
func (sa *SetAdapter) Count() int
func (*SetAdapter) CreateTemplate ¶
func (sa *SetAdapter) CreateTemplate() fyne.CanvasObject
func (*SetAdapter) ExecuteFilter ¶
func (sa *SetAdapter) ExecuteFilter(filter string)
func (*SetAdapter) Item ¶
func (sa *SetAdapter) Item(id widget.ListItemID) sets.Set
func (*SetAdapter) UpdateList ¶
func (sa *SetAdapter) UpdateList(list *widget.List)
func (*SetAdapter) UpdateTemplate ¶
func (sa *SetAdapter) UpdateTemplate(id widget.ListItemID, co fyne.CanvasObject)
type SetListItem ¶
type SetListItem struct { widget.BaseWidget // contains filtered or unexported fields }
func NewSetListItem ¶
func NewSetListItem(set *sets.Set) *SetListItem
func (*SetListItem) CreateRenderer ¶
func (sli *SetListItem) CreateRenderer() fyne.WidgetRenderer
func (*SetListItem) SetResource ¶
func (sli *SetListItem) SetResource(resource fyne.Resource)
func (*SetListItem) UpdateSet ¶
func (sli *SetListItem) UpdateSet(set *sets.Set)
type SetListItemRenderer ¶
type SetListItemRenderer struct {
// contains filtered or unexported fields
}
func (*SetListItemRenderer) Destroy ¶
func (r *SetListItemRenderer) Destroy()
func (*SetListItemRenderer) Layout ¶
func (r *SetListItemRenderer) Layout(size fyne.Size)
func (*SetListItemRenderer) MinSize ¶
func (r *SetListItemRenderer) MinSize() fyne.Size
func (*SetListItemRenderer) Objects ¶
func (r *SetListItemRenderer) Objects() []fyne.CanvasObject
func (*SetListItemRenderer) Refresh ¶
func (r *SetListItemRenderer) Refresh()
Click to show internal directories.
Click to hide internal directories.