July 2005
Intermediate to advanced
744 pages
16h 57m
English
This chapter discusses how the document/view framework provided by wxWidgets can dramatically reduce the amount of code you need to write for a document-based application. It also discusses the related topic of providing undo and redo in your application, a seemingly miraculous facility that users now take for granted.
The document/view system is found in most application frameworks because it can greatly simplify the code required to build many kinds of applications.
The idea is that you can model your application primarily in terms of documents, which store data and provide GUI-independent operations upon it, and views, which display and manipulate the data. It’s similar ...
Read now
Unlock full access