Summary

An MDI is a powerful way to put large amounts of information in front of the user in an organized, manageable format. This chapter showed how simple it is to build such an interface using the basic components already built into the Curl language.

In our development of the AppCanvas, we saw how to create a container that manages a collection of graphical children, or Sheets. We then investigated how to implement the functionality to move Sheets around the AppCanvas through the use of drag and drop.

We created our own windows using the Sheet class, which served as a basic window within which we can place any kind of graphical content. Our Sheet class provides a highly customizable interface for controlling many aspects of its presentation. ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.