entry

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithIcon

func WithIcon(icon string) opt

Set the icon for that row.

func WithInfo

func WithInfo(info string) opt

Info that, on selection, gets placed in the ROFI_INFO environment variable. This entry does not get searched.

func WithMeta

func WithMeta(meta string) opt

Specify invisible search terms.

func WithNonSelectable

func WithNonSelectable() opt

Make so that row cannot activated.

Types

type Entry

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

func FromStrings added in v0.1.1

func FromStrings(items []string) []*Entry

func New

func New(text string, opts ...opt) *Entry

func (*Entry) Build

func (e *Entry) Build() string

Jump to

Keyboard shortcuts

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