Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetProperties ¶
func SetProperties(p *Properties)
Types ¶
type Event ¶
type Event uint8
I want to try and simplify event handling for widgets. Not sure this counts.
type Home ¶
type Home struct {
// contains filtered or unexported fields
}
Home widget displaying our name and logo. Felt cute. Might delete later.
func (*Home) ProcessEvent ¶
type Menu ¶
type Menu struct {
// contains filtered or unexported fields
}
Menu widget displaying a list of potential choices, each of which should map to some kind of Action.
func (*Menu) ProcessEvent ¶
type MenuChoice ¶
type MenuChoice struct { Text string Action func() }
MenuChoice groups a choice string with the corresponding action.
Click to show internal directories.
Click to hide internal directories.