container

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AppTabsType object.Type = "container.AppTabs"
View Source
const BorderType object.Type = "container.border"
View Source
const CenterType object.Type = "container.center"
View Source
const GridWithColumnsType object.Type = "container.gridwithcolumns"
View Source
const GridWithRowsType object.Type = "container.gridwithrows"
View Source
const HBoxType object.Type = "container.hbox"
View Source
const MaxType object.Type = "container.max"
View Source
const PaddedType object.Type = "container.padded"
View Source
const ScrollType object.Type = "container.scroll"
View Source
const SplitType object.Type = "container.Split"
View Source
const StackType object.Type = "container.stack"
View Source
const TabItemType object.Type = "container.TabItem"
View Source
const VBoxType object.Type = "container.vbox"

Variables

This section is empty.

Functions

This section is empty.

Types

type AppTabs added in v0.5.1

type AppTabs struct {
	// contains filtered or unexported fields
}

func NewAppTabs added in v0.5.1

func NewAppTabs(items ...*container.TabItem) *AppTabs

func NewAppTabsFromItems added in v0.5.1

func NewAppTabsFromItems(items ...*TabItem) *AppTabs

func (*AppTabs) Attrs added in v0.5.1

func (obj *AppTabs) Attrs() []object.AttrSpec

func (*AppTabs) CanvasObject added in v0.5.1

func (obj *AppTabs) CanvasObject() fyne.CanvasObject

func (*AppTabs) Equals added in v0.5.1

func (obj *AppTabs) Equals(other object.Object) bool

func (*AppTabs) GetAttr added in v0.5.1

func (obj *AppTabs) GetAttr(name string) (object.Object, bool)

func (*AppTabs) Inspect added in v0.5.1

func (obj *AppTabs) Inspect() string

func (*AppTabs) Interface added in v0.5.1

func (obj *AppTabs) Interface() interface{}

func (*AppTabs) IsTruthy added in v0.5.1

func (obj *AppTabs) IsTruthy() bool

func (*AppTabs) MarshalJSON added in v0.5.1

func (obj *AppTabs) MarshalJSON() ([]byte, error)

func (*AppTabs) RunOperation added in v0.5.1

func (obj *AppTabs) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*AppTabs) SetAttr added in v0.5.1

func (obj *AppTabs) SetAttr(name string, value object.Object) error

func (*AppTabs) Type added in v0.5.1

func (obj *AppTabs) Type() object.Type

type Border

type Border struct {
	// contains filtered or unexported fields
}

func NewBorder

func NewBorder(top, bottom, left, right, center fyne.CanvasObject) *Border

func (*Border) Attrs

func (obj *Border) Attrs() []object.AttrSpec

func (*Border) CanvasObject

func (obj *Border) CanvasObject() fyne.CanvasObject

func (*Border) Equals

func (obj *Border) Equals(other object.Object) bool

func (*Border) GetAttr

func (obj *Border) GetAttr(name string) (object.Object, bool)

func (*Border) Inspect

func (obj *Border) Inspect() string

func (*Border) Interface

func (obj *Border) Interface() interface{}

func (*Border) IsTruthy

func (obj *Border) IsTruthy() bool

func (*Border) MarshalJSON

func (obj *Border) MarshalJSON() ([]byte, error)

func (*Border) RunOperation

func (obj *Border) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*Border) SetAttr

func (obj *Border) SetAttr(name string, value object.Object) error

func (*Border) Type

func (obj *Border) Type() object.Type

type Center

type Center struct {
	// contains filtered or unexported fields
}

func NewCenter

func NewCenter(objects ...fyne.CanvasObject) *Center

func (*Center) Attrs

func (obj *Center) Attrs() []object.AttrSpec

func (*Center) CanvasObject

func (obj *Center) CanvasObject() fyne.CanvasObject

func (*Center) Equals

func (obj *Center) Equals(other object.Object) bool

func (*Center) GetAttr

func (obj *Center) GetAttr(name string) (object.Object, bool)

func (*Center) Inspect

func (obj *Center) Inspect() string

func (*Center) Interface

