Documentation ¶
Overview ¶
Package appletlist provides an applets list treeview widget.
Index ¶
Constants ¶
const ( RowKey = iota RowIcon RowName RowCategory RowNameWeight // Display param )
Rows defines liststore rows. Must match the ListStore declaration type and order.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlDownload ¶
type ControlDownload interface { OnSelect(datatype.Appleter) SetControlInstall(ControlInstall) Save() }
ControlDownload is the interface to the main GUI for the download page.
type ControlInstall ¶
ControlInstall is the interface to the download page for the main GUI.
type List ¶
type List struct { gtk.ScrolledWindow // Main widget is the container. The ScrolledWindow will handle list scrollbars. // contains filtered or unexported fields }
List defines an applets list widget.
func NewList ¶
func NewList(control ControlDownload, log cdtype.Logger) *List
NewList creates a new applets list widget.
type ListAdd ¶
type ListAdd struct { ListPack // contains filtered or unexported fields }
ListAdd defines an applet list widget with applets allowed to be enabled.
func NewListAdd ¶
func NewListAdd(control ControlDownload, log cdtype.Logger) *ListAdd
NewListAdd creates an applet list widget with applets allowed to be enabled.
func (*ListAdd) UpdateModuleState ¶
UpdateModuleState updates the state of the given applet, from a dock event.
type ListEditApp ¶
type ListEditApp struct {
ListPack
}
ListEditApp defines an applet list widget with applets allowed to be enabled.
func NewListEditApp ¶
func NewListEditApp(control ControlDownload, log cdtype.Logger) *ListEditApp
NewListEditApp creates an applet list widget with editable applet info.
type ListExternal ¶
type ListExternal struct {
List
}
ListExternal defines an applet list widget with external applets to install.
func NewListExternal ¶
func NewListExternal(control ControlDownload, log cdtype.Logger) *ListExternal
NewListExternal creates an applet list widget with external applets to install.
type ListPack ¶
type ListPack struct {
List
}
ListPack defines an applet list widget with applets allowed to be enabled.
type ListThemes ¶
type ListThemes struct {
List
}
ListThemes defines an list and preview widget with dock themes to install.
func NewListThemes ¶
func NewListThemes(control ControlDownload, log cdtype.Logger) *ListThemes
NewListThemes creates a list and preview widget with dock themes to install.