Documentation ¶
Index ¶
Constants ¶
View Source
const EmojiSize = 32
EmojiSize is the size of each emoji in widget size.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type View ¶
type View struct { *gtk.Box // contains filtered or unexported fields }
func (*View) Invalidate ¶
func (v *View) Invalidate()
Invalidate invalidates the emoji list and re-renders everything. If the given room ID is empty, then the user's emojis are fetched.
func (*View) InvalidateName ¶
func (v *View) InvalidateName()
InvalidateName invalidates the name at the top left corner.
func (*View) Stop ¶
func (v *View) Stop()
Stop cancels the background context, which cancels any background jobs.
func (*View) ToData ¶
func (v *View) ToData() emojis.EmoticonEventData
ToData converts View's internal state to an EmoticonEventData type.
Click to show internal directories.
Click to hide internal directories.