func (obj *Center) Interface() interface{}

func (*Center) IsTruthy

func (obj *Center) IsTruthy() bool

func (*Center) MarshalJSON

func (obj *Center) MarshalJSON() ([]byte, error)

func (*Center) RunOperation

func (obj *Center) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*Center) SetAttr

func (obj *Center) SetAttr(name string, value object.Object) error

func (*Center) Type

func (obj *Center) Type() object.Type

type GridWithColumns

type GridWithColumns struct {
	// contains filtered or unexported fields
}

func NewGridWithColumns

func NewGridWithColumns(cols int, objects ...fyne.CanvasObject) *GridWithColumns

func (*GridWithColumns) Attrs

func (obj *GridWithColumns) Attrs() []object.AttrSpec

func (*GridWithColumns) CanvasObject

func (obj *GridWithColumns) CanvasObject() fyne.CanvasObject

func (*GridWithColumns) Equals

func (obj *GridWithColumns) Equals(other object.Object) bool

func (*GridWithColumns) GetAttr

func (obj *GridWithColumns) GetAttr(name string) (object.Object, bool)

func (*GridWithColumns) Inspect

func (obj *GridWithColumns) Inspect() string

func (*GridWithColumns) Interface

func (obj *GridWithColumns) Interface() interface{}

func (*GridWithColumns) IsTruthy

func (obj *GridWithColumns) IsTruthy() bool

func (*GridWithColumns) MarshalJSON

func (obj *GridWithColumns) MarshalJSON() ([]byte, error)

func (*GridWithColumns) RunOperation

func (obj *GridWithColumns) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*GridWithColumns) SetAttr

func (obj *GridWithColumns) SetAttr(name string, value object.Object) error

func (*GridWithColumns) Type

func (obj *GridWithColumns) Type() object.Type

type GridWithRows

type GridWithRows struct {
	// contains filtered or unexported fields
}

func NewGridWithRows

func NewGridWithRows(rows int, objects ...fyne.CanvasObject) *GridWithRows

func (*GridWithRows) Attrs

func (obj *GridWithRows) Attrs() []object.AttrSpec

func (*GridWithRows) CanvasObject

func (obj *GridWithRows) CanvasObject() fyne.CanvasObject

func (*GridWithRows) Equals

func (obj *GridWithRows) Equals(other object.Object) bool

func (*GridWithRows) GetAttr

func (obj *GridWithRows) GetAttr(name string) (object.Object, bool)

func (*GridWithRows) Inspect

func (obj *GridWithRows) Inspect() string

func (*GridWithRows) Interface

func (obj *GridWithRows) Interface() interface{}

func (*GridWithRows) IsTruthy

func (obj *GridWithRows) IsTruthy() bool

func (*GridWithRows) MarshalJSON

func (obj *GridWithRows) MarshalJSON() ([]byte, error)

func (*GridWithRows) RunOperation

func (obj *GridWithRows) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*GridWithRows) SetAttr

func (obj *GridWithRows) SetAttr(name string, value object.Object) error

func (*GridWithRows) Type

func (obj *GridWithRows) Type() object.Type

type HBox

type HBox struct {
	// contains filtered or unexported fields
}

func NewHBox

func NewHBox(objects ...fyne.CanvasObject) *HBox

func (*HBox) Attrs

func (obj *HBox) Attrs() []object.AttrSpec

func (*HBox) CanvasObject

func (obj *HBox) CanvasObject() fyne.CanvasObject

func (*HBox) Equals

func (obj *HBox) Equals(other object.Object) bool

func (*HBox) GetAttr

func (obj *HBox) GetAttr(name string) (object.Object, bool)

func (*HBox) Inspect

func (obj *HBox) Inspect() string

func (*HBox) Interface

func (obj *HBox) Interface() interface{}

func (*HBox) IsTruthy

func (obj *HBox) IsTruthy() bool

func (*HBox) MarshalJSON

func (obj *HBox) MarshalJSON() ([]byte, error)

func (*HBox) RunOperation

func (obj *HBox) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*HBox) SetAttr

