Skip to content

User guide

Eighteen chapters, adapted from the Borland Turbo Vision guide and rewritten against the Rust API. The first six build one application from nothing. The next three explain how the framework works underneath. The rest are reference chapters, one per object family.

Building an application

Work through these in order. Each chapter starts from where the last one finished.

Three windows on the desktop, overlapping with shadows and a z-order

How the framework works

A dialog holding check box and radio clusters, buttons and a framed window behind it

Object reference

Chapter Covers
10. Application objects Application, the desktop, the modal loop, idle handling
11. Windows and dialogs Window, Dialog, frames, CloseOn, end states
12. Control objects Buttons, input lines, clusters, scroll bars, list and combo boxes
13. Data validation Filter, range and picture validators
14. Palettes and colour The palette chain and the Borland colour tables
15. Editor and text views The editor, file editor, selection, clipboard and undo
16. Collections and streams Collections, sorted collections, iteration
17. Streams and persistence Serialising a view tree and reading it back
18. Resources Resource files and string tables