Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Widget)
func OnClick ¶
func OnClick(handler func(event mouse.ClickEvent)) Option
type Widget ¶
type Widget struct { *widgets.PanicWidget render.Cache[*styles.Renderable[*renderable]] }
Widget define a clickable widget button.
func (*Widget) Renderable ¶
func (w *Widget) Renderable() render.Renderable
Click to show internal directories.
Click to hide internal directories.