Documentation ¶
Index ¶
Constants ¶
View Source
const ( DeskModeActive = DeskMode(1) DeskModeManage = DeskMode(2) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardWidget ¶
func NewMainWidget ¶
func NewMainWidget() *DashboardWidget
func (*DashboardWidget) ProcessEvent ¶
func (self *DashboardWidget) ProcessEvent(e *evt.Event)
func (*DashboardWidget) Render ¶
func (self *DashboardWidget) Render()
type DashboardWidgetFactory ¶
type DashboardWidgetFactory struct {
// contains filtered or unexported fields
}
func NewDashboardWidgetFactory ¶
func NewDashboardWidgetFactory() *DashboardWidgetFactory
func (*DashboardWidgetFactory) CreateWidgetByName ¶
func (self *DashboardWidgetFactory) CreateWidgetByName(widgetName string) (widgets.IWidget, error)
func (*DashboardWidgetFactory) RegisterWidget ¶
func (self *DashboardWidgetFactory) RegisterWidget(widgetName string, create func() widgets.IWidget)
Click to show internal directories.
Click to hide internal directories.