Documentation ¶
Overview ¶
Package current provides access to the dock current theme variables.
Index ¶
- Variables
- func DockIsLocked() bool
- type DocksParamType
- type IconsParamType
- func (IconsParamType) Amplitude() float64
- func (IconsParamType) Gap() int
- func (IconsParamType) Height() int
- func (IconsParamType) LabelSize() int
- func (IconsParamType) RevolveSeparator() bool
- func (IconsParamType) SeparatorHeight() int
- func (IconsParamType) SeparatorWidth() int
- func (IconsParamType) Width() int
- type TaskbarParamType
Constants ¶
This section is empty.
Variables ¶
var Taskbar = TaskbarParamType{}
Taskbar gives access to the dock myTaskbarParam.
Functions ¶
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) 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.