entry

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MIT Imports: 3 Imported by: 0

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

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