current

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: 2 Imported by: 0

Documentation

Overview

Package current provides access to the dock current theme variables.

Index

Constants

This section is empty.

Variables

View Source
var Taskbar = TaskbarParamType{}

Taskbar gives access to the dock myTaskbarParam.

Functions

func DockIsLocked

func DockIsLocked() bool

DockIsLocked returns if the dock is locked or not.

Types

type DocksParamType

type DocksParamType struct{}

DocksParamType is a pseudo wrapper around the dock myDocksParam.

var Docks DocksParamType

Docks gives access to the dock myDocksParam.

func (DocksParamType) FrameMargin

func (DocksParamType) FrameMargin() int

FrameMargin defines a margin. TODO complete doc.

func (DocksParamType) LineWidth

func (DocksParamType) LineWidth() int

LineWidth defines the dock border line width.

func (DocksParamType) LockAll

func (DocksParamType) LockAll(b ...bool) bool

LockAll gets and sets the lock all state.

func (DocksParamType) LockIcons

func (DocksParamType) LockIcons(b ...bool) bool

LockIcons gets and sets the user lock icon state.

func (DocksParamType) Radius

func (DocksParamType) Radius() int

Radius defines the radius of dock corners.

func (DocksParamType) ShowSubDockOnClick

func (DocksParamType) ShowSubDockOnClick() bool

ShowSubDockOnClick returns whether we need to show the subdock when icon is clicked or not.

type IconsParamType

type IconsParamType struct{}

IconsParamType is a pseudo wrapper around the dock myIconsParam.

var Icons IconsParamType

Icons gives access to the dock myIconsParam.

func (IconsParamType) Amplitude

func (IconsParamType) Amplitude() float64

Amplitude defines the default icon pmplitude.

func (IconsParamType) Gap

func (IconsParamType) Gap() int

Gap defines the default icon gap.

func (IconsParamType) Height

func (IconsParamType) Height() int

Height defines the default icon height.

func (IconsParamType) LabelSize

func (IconsParamType) LabelSize() int

LabelSize defines the default icon label size.

func (IconsParamType) RevolveSeparator

func (IconsParamType) RevolveSeparator() bool

RevolveSeparator TODO FIND USAGE.

func (IconsParamType) SeparatorHeight

func (IconsParamType) SeparatorHeight() int

SeparatorHeight defines the default separator height.

func (IconsParamType) SeparatorWidth

func (IconsParamType) SeparatorWidth() int

SeparatorWidth defines the default separator width.

func (IconsParamType) Width

func (IconsParamType) Width() int

Width defines the default icon width.

type TaskbarParamType

type TaskbarParamType struct{}

TaskbarParamType is a pseudo wrapper around the dock myTaskbarParam.

func (TaskbarParamType) ActionOnMiddleClick

func (TaskbarParamType) ActionOnMiddleClick() int

ActionOnMiddleClick returns the defined middle click action.

func (TaskbarParamType) MinimizeOnClick

func (TaskbarParamType) MinimizeOnClick() bool

MinimizeOnClick returns whether applications should be minimized on click.

func (TaskbarParamType) MixLauncherAppli

func (TaskbarParamType) MixLauncherAppli() bool

MixLauncherAppli returns whether applications and launchers are mixed.

func (TaskbarParamType) OverWriteXIcons

func (TaskbarParamType) OverWriteXIcons() bool

OverWriteXIcons returns whether default X (desktop) icons are overwritten.

func (TaskbarParamType) PresentClassOnClick

func (TaskbarParamType) PresentClassOnClick() bool

PresentClassOnClick returns whether we need to show class windows when icon is clicked or not.

Jump to

Keyboard shortcuts

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