func (obj *HBox) SetAttr(name string, value object.Object) error

func (*HBox) Type

func (obj *HBox) Type() object.Type

type Max

type Max struct {
	// contains filtered or unexported fields
}

func NewMax

func NewMax(objects ...fyne.CanvasObject) *Max

func (*Max) Attrs

func (obj *Max) Attrs() []object.AttrSpec

func (*Max) CanvasObject

func (obj *Max) CanvasObject() fyne.CanvasObject

func (*Max) Equals

func (obj *Max) Equals(other object.Object) bool

func (*Max) GetAttr

func (obj *Max) GetAttr(name string) (object.Object, bool)

func (*Max) Inspect

func (obj *Max) Inspect() string

func (*Max) Interface

func (obj *Max) Interface() interface{}

func (*Max) IsTruthy

func (obj *Max) IsTruthy() bool

func (*Max) MarshalJSON

func (obj *Max) MarshalJSON() ([]byte, error)

func (*Max) RunOperation

func (obj *Max) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*Max) SetAttr

func (obj *Max) SetAttr(name string, value object.Object) error

func (*Max) Type

func (obj *Max) Type() object.Type

type Padded

type Padded struct {
	// contains filtered or unexported fields
}

func NewPadded

func NewPadded(objects ...fyne.CanvasObject) *Padded

func (*Padded) Attrs

func (obj *Padded) Attrs() []object.AttrSpec

func (*Padded) CanvasObject

func (obj *Padded) CanvasObject() fyne.CanvasObject

func (*Padded) Equals

func (obj *Padded) Equals(other object.Object) bool

func (*Padded) GetAttr

func (obj *Padded) GetAttr(name string) (object.Object, bool)

func (*Padded) Inspect

func (obj *Padded) Inspect() string

func (*Padded) Interface

func (obj *Padded) Interface() interface{}

func (*Padded) IsTruthy

func (obj *Padded) IsTruthy() bool

func (*Padded) MarshalJSON

func (obj *Padded) MarshalJSON() ([]byte, error)

func (*Padded) RunOperation

func (obj *Padded) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*Padded) SetAttr

func (obj *Padded) SetAttr(name string, value object.Object) error

func (*Padded) Type

func (obj *Padded) Type() object.Type

type Scroll

type Scroll struct {
	// contains filtered or unexported fields
}

func NewScroll

func NewScroll(content fyne.CanvasObject) *Scroll

func (*Scroll) Attrs

func (obj *Scroll) Attrs() []object.AttrSpec

func (*Scroll) CanvasObject

func (obj *Scroll) CanvasObject() fyne.CanvasObject

func (*Scroll) Equals

func (obj *Scroll) Equals(other object.Object) bool

func (*Scroll) GetAttr

func (obj *Scroll) GetAttr(name string) (object.Object, bool)

func (*Scroll) Inspect

func (obj *Scroll) Inspect() string

func (*Scroll) Interface

func (obj *Scroll) Interface() interface{}

func (*Scroll) IsTruthy

func (obj *Scroll) IsTruthy() bool

func (*Scroll) MarshalJSON

func (obj *Scroll) MarshalJSON() ([]byte, error)

func (*Scroll) RunOperation

func (obj *Scroll) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*Scroll) SetAttr

func (obj *Scroll) SetAttr(name string, value object.Object) error

func (*Scroll) Type

func (obj *Scroll) Type() object.Type

type Split

type Split struct {
	// contains filtered or unexported fields
}

func NewHSplit

func NewHSplit(leading, trailing fyne.CanvasObject) *Split

func NewVSplit

func NewVSplit(top, botttom fyne.CanvasObject) *Split

func (*Split) Attrs

func (obj *Split) Attrs() []object.AttrSpec

func (*Split) CanvasObject

func (obj *Split) CanvasObject() fyne.CanvasObject

func (*Split) Equals

func (obj *Split) Equals(other object.Object) bool

func (*Split) GetAttr

func (obj *Split) GetAttr(name string) (object.Object, bool)

func (*Split) Inspect

func (obj *Split) Inspect() string

func (*Split) Interface

