window

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver interface {
	Compare(a string, b string) int
	Sections(ctx context.Context, from string, inclusive bool, asc bool, limit int) ([]Section, bool, error)
}

type List

type List struct {
	InitialWindow controller.Window
	SaveWindow    func(context.Context, controller.Window)
	Driver        Driver
	Margin        int
	Empty         gox.Comp
	// contains filtered or unexported fields
}

func (List) Main

func (w List) Main() gox.Elem

type Section

type Section struct {
	Key     string
	Content gox.Comp
}

Jump to

Keyboard shortcuts

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