tray

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Class     string
	Win       *xwindow.Window
	Mapped    bool
	ShouldMap bool
}

type Config

type Config struct {
	IconPadding     int
	IconSize        int
	BarWidth        int
	BarHeight       int
	BackgroundColor color.Color
}

type State

type State struct {
	Width int
}

type Tray

type Tray struct {
	// contains filtered or unexported fields
}

func New

func New(x *xgbutil.XUtil, barWin xproto.Window, cfg Config, updateCb func(State)) *Tray

func (*Tray) Init

func (t *Tray) Init() error

Jump to

Keyboard shortcuts

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