render_runtime

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorSeriesFromStarlark added in v0.23.0

func ColorSeriesFromStarlark(list *starlark.List) ([]color.Color, error)

func DataPointElementFromStarlark

func DataPointElementFromStarlark(value starlark.Value) (float64, error)

func DataPointFromStarlark

func DataPointFromStarlark(value starlark.Value) ([2]float64, error)

func DataSeriesFromStarlark

func DataSeriesFromStarlark(list *starlark.List) ([][2]float64, error)

func LoadRenderModule

func LoadRenderModule() (starlark.StringDict, error)

func WeightsFromStarlark added in v0.23.0

func WeightsFromStarlark(list *starlark.List) ([]float64, error)

Types

type Animation

type Animation struct {
	Widget

	render.Animation
	// contains filtered or unexported fields
}

func (*Animation) AsRenderWidget

func (w *Animation) AsRenderWidget() render.Widget

func (*Animation) Attr

func (w *Animation) Attr(name string) (starlark.Value, error)

func (*Animation) AttrNames

func (w *Animation) AttrNames() []string

func (*Animation) Freeze

func (w *Animation) Freeze()

func (*Animation) Hash

func (w *Animation) Hash() (uint32, error)

func (*Animation) String

func (w *Animation) String() string

func (*Animation) Truth

func (w *Animation) Truth() starlark.Bool

func (*Animation) Type

func (w *Animation) Type() string

type Box

type Box struct {
	Widget

	render.Box
	// contains filtered or unexported fields
}

func (*Box) AsRenderWidget

func (w *Box) AsRenderWidget() render.Widget

func (*Box) Attr

func (w *Box) Attr(name string) (starlark.Value, error)

func (*Box) AttrNames

func (w *Box) AttrNames() []string

func (*Box) Freeze

func (w *Box) Freeze()

func (*Box) Hash

func (w *Box) Hash() (uint32, error)

func (*Box) String

func (w *Box) String() string

func (*Box) Truth

func (w *Box) Truth() starlark.Bool

func (*Box) Type

func (w *Box) Type() string

type Circle

type Circle struct {
	Widget

	render.Circle
	// contains filtered or unexported fields
}

func (*Circle) AsRenderWidget

func (w *Circle) AsRenderWidget() render.Widget

func (*Circle) Attr

func (w *Circle) Attr(name string) (starlark.Value, error)

func (*Circle) AttrNames

func (w *Circle) AttrNames() []string

func (*Circle) Freeze

func (w *Circle) Freeze()

func (*Circle) Hash

func (w *Circle) Hash() (uint32, error)

func (*Circle) String

func (w *Circle) String() string

func (*Circle) Truth

func (w *Circle) Truth() starlark.Bool

func (*Circle) Type

func (w *Circle) Type() string

type Column

type Column struct {
	Widget

	render.Column
	// contains filtered or unexported fields
}

func (*Column) AsRenderWidget

func (w *Column) AsRenderWidget() render.Widget

func (*Column) Attr

func (w *Column) Attr(name string) (starlark.Value, error)

func (*Column) AttrNames

func (w *Column) AttrNames() []string

func (*Column) Freeze

func (w *Column) Freeze()

func (*Column) Hash

func (w *Column) Hash() (uint32, error)

func (*Column) String

func (w *Column) String() string

func (*Column) Truth

func (w *Column) Truth() starlark.Bool

func (*Column) Type

func (w *Column) Type() string

type Image

type Image struct {
	Widget

	render.Image
	// contains filtered or unexported fields
}

func (*Image) AsRenderWidget

func (w *Image) AsRenderWidget() render.Widget

func (*Image) Attr

func (w *Image) Attr(name string) (starlark.Value, error)

func (*Image) AttrNames

func (w *Image) AttrNames() []string

func (*Image) Freeze

func (w *Image) Freeze()

func (*Image) Hash

func (w *Image) Hash() (uint32, error)

func (*Image) String

