Documentation
¶
Index ¶
- type FileCard
- func (c *FileCard) CreateRenderer() fyne.WidgetRenderer
- func (c *FileCard) GetImage() fyne.CanvasObject
- func (c *FileCard) MinSize() fyne.Size
- func (c *FileCard) SetFilename(text string)
- func (c *FileCard) SetImage(img fyne.CanvasObject)
- func (c *FileCard) Tapped(pe *fyne.PointEvent)
- func (c *FileCard) WithCallback(cb func(*fyne.PointEvent)) *FileCard
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileCard ¶
type FileCard struct { widget.BaseWidget // contains filtered or unexported fields }
func NewFileCard ¶
func (*FileCard) CreateRenderer ¶
func (c *FileCard) CreateRenderer() fyne.WidgetRenderer
CreateRenderer is a private method to Fyne which links this widget to its renderer
func (*FileCard) GetImage ¶
func (c *FileCard) GetImage() fyne.CanvasObject
Only used for the recursive GifPlayer stopper
func (*FileCard) MinSize ¶
func (c *FileCard) MinSize() fyne.Size
MinSize returns the size that this widget should not shrink below
func (*FileCard) SetFilename ¶
SetFilename updates the secondary title for this card. fixme untested
func (*FileCard) SetImage ¶
func (c *FileCard) SetImage(img fyne.CanvasObject)
SetImage changes the image displayed above the title for this card. fixme untested
func (*FileCard) WithCallback ¶
Click to show internal directories.
Click to hide internal directories.