Documentation ¶
Index ¶
- func NewChatRow(ctx context.Context, parent UiParent, chat *db.Conversation) (*chatItemRow, error)
- func NewMessageRowUi(ctx context.Context, parent UiParent, message *models.MessageModel) *messageRowUi
- type ChatListUiView
- type ChatUiView
- func (ch *ChatUiView) ClearMessages(startTimestamp *time.Time, endTimestamp *time.Time)
- func (ch *ChatUiView) Close()
- func (ch *ChatUiView) Done() <-chan struct{}
- func (ch *ChatUiView) LoadMessages(startTimestamp *time.Time, endTimestamp *time.Time, limit int)
- func (ch *ChatUiView) Title() string
- func (ch *ChatUiView) Update(msg *UiMessage) error
- type Message
- type MessageUiView
- type ProfileUiView
- type QrUiView
- type UiMessage
- type UiParent
- type UiView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChatRow ¶
func NewMessageRowUi ¶
func NewMessageRowUi(ctx context.Context, parent UiParent, message *models.MessageModel) *messageRowUi
Types ¶
type ChatListUiView ¶
type ChatListUiView struct { *gtk.ScrolledWindow // contains filtered or unexported fields }
func NewChatListView ¶
func NewChatListView(parent UiParent) *ChatListUiView
func (*ChatListUiView) Close ¶
func (ch *ChatListUiView) Close()
func (*ChatListUiView) Done ¶
func (ch *ChatListUiView) Done() <-chan struct{}
func (*ChatListUiView) Title ¶
func (ch *ChatListUiView) Title() string
func (*ChatListUiView) Update ¶
func (ch *ChatListUiView) Update(msg *UiMessage) error
type ChatUiView ¶
type ChatUiView struct { *gtk.Box // contains filtered or unexported fields }
func NewChatView ¶
func NewChatView(parent UiParent) *ChatUiView
func (*ChatUiView) ClearMessages ¶
func (ch *ChatUiView) ClearMessages(startTimestamp *time.Time, endTimestamp *time.Time)
func (*ChatUiView) Close ¶
func (ch *ChatUiView) Close()
func (*ChatUiView) Done ¶
func (ch *ChatUiView) Done() <-chan struct{}
func (*ChatUiView) LoadMessages ¶
func (*ChatUiView) Title ¶
func (ch *ChatUiView) Title() string
func (*ChatUiView) Update ¶
func (ch *ChatUiView) Update(msg *UiMessage) error
type MessageUiView ¶
type MessageUiView struct { *gtk.Box // contains filtered or unexported fields }
func NewMessageView ¶
func NewMessageView(parent UiParent) *MessageUiView
func (*MessageUiView) Close ¶
func (m *MessageUiView) Close()
func (*MessageUiView) Done ¶
func (m *MessageUiView) Done() <-chan struct{}
func (*MessageUiView) Title ¶
func (m *MessageUiView) Title() string
func (*MessageUiView) Update ¶
func (m *MessageUiView) Update(msg *UiMessage) error
type ProfileUiView ¶
type ProfileUiView struct { *gtk.Box // contains filtered or unexported fields }
func NewProfileUiView ¶
func NewProfileUiView(parent UiParent) *ProfileUiView
func (*ProfileUiView) Close ¶
func (pv *ProfileUiView) Close()
func (*ProfileUiView) Done ¶
func (pv *ProfileUiView) Done() <-chan struct{}
func (*ProfileUiView) Title ¶
func (pv *ProfileUiView) Title() string
func (*ProfileUiView) Update ¶
func (pv *ProfileUiView) Update(msg *UiMessage) error
type QrUiView ¶
type QrUiView struct { *gtk.ScrolledWindow // contains filtered or unexported fields }
func NewQrUiView ¶
func (*QrUiView) RefreshQrCode ¶
func (qr *QrUiView) RefreshQrCode()
Click to show internal directories.
Click to hide internal directories.