godock: github.com/sqp/godock/libs/cdtype/AppTmpl/src Index | Files

package AppTmpl

import "github.com/sqp/godock/libs/cdtype/AppTmpl/src"

Package AppTmpl is a new template applet for Cairo-Dock.


Package Files

applet.go config.go


const DefaultIconTest = "test.svg"

DefaultIconTest is the default emblem icon for test.

const EmblemTest = cdtype.EmblemTopRight

EmblemTest is the position of the test emblem.

func NewApplet Uses

func NewApplet(base cdtype.AppBase, events *cdtype.Events) cdtype.AppInstance

NewApplet creates a new applet instance.

type Applet Uses

type Applet struct {
    cdtype.AppBase // Applet base and dock connection.
    // contains filtered or unexported fields

Applet defines a dock applet.

func (*Applet) Init Uses

func (app *Applet) Init(def *cdtype.Defaults, confLoaded bool)

Init load user configuration if needed and initialise applet.

Package AppTmpl imports 1 packages (graph) and is imported by 1 packages. Updated 2017-09-01. Refresh now. Tools for package owners.