dock

package
Version: 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: 21 Imported by: 0

Documentation

Overview

Package dock wraps all backends and clients to start a dock.

Index

Constants

This section is empty.

Variables

View Source
var (
	// CustomHacks defines developer optional custom settings launched during init.
	CustomHacks = func() {}
)

Functions

func Run

func Run(log cdtype.Logger, getSettings func() maindock.DockSettings) bool

Run starts dock routines and locks the main thread with gtk.

It wraps all backends and clients to start a dock : Dbus server, applets manager, GUI, menu and gldi.

Dbus service is enabled by default. Mandatory if enabled, to provide remote control. This will prevent launching a 2nd instance without the disable Dbus service option.

You can add custom changes, launched before the start, with CustomHacks.

Run returns true if the dock is able to start. This can be done with:

gldi.Lock()      // alias for gtk_main.
maindock.Clean() // may be better with defer, but cause confused panic messages.

Types

This section is empty.

Source Files

Directories

Path Synopsis
Package confown manages the own config of the dock and its GUI This allows the configuration of the new dock settings.
Package confown manages the own config of the dock and its GUI This allows the configuration of the new dock settings.
Package eventmouse registers and handles icon click events.
Package eventmouse registers and handles icon click events.
Package guibridge provides a bridge between the dock and its config window.
Package guibridge provides a bridge between the dock and its config window.
Package maindock is a wrapper to build a dock interface.
Package maindock is a wrapper to build a dock interface.
Package mainmenu fills the main menu for cairo-dock.
Package mainmenu fills the main menu for cairo-dock.

Jump to

Keyboard shortcuts

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