wintaskbar

package
v2.2.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 11

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	NoProgress    TProcessState = intf.TBPF_NOPROGRESS
	Indeterminate               = intf.TBPF_INDETERMINATE
	Normal                      = intf.TBPF_NORMAL
	Error                       = intf.TBPF_ERROR
	Paused                      = intf.TBPF_PAUSED
)
View Source
const (
	Enabled        TButtonFlags = intf.THBF_ENABLED
	Disabled                    = intf.THBF_DISABLED
	DisMissonClick              = intf.THBF_DISMISSONCLICK
	NoBackGround                = intf.THBF_NOBACKGROUND
	Hidden                      = intf.THBF_HIDDEN
	Noninteractive              = intf.THBF_NONINTERACTIVE
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TButtonFlags

type TButtonFlags uint32

type TProcessState

type TProcessState int32

type TThumbButtonClick

type TThumbButtonClick func(index uint16)

type ThumbButton

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

func (*ThumbButton) SetFlags

func (tt *ThumbButton) SetFlags(flags TButtonFlags)

func (*ThumbButton) SetHint

func (tt *ThumbButton) SetHint(str string)

func (*ThumbButton) SetIcon

func (tt *ThumbButton) SetIcon(h types.HICON)

type WinTaskBar

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

func NewWinTaskBar

func NewWinTaskBar(hWnd types.HWND) *WinTaskBar

func (*WinTaskBar) AddButton

func (t *WinTaskBar) AddButton() (*ThumbButton, error)

func (*WinTaskBar) Buttons

func (t *WinTaskBar) Buttons() []*ThumbButton

func (*WinTaskBar) Free

func (t *WinTaskBar) Free()

func (*WinTaskBar) SetOnThumbButtonClick

func (t *WinTaskBar) SetOnThumbButtonClick(event TThumbButtonClick)

func (*WinTaskBar) SetOverlayIcon

func (t *WinTaskBar) SetOverlayIcon(hIcon types.HICON, pszDescription string) error

func (*WinTaskBar) SetProgressState

func (t *WinTaskBar) SetProgressState(flags TProcessState) error

func (*WinTaskBar) SetProgressValue

func (t *WinTaskBar) SetProgressValue(ullCompleted, ullTotal uint64) error

func (*WinTaskBar) SetThumbnailTooltip

func (t *WinTaskBar) SetThumbnailTooltip(tip string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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