Documentation ¶
Index ¶
- func NewButtonColored(c color.Color, tapped func()) *fyne.Container
- func NewCheckedImage(s fyne.Size) *fyne.Container
- func NewCheckedImageWithImage(i *canvas.Image, s fyne.Size) *fyne.Container
- type ButtonColored
- type CheckedImage
- type ImageSelectionTable
- type ImageTable
- func (i *ImageTable) AppendImage(rowIndice int, img *canvas.Image)
- func (i *ImageTable) ImageCreate() fyne.CanvasObject
- func (i *ImageTable) ImageSelect(id widget.TableCellID)
- func (i *ImageTable) ImageUpdate(id widget.TableCellID, o fyne.CanvasObject)
- func (i *ImageTable) Images() [][]image.Image
- func (i *ImageTable) ImagesLength() (row int, col int)
- func (i *ImageTable) Reset()
- func (i *ImageTable) SubstitueImage(row, col int, newImage *canvas.Image)
- func (i *ImageTable) Update(images *ImageTableCache, rowNumber, colNumber int)
- type ImageTableCache
- type PaletteTable
- func (p *PaletteTable) PaletteCreate() fyne.CanvasObject
- func (p *PaletteTable) PaletteLength() (int, int)
- func (p *PaletteTable) PaletteSelect(id widget.TableCellID)
- func (p *PaletteTable) PaletteUpdate(id widget.TableCellID, o fyne.CanvasObject)
- func (p *PaletteTable) SubstitueColor(index int, newColor color.Color)
- type ProgressInfiniteDialog
- func (d *ProgressInfiniteDialog) Hide()
- func (d *ProgressInfiniteDialog) MinSize() fyne.Size
- func (d *ProgressInfiniteDialog) Move(position fyne.Position)
- func (d *ProgressInfiniteDialog) Position() fyne.Position
- func (d *ProgressInfiniteDialog) Refresh()
- func (d *ProgressInfiniteDialog) Resize(size fyne.Size)
- func (d *ProgressInfiniteDialog) Show()
- func (d *ProgressInfiniteDialog) Size() fyne.Size
- func (d *ProgressInfiniteDialog) Visible() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewButtonColored ¶
func NewCheckedImage ¶
func NewCheckedImage(s fyne.Size) *fyne.Container
Types ¶
type ButtonColored ¶
type CheckedImage ¶
type CheckedImage struct { Selected bool // contains filtered or unexported fields }
type ImageSelectionTable ¶
type ImageSelectionTable struct { *fyne.Container // contains filtered or unexported fields }
func NewImageSelectionTable ¶
func NewImageSelectionTable(size fyne.Size) *ImageSelectionTable
func NewImageSelectionTableWithImages ¶
func NewImageSelectionTableWithImages(imgs []image.Image, size fyne.Size) *ImageSelectionTable
func (*ImageSelectionTable) Append ¶
func (t *ImageSelectionTable) Append(img *canvas.Image)
func (*ImageSelectionTable) Images ¶
func (t *ImageSelectionTable) Images() []image.Image
func (*ImageSelectionTable) Reset ¶
func (t *ImageSelectionTable) Reset()
type ImageTable ¶
type ImageTable struct { widget.Table ImageCallbackFunc func(*canvas.Image) IndexCallbackFunc func(int, int) SetImagesCallbackFunc func(*ImageTableCache) // contains filtered or unexported fields }
func NewEmptyImageTable ¶
func NewEmptyImageTable(imageSize fyne.Size, selectCell func(int, int)) *ImageTable
func NewImageTable ¶
func NewImageTable( images *ImageTableCache, imageSize fyne.Size, nbRows, nbCols int, imageSelected func(*canvas.Image), indexSelected func(int, int), setImages func(*ImageTableCache)) *ImageTable
func (*ImageTable) AppendImage ¶
func (i *ImageTable) AppendImage(rowIndice int, img *canvas.Image)
func (*ImageTable) ImageCreate ¶
func (i *ImageTable) ImageCreate() fyne.CanvasObject
nolint: ireturn
func (*ImageTable) ImageSelect ¶
func (i *ImageTable) ImageSelect(id widget.TableCellID)
func (*ImageTable) ImageUpdate ¶
func (i *ImageTable) ImageUpdate(id widget.TableCellID, o fyne.CanvasObject)
func (*ImageTable) Images ¶
func (i *ImageTable) Images() [][]image.Image
func (*ImageTable) ImagesLength ¶
func (i *ImageTable) ImagesLength() (row int, col int)
func (*ImageTable) Reset ¶
func (i *ImageTable) Reset()
func (*ImageTable) SubstitueImage ¶
func (i *ImageTable) SubstitueImage(row, col int, newImage *canvas.Image)
func (*ImageTable) Update ¶
func (i *ImageTable) Update(images *ImageTableCache, rowNumber, colNumber int)
type ImageTableCache ¶
type ImageTableCache struct { ImagesPerRow int ImagesPerColumn int IndexCallbackFunc func(int, int) // contains filtered or unexported fields }
func NewImageTableCache ¶
func NewImageTableCache(row, col int, size fyne.Size, indexCallback func(int, int)) *ImageTableCache
func (*ImageTableCache) Append ¶
func (im *ImageTableCache) Append(rowIndice int, img *canvas.Image)
func (*ImageTableCache) ImageSelect ¶
func (i *ImageTableCache) ImageSelect(id widget.TableCellID)
type PaletteTable ¶
type PaletteTable struct { widget.Table Palette color.Palette ColorCallbackFunc func(color.Color) IndexCallbackFunc func(int) SetPaletteCallbackFunc func(color.Palette) }
func NewPaletteTable ¶
func (*PaletteTable) PaletteCreate ¶
func (p *PaletteTable) PaletteCreate() fyne.CanvasObject
nolint: ireturn
func (*PaletteTable) PaletteLength ¶
func (p *PaletteTable) PaletteLength() (int, int)
func (*PaletteTable) PaletteSelect ¶
func (p *PaletteTable) PaletteSelect(id widget.TableCellID)
func (*PaletteTable) PaletteUpdate ¶
func (p *PaletteTable) PaletteUpdate(id widget.TableCellID, o fyne.CanvasObject)
func (*PaletteTable) SubstitueColor ¶
func (p *PaletteTable) SubstitueColor(index int, newColor color.Color)
type ProgressInfiniteDialog ¶
type ProgressInfiniteDialog struct {
// contains filtered or unexported fields
}
func NewProgressInfinite ¶
func NewProgressInfinite(message string, parent fyne.Window) *ProgressInfiniteDialog
func (*ProgressInfiniteDialog) Hide ¶
func (d *ProgressInfiniteDialog) Hide()
Hide this dialog and stop the infinite progress goroutine
func (*ProgressInfiniteDialog) MinSize ¶
func (d *ProgressInfiniteDialog) MinSize() fyne.Size
func (*ProgressInfiniteDialog) Move ¶
func (d *ProgressInfiniteDialog) Move(position fyne.Position)
func (*ProgressInfiniteDialog) Position ¶
func (d *ProgressInfiniteDialog) Position() fyne.Position
func (*ProgressInfiniteDialog) Refresh ¶
func (d *ProgressInfiniteDialog) Refresh()
func (*ProgressInfiniteDialog) Resize ¶
func (d *ProgressInfiniteDialog) Resize(size fyne.Size)
func (*ProgressInfiniteDialog) Show ¶
func (d *ProgressInfiniteDialog) Show()
func (*ProgressInfiniteDialog) Size ¶
func (d *ProgressInfiniteDialog) Size() fyne.Size
func (*ProgressInfiniteDialog) Visible ¶
func (d *ProgressInfiniteDialog) Visible() bool
Source Files ¶
Click to show internal directories.
Click to hide internal directories.