layoutgen

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: BSD-3-Clause Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package layoutgen counts changes to what layout depends on that refresh nothing: a min size set directly (SetMinSize) or a visibility change (Show, Hide) on primitives, containers and spacers. No canvas hears of them otherwise, so the next min-size pass of every canvas walks and asks every object again when the count moved (#464, #487). It imports nothing, so the root package can use it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Changed

func Changed()

Changed records such a change.

func Epoch

func Epoch() uint64

Epoch returns the count Changed raises.

Types

This section is empty.

Jump to

Keyboard shortcuts

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