func (w *Image) String() string

func (*Image) Truth

func (w *Image) Truth() starlark.Bool

func (*Image) Type

func (w *Image) Type() string

type Marquee

type Marquee struct {
	Widget

	render.Marquee
	// contains filtered or unexported fields
}

func (*Marquee) AsRenderWidget

func (w *Marquee) AsRenderWidget() render.Widget

func (*Marquee) Attr

func (w *Marquee) Attr(name string) (starlark.Value, error)

func (*Marquee) AttrNames

func (w *Marquee) AttrNames() []string

func (*Marquee) Freeze

func (w *Marquee) Freeze()

func (*Marquee) Hash

func (w *Marquee) Hash() (uint32, error)

func (*Marquee) String

func (w *Marquee) String() string

func (*Marquee) Truth

func (w *Marquee) Truth() starlark.Bool

func (*Marquee) Type

func (w *Marquee) Type() string

type Padding

type Padding struct {
	Widget

	render.Padding
	// contains filtered or unexported fields
}

func (*Padding) AsRenderWidget

func (w *Padding) AsRenderWidget() render.Widget

func (*Padding) Attr

func (w *Padding) Attr(name string) (starlark.Value, error)

func (*Padding) AttrNames

func (w *Padding) AttrNames() []string

func (*Padding) Freeze

func (w *Padding) Freeze()

func (*Padding) Hash

func (w *Padding) Hash() (uint32, error)

func (*Padding) String

func (w *Padding) String() string

func (*Padding) Truth

func (w *Padding) Truth() starlark.Bool

func (*Padding) Type

func (w *Padding) Type() string

type PieChart added in v0.23.0

type PieChart struct {
	Widget

	render.PieChart
	// contains filtered or unexported fields
}

func (*PieChart) AsRenderWidget added in v0.23.0

func (w *PieChart) AsRenderWidget() render.Widget

func (*PieChart) Attr added in v0.23.0

func (w *PieChart) Attr(name string) (starlark.Value, error)

func (*PieChart) AttrNames added in v0.23.0

func (w *PieChart) AttrNames() []string

func (*PieChart) Freeze added in v0.23.0

func (w *PieChart) Freeze()

func (*PieChart) Hash added in v0.23.0

func (w *PieChart) Hash() (uint32, error)

func (*PieChart) String added in v0.23.0

func (w *PieChart) String() string

func (*PieChart) Truth added in v0.23.0

func (w *PieChart) Truth() starlark.Bool

func (*PieChart) Type added in v0.23.0

func (w *PieChart) Type() string

type Plot

type Plot struct {
	Widget

	render.Plot
	// contains filtered or unexported fields
}

func (*Plot) AsRenderWidget

func (w *Plot) AsRenderWidget() render.Widget

func (*Plot) Attr

func (w *Plot) Attr(name string) (starlark.Value, error)

func (*Plot) AttrNames

func (w *Plot) AttrNames() []string

func (*Plot) Freeze

func (w *Plot) Freeze()

func (*Plot) Hash

func (w *Plot) Hash() (uint32, error)

func (*Plot) String

func (w *Plot) String() string

func (*Plot) Truth

func (w *Plot) Truth() starlark.Bool

func (*Plot) Type

func (w *Plot) Type() string

type RenderModule

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

type Root

type Root struct {
	render.Root
	// contains filtered or unexported fields
}

func (*Root) AsRenderRoot

func (w *Root) AsRenderRoot() render.Root

func (*Root) Attr

func (w *Root) Attr(name string) (starlark.Value, error)

func (*Root) AttrNames

func (w *Root) AttrNames() []string

func (*Root) Freeze

func (w *Root) Freeze()

func (*Root) Hash

func (w *Root) Hash() (uint32, error)

func (*Root) String

func (w *Root) String() string

func (*Root) Truth

func (w *Root) Truth() starlark.Bool

func (*Root) Type

func (w *Root) Type() string

type Rootable

