fc

package
v0.0.0-...-5364436 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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 NewFileCard(filename string, image fyne.CanvasObject) *FileCard

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

func (c *FileCard) SetFilename(text string)

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) Tapped

func (c *FileCard) Tapped(pe *fyne.PointEvent)

func (*FileCard) WithCallback

func (c *FileCard) WithCallback(cb func(*fyne.PointEvent)) *FileCard

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