This commit is contained in:
Stefan Salewski 2020-12-16 12:30:35 +01:00
commit ad70b68564
10 changed files with 57 additions and 13 deletions

View file

@ -16,7 +16,7 @@ proc prepareWindowForOrientation(orientation: gtk.Orientation) =
discard connect(window, "delete_event", onDeleteEvent)
let mainbox = gtk.newBox(if orientation == gtk.Orientation.horizontal: Orientation.vertical else: Orientation.horizontal, 2)
window.add(mainbox)
let wrapButton = newToggleButtonWithLabel("Wrap")
let wrapButton = newToggleButton("Wrap")
mainbox.add(wrapButton)
var max = 0
while max <= 999999999: