Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Button ¶
type Button struct { *gtk.Overlay Pill *sidebutton.Pill Button *gtk.Button // contains filtered or unexported fields }
type ChannelButton ¶
type ChannelButton struct { *sidebutton.Button // contains filtered or unexported fields }
func NewChannelButton ¶
func NewChannelButton(ctx context.Context, id discord.ChannelID) *ChannelButton
func (*ChannelButton) ID ¶
func (c *ChannelButton) ID() discord.ChannelID
ID returns the channel ID.
func (*ChannelButton) Invalidate ¶
func (c *ChannelButton) Invalidate()
Invalidate invalidates and updates the state of the channel.
func (*ChannelButton) InvalidateUnread ¶
func (c *ChannelButton) InvalidateUnread()
InvalidateUnread invalidates the guild's unread state.
func (*ChannelButton) Update ¶
func (c *ChannelButton) Update(ch *discord.Channel)
Update updates the channel with the given Discord object.
type View ¶
type View struct { *gtk.Box DM *Button // contains filtered or unexported fields }
func (*View) Invalidate ¶
func (v *View) Invalidate()
func (*View) SetSelected ¶
Click to show internal directories.
Click to hide internal directories.