Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bar ¶
type Bar struct { *gtk.Box Label *gtk.Label ProgressBar *gtk.ProgressBar // contains filtered or unexported fields }
Bar describes a progress bar.
func (*Bar) SetLabelFunc ¶
SetLabelFunc sets the function to render the progress bar label. It only does something if Max is set to a value. This method must only be called before Add is called, otherwise the state is invalid.
func (*Bar) SetShowText ¶
SetShowText sets whether or not the bar shows the label.
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader wraps a progress bar and implements io.Reader.
func WrapReader ¶
WrapReader wraps the given io.Reader to also update the given Bar.
Click to show internal directories.
Click to hide internal directories.