Documentation ¶
Rendered for windows/amd64
Index ¶
- Constants
- type TButtonFlags
- type TProcessState
- type TThumbButtonClick
- type ThumbButton
- type WinTaskBar
- func (t *WinTaskBar) AddButton() (*ThumbButton, error)
- func (t *WinTaskBar) Buttons() []*ThumbButton
- func (t *WinTaskBar) Free()
- func (t *WinTaskBar) SetOnThumbButtonClick(event TThumbButtonClick)
- func (t *WinTaskBar) SetOverlayIcon(hIcon types.HICON, pszDescription string) error
- func (t *WinTaskBar) SetProgressState(flags TProcessState) error
- func (t *WinTaskBar) SetProgressValue(ullCompleted, ullTotal uint64) error
- func (t *WinTaskBar) SetThumbnailTooltip(tip string) error
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
Click to show internal directories.
Click to hide internal directories.