Documentation
¶
Index ¶
Constants ¶
View Source
const ChannelsWidth = bannerWidth
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Banner ¶
type Banner struct { *gtk.Overlay Shadows *gtk.Box Picture *onlineimage.Picture // contains filtered or unexported fields }
Banner is the guild banner display on top of the channel view.
func (*Banner) Invalidate ¶
func (b *Banner) Invalidate()
Invalidate invalidates and updates the Banner image.
func (*Banner) SetScrollOpacity ¶
SetScrollOpacity sets the opacity of the shadow depending on the scroll level. If the scroll goes past the banner, then scrolled is true.
type View ¶
type View struct { *adw.ToolbarView Header struct { *adw.HeaderBar Name *gtk.Label } Scroll *gtk.ScrolledWindow Child struct { *gtk.Box Banner *Banner View *gtk.ListView } // contains filtered or unexported fields }
View holds the entire channel sidebar containing all the categories, channels and threads.
func (*View) InvalidateHeader ¶
func (v *View) InvalidateHeader()
InvalidateHeader invalidates the guild name and banner.
Click to show internal directories.
Click to hide internal directories.