Documentation
¶
Index ¶
Constants ¶
View Source
const ( PartItem = widget.Part("item") PartIcon = widget.Part("icon") PartText = widget.Part("text") )
View Source
const ( IconPhone = svg.Icon("infobar-phone") IconMail = svg.Icon("infobar-mail") IconPin = svg.Icon("infobar-pin") IconClock = svg.Icon("infobar-clock") )
Default icons provided by infobar (geometry provided in svg.go).
View Source
const NameInfoBar = widget.Name("infobar")
NameInfoBar is the widget name for infobar.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfoBar ¶
type InfoBar struct {
Element
Items []InfoItem
}
InfoBar renders a top strip of contact and location information.
func (*InfoBar) IconSvg ¶
IconSvg registers default icons for contact items (phone, email, pin, clock).
func (*InfoBar) RenderCSS ¶
func (ib *InfoBar) RenderCSS() *css.Stylesheet
RenderCSS defines the stylesheet for infobar.
func (*InfoBar) WidgetKind ¶
func (*InfoBar) WidgetName ¶
Click to show internal directories.
Click to hide internal directories.