selectlist

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2025 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package selectlist implements a selectlist gio component This code was extracted from public domain licensed project expgio See: https://github.com/egonelbre/expgio

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FocusBorderStyle

type FocusBorderStyle struct {
	Focused     bool
	BorderWidth unit.Dp
	Color       color.NRGBA
}

func FocusBorder

func FocusBorder(th *material.Theme, focused bool) FocusBorderStyle

func (FocusBorderStyle) Layout

type SelectList

type SelectList struct {
	widget.List
	Selected   int
	Hovered    int
	ItemHeight unit.Dp

	Theme *material.Theme
	// contains filtered or unexported fields
}

func (*SelectList) Layout

func (list *SelectList) Layout(gtx layout.Context, length int, element layout.ListElement) layout.Dimensions

Jump to

Keyboard shortcuts

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