Documentation ¶
Index ¶
- Constants
- func PresenceColor(guild discord.Guild, member discord.Presence) discord.Color
- type Container
- func (c *Container) UpdateActivity(ac *discord.Activity)
- func (c *Container) UpdateAvatar(url string)
- func (c *Container) UpdateMember(m discord.Member, guild discord.Guild)
- func (c *Container) UpdatePresence(m discord.Presence, guild discord.Guild)
- func (c *Container) UpdateStatus(status discord.Status)
- func (c *Container) UpdateUser(u discord.User)
Constants ¶
View Source
const AvatarSize = 32
View Source
const AvatarSizeGtk = gtk.ICON_SIZE_DND
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Container ¶
type Container struct { *gtk.Box Avatar *gtk.Image AStyle *gtk.StyleContext // Right side Box is not here LabelBox *gtk.Box Name *gtk.Label Activity *gtk.Label NameValue string // contains filtered or unexported fields }
func (*Container) UpdateActivity ¶
func (*Container) UpdateAvatar ¶
func (*Container) UpdateMember ¶
func (*Container) UpdatePresence ¶
func (*Container) UpdateStatus ¶
func (*Container) UpdateUser ¶
Click to show internal directories.
Click to hide internal directories.