Part I. Tutorial

Index

1. LibCXX overview
References
2. Hello world!
Building example programs
Basic concepts
Display elements are reference-counted objects with smart pointers
Containers own references to the elements in the container
Connection threads and callbacks
Callbacks
Containers
Creator lambdas
Layout managers
Factories
Exceptions
3. Text labels
4. Word-wrapping labels
Preserving window positions
5. Input fields and buttons
Input fields
Clipboards
Using x::w::input_field
Password input fields
Tooltips
Buttons
Shortcut activation
Element activation
Attaching application data to display elements
6. Date input fields
7. Validating input fields
8. Input field spinners
Implementing spin buttons
9. Disabling input processing
10. Using focusable display elements
11. Checkboxes and radio buttons
Creating checkboxes and radio buttons
Button labels
Customizing x::w::image_button labels
Setting checkbox and radio button state
Getting checkbox and radio button state
12. The grid layout manager
Nested containers
Setting the size of grid rows and columns
Callbacks and captures
13. The page layout manager
14. The book layout manager
The book page factory
The on_opened callback
An appdata example
15. Selection lists
Creating a list layout manager
Selecting multiple items in a list, and callbacks
Enabling and disabling list items
Modifying the contents of a list
List locks
Lists with multiple columns
16. Standard and editable combo-boxes
Creating a standard combo-box layout manager
Retrieving the standard combo-box's current selection
Using the standard combo-box with a pointer or a keyboard
Locking the combo-box
Editable combo-boxes
17. Menus
The menu bar layout manager
Using the list layout manager with menus
Menu item attributes
Separators
Using the mouse pointer or the keyboard with menus
18. Context popup menus
Creating the contents of the context popup menu
Creating new context popup menus on demand
Keyboard shortcuts for context popup menus
19. The pane layout manager
Creating new panes
Input focus and selection lists
Panes with synchronized lists
20. Dialogs
Dialog identifiers
Other dialog creation parameters
File dialogs
Showing and hiding dialogs
Modal dialogs
x::w::main_windows own references on their dialogs
Custom dialogs
Ad-hoc error message dialogs
21. Print Dialog
Using the print dialog
Using singleton objects
22. Progress bars
23. Scroll-bars
Creating and configuring scroll-bars
Scroll-bar's current value
24. Font and color pickers
Creating font and color pickers
Using the font picker
Using the color picker