Skip to content

Commit d955064

Browse files
committed
examples/demo-app: use the new Spinner widget
1 parent 46dd32e commit d955064

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/demo-app/demo-app.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,12 @@ func setupUi(data []interface{}, argv ...interface{}) cenums.EventFlag {
286286
// b3.SetSizeRequest(10, 3)
287287
b3.Show()
288288
hbox3.PackStart(b3, true, false, 0)
289+
290+
spinner := ctk.NewSpinner()
291+
spinner.Show()
292+
hbox3.PackStart(spinner, false, false, 0)
293+
spinner.StartSpinning()
294+
289295
w.ShowAll()
290296
app.NotifyStartupComplete()
291297
return cenums.EVENT_PASS

0 commit comments

Comments
 (0)