Building Applications Using DUIM
Contents
Contents
Copyright and Trademarks
Preface
About this manual
Running examples in this manual
Further reading
1
- Introduction
1.1
- Overview of the DUIM libraries
1.2
- The DUIM programming model
2
- Designing A Simple DUIM Application
2.1
- Introduction
2.2
- Design of the application
2.3
- Creating the basic sheet hierarchy
2.3.1
- Placing all the elements in a single layout
2.3.2
- Redesigning the layout
2.3.3
- Adding a radio box
2.3.4
- Using contain to run examples interactively
3
- Improving The Design
3.1
- Defining a project
3.2
- Starting the application
3.3
- Adding a default callback
3.4
- Defining a new frame class
3.5
- Adding a tool bar
3.6
- Adding a status bar
3.7
- Gluing the new design together
3.8
- Creating a dialog for adding new items
4
- Adding Menus To The Application
4.1
- A description of the menu system
4.2
- Creating a menu hierarchy
4.2.1
- Documentation strings
4.2.2
- Keyboard accelerators
4.3
- Gluing the final design together
5
- Adding Callbacks to the Application
5.1
- Defining the underlying data structures for tasks
5.2
- Specifying a callback in the definition of each gadget
5.3
- Defining the callbacks
5.3.1
- Handling files in the task list manager
5.3.1.1
- The open-file method
5.3.1.2
- The save-file method
5.3.1.3
- The save-as-file method
5.3.1.4
- The load-task-list function
5.3.1.5
- The save-task-list function
5.3.2
- Adding and removing tasks from the task list
5.3.2.1
- DUIM support for adding and removing tasks
5.3.2.2
- Non-DUIM support for adding and removing tasks
5.3.3
- Updating the user interface
5.3.3.1
- Initializing a new instance of <task-frame>
5.3.3.2
- Determining and setting the selected task
5.3.3.3
- Enabling and disabling buttons in the interface
5.3.3.4
- Refreshing the list of tasks
5.3.4
- Creating an information dialog
5.3.5
- Exiting the task list manager
5.4
- Enhancing the task list manager
6
- Using Command Tables
6.1
- Introduction
6.2
- Implementing a command table
6.3
- Re-implementing the menus of the task list manager
6.4
- Including command tables in frame definitions
6.5
- Changes required to run Task List 2
6.5.1
- Changes to button definitions
6.5.2
- Changes to callback definitions
6.5.3
- Changes to method definitions
7
- A Tour of the DUIM Libraries
7.1
- Introduction
7.2
- A tour of gadgets
7.2.1
- General properties of gadgets
7.2.2
- Button gadgets
7.2.2.1
- Standard buttons
7.2.2.2
- Menu buttons
7.2.3
- Collection gadgets
7.2.3.1
- Useful properties of collection gadgets
7.2.3.2
- Button boxes
7.2.3.3
- Menu boxes
7.2.3.4
- Lists
7.2.4
- Display controls
7.2.4.1
- Tree controls
7.2.4.2
- List controls
7.2.4.3
- Table controls
7.2.4.4
- Spin boxes
7.2.5
- Text gadgets
7.2.5.1
- Useful properties of text gadgets
7.2.5.2
- Text fields
7.2.5.3
- Text editors
7.2.5.4
- Password fields
7.2.6
- Range gadgets
7.2.6.1
- Useful properties of range gadgets
7.2.6.2
- Scroll bars
7.2.6.3
- Sliders
7.2.6.4
- Progress bars
7.2.7
- Assigning callbacks to gadgets
7.3
- A tour of layouts
7.3.1
- Row layouts and column layouts
7.3.2
- Stack layouts
7.3.3
- Pinboard layouts and fixed layouts
7.3.4
- Using horizontally and vertically macros
7.4
- A tour of sheets
7.4.1
- Basic properties of sheets
7.5
- A tour of frames
7.5.1
- Creating frames and displaying them on-screen
7.5.2
- Useful properties of frames
7.5.3
- Defining new classes of frame
7.5.3.1
- Specifying slots for a new class of frame
7.5.3.2
- Specifying panes for a new class of frame
7.5.4
- Overview of dialogs
7.6
- Where to go from here
A
- Source Code For The Task List Manager
A.1
- A task list manager using menu gadgets
A.2
- A task list manager using command tables
Index
Building Applications Using DUIM - 26 May 1999