# Show debug output?
fun debug: Bool do return false
-redef class App
- redef fun on_create
- do
- if debug then print "App::on_create"
-
- # Create the main window
- push_window new CalculatorWindow
- super
- end
-end
+redef fun root_window do return new CalculatorWindow
# The main (and only) window of this calculator
class CalculatorWindow