New Window (gb.gtk)

Dim hWindow As Window
hWindow = New Window ( [ Parent As Control ] ) [ As "EventName" ]

Creates a new window.

If Parent is omitted, then the new window is a toplevel window.

Otherwise, Parent must be a Container, and then the window is embedded inside this container, as if it was a normal control.