maindock

package
v0.0.0-...-0caaa62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2017 License: GPL-3.0-or-later Imports: 17 Imported by: 0

Documentation

Overview

Package maindock is a wrapper to build a dock interface.

Missing

_cairo_dock_successful_launch - Happy New Year message.
extern gboolean g_bEasterEggs;
crash tests and recovery. Not sure what to do about it.
  static gint s_iNbCrashes = 0;
  static gboolean s_bSucessfulLaunch = FALSE;
  static GString *s_pLaunchCommand = NULL;

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean()

Clean cleans the dock variables on stop.

func SetLogger

func SetLogger(l cdtype.Logger)

SetLogger provides a common logger for the dock. It must be set to start a dock.

Types

type DockSettings

type DockSettings struct {
	// --- Original Cairo-Dock settings ---
	//
	ForceCairo     bool
	ForceOpenGL    bool
	IndirectOpenGL bool
	AskBackend     bool
	Env            string

	UserDefinedDataDir string
	ThemeServer        string

	Delay              int
	Exclude            []string
	SafeMode           bool
	MetacityWorkaround bool
	Verbosity          string
	ForceColor         bool

	Locked     bool
	KeepAbove  bool
	NoSticky   bool
	ModulesDir string

	// --- New Dock settings ---
	//
	WebHost     string
	WebPort     int
	WebMonitor  bool
	DisableDBus bool
	Debug       bool
	// contains filtered or unexported fields
}

DockSettings defines the dock settings provided as command flags.

func (*DockSettings) Init

func (settings *DockSettings) Init()

Init is the first step to initialize the dock.

func (*DockSettings) Start

func (settings *DockSettings) Start()

Start starts the dock theme and apply last settings.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL