Hook to create the first window shown to the user

By default, a Window is created, which can be refined to customize it. However, most apps should refine this method to return a different window, this way the app can have more than one window.

Property definitions

app :: ui $ Sys :: root_window
# Hook to create the first window shown to the user
#
# By default, a `Window` is created, which can be refined to customize it.
# However, most apps should refine this method to return a different window,
# this way the app can have more than one window.
fun root_window: Window do return new Window
lib/app/ui.nit:90,1--95,44

app :: ui_example $ Sys :: root_window
redef fun root_window do return new UiExampleWindow
lib/app/examples/ui_example.nit:88,1--51

app :: http_request_example $ Sys :: root_window
redef fun root_window do return new HttpRequestClientWindow
lib/app/examples/http_request_example.nit:85,1--59