Documentation ¶
Index ¶
Constants ¶
View Source
const ( TabSelectedEvent = TabEvent("TabSelected") TabClosedEvent = TabEvent("TabClosed") )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ActionBar ¶
type ActionBar struct {
// contains filtered or unexported fields
}
func (*ActionBar) SetActions ¶
func (ab *ActionBar) SetActions(actions []view.ViewAction, maxVisibleActions int)
type D ¶
type D = layout.Dimensions
type NavDrawer ¶
func NewNavDrawer ¶
func NewNavDrawer(vm view.ViewManager) *NavDrawer
func (*NavDrawer) AddSection ¶
func (nv *NavDrawer) AddSection(item NavSection)
func (*NavDrawer) InsertAt ¶ added in v0.2.0
func (nv *NavDrawer) InsertAt(index int, item NavSection)
func (*NavDrawer) OnItemSelected ¶
func (nv *NavDrawer) OnItemSelected(gtx C, item *NavItemStyle)
func (*NavDrawer) RemoveSection ¶ added in v0.2.0
type NavItem ¶
type NavItem interface { // when there's menu options, a context menu should be attached to this navItem. // The returned boolean value suggest the position of the popup menu should be at // fixed position or not. NavItemStyle should place a clickable icon to guide user interactions. }
type NavItemStyle ¶
type NavItemStyle struct {
// contains filtered or unexported fields
}
func NewNavItem ¶
func NewNavItem(item NavItem, drawer *NavDrawer) *NavItemStyle
func (*NavItemStyle) IsSelected ¶
func (n *NavItemStyle) IsSelected() bool
func (*NavItemStyle) Unselect ¶
func (n *NavItemStyle) Unselect()
func (*NavItemStyle) Update ¶
func (n *NavItemStyle) Update(gtx C) bool
type NaviDrawerStyle ¶
type NaviDrawerStyle struct {}
type Tabbar ¶
type Tabbar struct {
// contains filtered or unexported fields
}
func NewTabbar ¶
func NewTabbar(vm view.ViewManager, options *TabbarOptions) *Tabbar
type TabbarOptions ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.