Documentation ¶
Overview ¶
Package appinfo provides an applets list with edit applet info widget.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfApplet ¶
type ConfApplet struct { gtk.Box Applets *map[string]datatype.Appleter // List of applets known by the Dock. // contains filtered or unexported fields }
ConfApplet provides an applets list with edit applet info widget.
func New ¶
func New(source cftype.Source, log cdtype.Logger, switcher *pageswitch.Switcher) *ConfApplet
New creates a widget to list cairo-dock applets and themes.
func NewLoaded ¶
func NewLoaded(source cftype.Source, log cdtype.Logger, switcher *pageswitch.Switcher) *ConfApplet
NewLoaded creates a widget to list cairo-dock applets and themes and loads data.
func (*ConfApplet) OnSelect ¶
func (widget *ConfApplet) OnSelect(selpack datatype.Appleter)
OnSelect reacts when a row is selected. Sets the new selected package.
func (*ConfApplet) Save ¶
func (widget *ConfApplet) Save()
Save saves current applet info (user clicked the save button).
func (*ConfApplet) SetControlInstall ¶
func (widget *ConfApplet) SetControlInstall(ctrl appletlist.ControlInstall)
SetControlInstall forwards the list controler to the menu for updates.
type EditInfo ¶
type EditInfo struct { Title *cftype.Key Author *cftype.Key Version *cftype.Key Category *cftype.Key MultiInstance *cftype.Key ActAsLauncher *cftype.Key Description *cftype.Key Name *cftype.Key Icon *cftype.Key Path *cftype.Key // contains filtered or unexported fields }
EditInfo defines an applet info edit widget.
func (*EditInfo) Edited ¶
func (ed *EditInfo) Edited() map[packages.AppInfoField]interface{}
Edited returns the list of edited fields.
func (*EditInfo) NewBuilder ¶
func (ed *EditInfo) NewBuilder(source cftype.Source, log cdtype.Logger, switcher *pageswitch.Switcher) cftype.Grouper
NewBuilder creates the builder widget to edit applet info.
func (*EditInfo) SetPack ¶
func (ed *EditInfo) SetPack(pack *packages.AppletPackage)
SetPack applies package data in the editor.
type GUIControl ¶
GUIControl is the interface to the main GUI and data source.