We will create a barebones window, without all the bells and whistles, but with enough handling to give you a good footing for the next two recipes. Here, we will create a window to display information about this text and a close button on the top far right corner.
Our basic window should just take a few lines of code; we'll split these into segments for easy comprehension.
setHeading()and an initial dimension with
show()on the window object, to display it.
We can create ...