func (obj *Split) Interface() interface{}

func (*Split) IsTruthy

func (obj *Split) IsTruthy() bool

func (*Split) MarshalJSON

func (obj *Split) MarshalJSON() ([]byte, error)

func (*Split) RunOperation

func (obj *Split) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*Split) SetAttr

func (obj *Split) SetAttr(name string, value object.Object) error

func (*Split) Type

func (obj *Split) Type() object.Type

type Stack

type Stack struct {
	// contains filtered or unexported fields
}

func NewStack

func NewStack(objects ...fyne.CanvasObject) *Stack

func (*Stack) Attrs

func (obj *Stack) Attrs() []object.AttrSpec

func (*Stack) CanvasObject

func (obj *Stack) CanvasObject() fyne.CanvasObject

func (*Stack) Equals

func (obj *Stack) Equals(other object.Object) bool

func (*Stack) GetAttr

func (obj *Stack) GetAttr(name string) (object.Object, bool)

func (*Stack) Inspect

func (obj *Stack) Inspect() string

func (*Stack) Interface

func (obj *Stack) Interface() interface{}

func (*Stack) IsTruthy

func (obj *Stack) IsTruthy() bool

func (*Stack) MarshalJSON

func (obj *Stack) MarshalJSON() ([]byte, error)

func (*Stack) RunOperation

func (obj *Stack) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*Stack) SetAttr

func (obj *Stack) SetAttr(name string, value object.Object) error

func (*Stack) Type

func (obj *Stack) Type() object.Type

type TabItem added in v0.5.1

type TabItem struct {
	// contains filtered or unexported fields
}

func NewTabItem added in v0.5.1

func NewTabItem(text string, content fyne.CanvasObject) *TabItem

func NewTabItemWithIcon added in v0.5.1

func NewTabItemWithIcon(text string, icon fyne.Resource, content fyne.CanvasObject) *TabItem

func (*TabItem) Attrs added in v0.5.1

func (obj *TabItem) Attrs() []object.AttrSpec

func (*TabItem) Equals added in v0.5.1

func (obj *TabItem) Equals(other object.Object) bool

func (*TabItem) GetAttr added in v0.5.1

func (obj *TabItem) GetAttr(name string) (object.Object, bool)

func (*TabItem) Inspect added in v0.5.1

func (obj *TabItem) Inspect() string

func (*TabItem) Interface added in v0.5.1

func (obj *TabItem) Interface() interface{}

func (*TabItem) IsTruthy added in v0.5.1

func (obj *TabItem) IsTruthy() bool

func (*TabItem) MarshalJSON added in v0.5.1

func (obj *TabItem) MarshalJSON() ([]byte, error)

func (*TabItem) RunOperation added in v0.5.1

func (obj *TabItem) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*TabItem) SetAttr added in v0.5.1

func (obj *TabItem) SetAttr(name string, value object.Object) error

func (*TabItem) Type added in v0.5.1

func (obj *TabItem) Type() object.Type

type VBox

type VBox struct {
	// contains filtered or unexported fields
}

func NewVBox

func NewVBox(objects ...fyne.CanvasObject) *VBox

func (*VBox) Attrs

func (obj *VBox) Attrs() []object.AttrSpec

func (*VBox) CanvasObject

func (obj *VBox) CanvasObject() fyne.CanvasObject

func (*VBox) Equals

func (obj *VBox) Equals(other object.Object) bool

func (*VBox) GetAttr

func (obj *VBox) GetAttr(name string) (object.Object, bool)

func (*VBox) Inspect

func (obj *VBox) Inspect() string

func (*VBox) Interface

func (obj *VBox) Interface() interface{}

func (*VBox) IsTruthy

func (obj *VBox) IsTruthy() bool

func (*VBox) MarshalJSON

func (obj *VBox) MarshalJSON() ([]byte, error)

func (*VBox) RunOperation

func (obj *VBox) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)

func (*VBox) SetAttr

func (obj *VBox) SetAttr(name string, value object.Object) error

func (*VBox) Type

func (obj *VBox) Type() object.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL