Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { *gtk.ListBoxRow // contains filtered or unexported fields }
Channel is an individual direct messaging channel.
func NewChannel ¶
NewChannel creates a new Channel.
func (*Channel) Invalidate ¶
func (ch *Channel) Invalidate()
Invalidate fetches the same channel from the state and updates itself.
func (*Channel) InvalidateSort ¶
func (ch *Channel) InvalidateSort()
InvalidateSort invalidates the sorting position of this channel within the major channel list.
func (*Channel) LastMessageID ¶
LastMessageID queries the local state for the channel's last message ID.
type ChannelView ¶
type ChannelView struct { *adaptive.LoadablePage // contains filtered or unexported fields }
ChannelView displays a list of direct messaging channels.
func NewChannelView ¶
func NewChannelView(ctx context.Context) *ChannelView
NewChannelView creates a new view.
func (*ChannelView) Invalidate ¶
func (v *ChannelView) Invalidate()
Invalidate invalidates the whole channel view.
func (*ChannelView) SelectChannel ¶
func (v *ChannelView) SelectChannel(chID discord.ChannelID)
SelectChannel selects a known channel. If none is known, then it is selected later when the list is changed or never selected if the user selects something else.
Click to show internal directories.
Click to hide internal directories.