package
0.1.4
Repository: https://github.com/diamondburned/gotktrix.git
Documentation: pkg.go.dev

# Functions

New creates a new instance of autocompleter.
NewEmojiSearcher creates a new emoji searcher.
NewRoomMemberSearcher creates a new searcher constructor that can search up room members for the given room.

# Constants

AutocompleterWidth is the minimum width of the popped up autocompleter.
MaxResults is the maximum number of search results.

# Structs

Autocompleter is the autocompleter instance.
EmojiData is the Data structure for each emoji.
SelectedData wraps around a Data to provide additional metadata that could be useful for the user.

# Interfaces

Data represents a data structure capable of being displayed inside a list by constructing a new ListBoxRow.
Searcher is the interface for anything that can handle searching up a particular entity, such as a room member.

# Type aliases

RoomMemberData is the data for each room member.
SelectedFunc is the callback type that is called when the user has selected an entry inside the autocompleter.