Fyne API "widget.Group"
widget.Group
import "fyne.io/fyne/widget"
Usage
type Group
type Group struct {
BaseWidget
Text string
}
Group widget contains a list of widgets that are grouped under a dividing line and title at the top.
func NewGroup
func NewGroup(title string, children ...fyne.CanvasObject) *Group
NewGroup creates a new grouped list widget with a title and the specified list of child objects.
Deprecated: Consider using the Card instead.
func NewGroupWithScroller
func NewGroupWithScroller(title string, children ...fyne.CanvasObject) *Group
NewGroupWithScroller creates a new grouped list widget with a title and the specified list of child objects. This group will scroll when the available space is less than needed to display the items it contains.
Deprecated: Consider using the Card instead.
func (*Group) Append
func (g *Group) Append(object fyne.CanvasObject)
Append adds a new CanvasObject to the end of the group
func (*Group) CreateRenderer
func (g *Group) CreateRenderer() fyne.WidgetRenderer
CreateRenderer is a private method to Fyne which links this widget to its renderer
func (*Group) MinSize
func (g *Group) MinSize() fyne.Size
MinSize returns the size that this widget should not shrink below
func (*Group) Prepend
func (g *Group) Prepend(object fyne.CanvasObject)
Prepend inserts a new CanvasObject at the top of the group