type Rootable interface {
	AsRenderRoot() render.Root
}

type Row

type Row struct {
	Widget

	render.Row
	// contains filtered or unexported fields
}

func (*Row) AsRenderWidget

func (w *Row) AsRenderWidget() render.Widget

func (*Row) Attr

func (w *Row) Attr(name string) (starlark.Value, error)

func (*Row) AttrNames

func (w *Row) AttrNames() []string

func (*Row) Freeze

func (w *Row) Freeze()

func (*Row) Hash

func (w *Row) Hash() (uint32, error)

func (*Row) String

func (w *Row) String() string

func (*Row) Truth

func (w *Row) Truth() starlark.Bool

func (*Row) Type

func (w *Row) Type() string

type Sequence added in v0.17.7

type Sequence struct {
	Widget

	render.Sequence
	// contains filtered or unexported fields
}

func (*Sequence) AsRenderWidget added in v0.17.7

func (w *Sequence) AsRenderWidget() render.Widget

func (*Sequence) Attr added in v0.17.7

func (w *Sequence) Attr(name string) (starlark.Value, error)

func (*Sequence) AttrNames added in v0.17.7

func (w *Sequence) AttrNames() []string

func (*Sequence) Freeze added in v0.17.7

func (w *Sequence) Freeze()

func (*Sequence) Hash added in v0.17.7

func (w *Sequence) Hash() (uint32, error)

func (*Sequence) String added in v0.17.7

func (w *Sequence) String() string

func (*Sequence) Truth added in v0.17.7

func (w *Sequence) Truth() starlark.Bool

func (*Sequence) Type added in v0.17.7

func (w *Sequence) Type() string

type Stack

type Stack struct {
	Widget

	render.Stack
	// contains filtered or unexported fields
}

func (*Stack) AsRenderWidget

func (w *Stack) AsRenderWidget() render.Widget

func (*Stack) Attr

func (w *Stack) Attr(name string) (starlark.Value, error)

func (*Stack) AttrNames

func (w *Stack) AttrNames() []string

func (*Stack) Freeze

func (w *Stack) Freeze()

func (*Stack) Hash

func (w *Stack) Hash() (uint32, error)

func (*Stack) String

func (w *Stack) String() string

func (*Stack) Truth

func (w *Stack) Truth() starlark.Bool

func (*Stack) Type

func (w *Stack) Type() string

type Text

type Text struct {
	Widget

	render.Text
	// contains filtered or unexported fields
}

func (*Text) AsRenderWidget

func (w *Text) AsRenderWidget() render.Widget

func (*Text) Attr

func (w *Text) Attr(name string) (starlark.Value, error)

func (*Text) AttrNames

func (w *Text) AttrNames() []string

func (*Text) Freeze

func (w *Text) Freeze()

func (*Text) Hash

func (w *Text) Hash() (uint32, error)

func (*Text) String

func (w *Text) String() string

func (*Text) Truth

func (w *Text) Truth() starlark.Bool

func (*Text) Type

func (w *Text) Type() string

type Widget

type Widget interface {
	AsRenderWidget() render.Widget
}

type WrappedText

type WrappedText struct {
	Widget

	render.WrappedText
	// contains filtered or unexported fields
}

func (*WrappedText) AsRenderWidget

func (w *WrappedText) AsRenderWidget() render.Widget

func (*WrappedText) Attr

func (w *WrappedText) Attr(name string) (starlark.Value, error)

func (*WrappedText) AttrNames

func (w *WrappedText) AttrNames() []string

func (*WrappedText) Freeze

func (w *WrappedText) Freeze()

func (*WrappedText) Hash

func (w *WrappedText) Hash() (uint32, error)

func (*WrappedText) String

func (w *WrappedText) String() string

func (*WrappedText) Truth

func (w *WrappedText) Truth() starlark.Bool

func (*WrappedText) Type

func (w *WrappedText) Type() string

Jump to

Keyboard shortcuts

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