Documentation ¶
Overview ¶
Package bridge serves as a bridge between the transport backend and the Fyne ui
Index ¶
- type RecvItem
- type RecvList
- type SendItem
- type SendList
- func (p *SendList) CreateItem() fyne.CanvasObject
- func (p *SendList) Length() int
- func (p *SendList) NewSendItem(name string, uri fyne.URI)
- func (p *SendList) OnDirSelect(dir fyne.ListableURI, err error)
- func (p *SendList) OnFileSelect(file fyne.URIReadCloser, err error)
- func (p *SendList) OnSelected(i int)
- func (p *SendList) RemoveItem(i int)
- func (p *SendList) SendText()
- func (p *SendList) UpdateItem(i int, item fyne.CanvasObject)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecvList ¶
RecvList is a list of progress bars that track send progress.
func NewRecvList ¶
NewRecvList greates a list of progress bars.
func (*RecvList) CreateItem ¶
func (p *RecvList) CreateItem() fyne.CanvasObject
CreateItem creates a new item in the list.
func (*RecvList) NewReceive ¶
NewReceive adds data about a new send to the list and then returns the channel to update the code.
func (*RecvList) OnSelected ¶
OnSelected handles removing items and stopping send (in the future)
func (*RecvList) RemoveItem ¶
RemoveItem removes the item at the specified index.
func (*RecvList) UpdateItem ¶
UpdateItem updates the data in the list.
type SendList ¶
SendList is a list of progress bars that track send progress.
func NewSendList ¶
NewSendList greates a list of progress bars.
func (*SendList) CreateItem ¶
func (p *SendList) CreateItem() fyne.CanvasObject
CreateItem creates a new item in the list.
func (*SendList) NewSendItem ¶
NewSendItem adds data about a new send to the list and then returns the channel to update the code.
func (*SendList) OnDirSelect ¶
OnDirSelect is intended to be passed as callback to a FolderOpen dialog.
func (*SendList) OnFileSelect ¶
OnFileSelect is intended to be passed as callback to a FileOpen dialog.
func (*SendList) OnSelected ¶
OnSelected handles removing items and stopping send (in the future)
func (*SendList) RemoveItem ¶
RemoveItem removes the item at the specified index.
func (*SendList) UpdateItem ¶
UpdateItem updates the data in the list.