Documentation ¶
Index ¶
Constants ¶
View Source
const ( AlbumIconSize = gtk.IconSizeLarge PixelIconSize = 96 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { gtk.Stack Lists map[string]*TrackList // tree model // contains filtered or unexported fields }
func NewContainer ¶
func NewContainer(parent ParentController) *Container
func (*Container) DeletePlaylist ¶
type ParentController ¶
type TrackList ¶
type TrackList struct { gtk.ScrolledWindow Tree *gtk.TreeView Store *gtk.ListStore Select *gtk.TreeSelection Playlist *state.Playlist TrackRows map[*state.Track]*TrackRow // contains filtered or unexported fields }
func NewTrackList ¶
func NewTrackList(parent ParentController, pl *state.Playlist) *TrackList
func (*TrackList) SelectPlaying ¶
func (list *TrackList) SelectPlaying()
func (*TrackList) SetPlaying ¶
SetPlaying unbolds the last track (if any) and bolds the given track. It does not trigger any callback.
func (*TrackList) SortSelected ¶
func (list *TrackList) SortSelected()
SortSelected sorts the selected tracks.
Click to show internal directories.
Click to hide internal directories.