blob: 551ee8a3317b81dba0af6cbc2aaf8ce3ce918244 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# This example shows what happens when a nigui widget error occurs.
import nigui
app.init()
var window = newWindow()
window.add(newButton("Button 1")) # ok
window.add(newButton("Button 2")) # not ok, gives error messages, but program continues
window.show()
app.run()
|