compact

package
v0.0.0-...-6513b37 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	*container.ListContainer
	// contains filtered or unexported fields
}

func NewContainer

func NewContainer(ctrl container.Controller) *Container

func (*Container) CreateMessage

func (c *Container) CreateMessage(msg cchat.MessageCreate)

func (*Container) DeleteMessage

func (c *Container) DeleteMessage(msg cchat.MessageDelete)

func (*Container) NewPresendMessage

func (c *Container) NewPresendMessage(state *message.PresendState) container.PresendMessageRow

func (*Container) UpdateMessage

func (c *Container) UpdateMessage(msg cchat.MessageUpdate)

type Message

type Message struct {
	*message.State
	Timestamp *gtk.Label
	Username  *labeluri.Label
	// contains filtered or unexported fields
}

func WrapMessage

func WrapMessage(ct *message.State) Message

func (Message) Revert

func (m Message) Revert() *message.State

func (Message) SetReferenceHighlighter

func (m Message) SetReferenceHighlighter(r labeluri.ReferenceHighlighter)

SetReferenceHighlighter sets the reference highlighter into the message.

type PresendMessage

type PresendMessage struct {
	message.Presender
	Message
}

func WrapPresendMessage

func WrapPresendMessage(pstate *message.PresendState) PresendMessage

type SizeGroups

type SizeGroups struct {
	Timestamp *gtk.SizeGroup
	Username  *gtk.SizeGroup
}

func NewSizeGroups

func NewSizeGroups() SizeGroups

func (*SizeGroups) Add

func (sgs *SizeGroups) Add(msg Message)

Jump to

Keyboard shortcuts

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