emojis

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Size = 28

Size is the emoji size.

Variables

This section is empty.

Functions

This section is empty.

Types

type MainPage

type MainPage struct {
	*gtk.ScrolledWindow
	Main     *gtk.Box
	Sections []*Section
	// contains filtered or unexported fields
}

MainPage contains sections, which has all emojis.

type Picker

type Picker struct {
	*gtk.Popover
	Main *gtk.Box

	Search *handy.SearchBar

	PageView   *gtk.Stack
	MainPage   MainPage   // page 1 "main"
	SearchPage SearchPage // page 2 "search"
	Error      *gtk.Label
	// contains filtered or unexported fields
}

type RevealerBox

type RevealerBox struct {
	*gtk.Box
	Revealer *gtk.Revealer
}

func (*RevealerBox) ConnectRevealChild added in v0.1.0

func (r *RevealerBox) ConnectRevealChild(f func(revealed bool))

type SearchPage

type SearchPage struct {
	*gtk.ScrolledWindow
	Flow *gtk.FlowBox
	// contains filtered or unexported fields
}

type Section

type Section struct {
	*RevealerBox
	Button *gtk.ToggleButton
	Body   *gtk.FlowBox

	Emojis []discord.Emoji
	// contains filtered or unexported fields
}

type Spawner

type Spawner struct {
	// Optional.
	Refocus interface{ GrabFocus() }
	// contains filtered or unexported fields
}

func New

func New(s *ningen.State, click func(string)) *Spawner

func (*Spawner) Spawn

func (s *Spawner) Spawn(relative gtk.Widgetter, currentGuild discord.GuildID) *Picker

Jump to

Keyboard shortcuts

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