diff --git a/widgets/expander/expander.go b/widgets/expander/expander.go index 00baa1c1..efcb1f28 100644 --- a/widgets/expander/expander.go +++ b/widgets/expander/expander.go @@ -8,6 +8,8 @@ package expander import ( + "fmt" + "github.com/gcla/gowid" "github.com/gcla/gowid/widgets/boxadapter" ) @@ -61,6 +63,10 @@ func (w *Widget) Selectable() bool { return w.w.Selectable() } +func (w *Widget) String() string { + return fmt.Sprintf("expander[%v]", w.w.IWidget) +} + //====================================================================== // Local Variables: // mode: Go