Chapter 13. Application Structure

In this chapter

  • Project Structure

  • Parsing the Command Line

  • The getopt Function

  • The XtVaGetApplicationResources Function

  • Setting Up a Canvas

  • Building the Project

  • Next Steps

This chapter launches the Graphics Editor project by structuring the main program file and creating the graphical user interface.

Before proceeding, it is important that, independent of the knowledge and experience you bring to the project, you have reviewed the necessary sections in Part I to prepare adequately for the information presented here.

Project structure and organizations are critical elements of software design. As the Graphics Editor project progresses, it will grow in complexity very quickly.

The goal of this chapter is to lay out the application ...

Get X Window Programming from Scratch 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.