Documentation ¶
Overview ¶
TestIncludeExclude project main.go
Index ¶
- type AutoExpandingList
- type SearchItem
- type TagItem
- type TagItemData
- type TagSelection
- func (ts *TagSelection) AddFavorite(tag string)
- func (ts *TagSelection) AddSelected(tid *TagItemData)
- func (ts *TagSelection) AddTag(tag string)
- func (ts *TagSelection) ClearAllTags()
- func (ts *TagSelection) CreateRenderer() fyne.WidgetRenderer
- func (ts *TagSelection) MinSize() fyne.Size
- func (ts *TagSelection) Refresh()
- func (ts *TagSelection) SelectedTags() (included []string, excluded []string)
- type TagSelectionRenderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoExpandingList ¶
func NewAutoExpandingList ¶
func NewAutoExpandingList(length func() int, createItem func() fyne.CanvasObject, updateItem func(widget.ListItemID, fyne.CanvasObject)) *AutoExpandingList
func (*AutoExpandingList) MinSize ¶
func (a *AutoExpandingList) MinSize() fyne.Size
type SearchItem ¶
type SearchItem struct { widget.BaseWidget // contains filtered or unexported fields }
func NewSeachItem ¶
func NewSeachItem(ts *TagSelection) *SearchItem
func (*SearchItem) CreateRenderer ¶
func (si *SearchItem) CreateRenderer() fyne.WidgetRenderer
func (*SearchItem) MinSize ¶
func (si *SearchItem) MinSize() fyne.Size
type TagItem ¶
type TagItem struct { widget.BaseWidget // contains filtered or unexported fields }
func NewTagItem ¶
func NewTagItem(showInclude bool, ts *TagSelection) *TagItem
func (*TagItem) CreateRenderer ¶
func (ti *TagItem) CreateRenderer() fyne.WidgetRenderer
func (*TagItem) SetData ¶
func (ti *TagItem) SetData(tid *TagItemData)
type TagItemData ¶
type TagItemData struct {
// contains filtered or unexported fields
}
func NewTagItemData ¶
func NewTagItemData(text string) *TagItemData
type TagSelection ¶
type TagSelection struct { widget.BaseWidget OnSelectedChanged func() // contains filtered or unexported fields }
func NewTagSelection ¶
func NewTagSelection(window fyne.Window) *TagSelection
func (*TagSelection) AddFavorite ¶
func (ts *TagSelection) AddFavorite(tag string)
func (*TagSelection) AddSelected ¶
func (ts *TagSelection) AddSelected(tid *TagItemData)
func (*TagSelection) AddTag ¶
func (ts *TagSelection) AddTag(tag string)
func (*TagSelection) ClearAllTags ¶
func (ts *TagSelection) ClearAllTags()
func (*TagSelection) CreateRenderer ¶
func (ts *TagSelection) CreateRenderer() fyne.WidgetRenderer
func (*TagSelection) MinSize ¶
func (ts *TagSelection) MinSize() fyne.Size
func (*TagSelection) Refresh ¶
func (ts *TagSelection) Refresh()
func (*TagSelection) SelectedTags ¶
func (ts *TagSelection) SelectedTags() (included []string, excluded []string)
type TagSelectionRenderer ¶
type TagSelectionRenderer struct {
// contains filtered or unexported fields
}
**************************** ** RENDERER ****************************
func (*TagSelectionRenderer) Destroy ¶
func (_ *TagSelectionRenderer) Destroy()
Refresh causes this object to be redrawn in it's current state
func (*TagSelectionRenderer) Layout ¶
func (tsr *TagSelectionRenderer) Layout(s fyne.Size)
func (*TagSelectionRenderer) MinSize ¶
func (tsr *TagSelectionRenderer) MinSize() fyne.Size
func (*TagSelectionRenderer) Objects ¶
func (tsr *TagSelectionRenderer) Objects() []fyne.CanvasObject
func (*TagSelectionRenderer) Refresh ¶
func (_ *TagSelectionRenderer) Refresh()
Click to show internal directories.
Click to hide internal directories.