LibCXX Windows Library


Index

LibCXX Windows Library
Introduction
Installation, and requirements
LibCXX overview
References
The connection thread
I. Tutorial
1. 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
2. Text labels
3. Word-wrapping labels
Preserving window positions
4. Input fields and buttons
Input fields
Clipboards
Using x::w::input_field
Tooltips
Buttons
Shortcut activation
Element activation
Attaching application data to display elements
5. Disabling input processing
6. Using focusable display elements
7. 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
8. The grid layout manager
Nested containers
Setting the size of grid rows and columns
Callbacks and captures
9. The page layout manager
10. The book layout manager
The book page factory
The on_opened callback
An appdata example
11. 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
12. 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
13. 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
14. 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
15. Progress bars
16. Scroll-bars
Creating and configuring scroll-bars
Scroll-bar's current value
II. Miscellaneous topics
17. Connections and screens
Connection mcguffins
18. Properties and debugging
Setting properties
Locked display when setting breakpoints in callbacks
Lockups at program startup
Lockups at program terminations
Windows no longer getting updated
A. Scalable X Graphics
Structure of an SXG file
Scaling and round-off errors
Scaling algorithm
Specifying fonts
Creating pictures
Creating solid color pictures
Defining a background color
Using theme colors
Using predefined locations and dimensions
Creating text pictures
Creating pixmaps
Graphic context commands
function
foreground
background
line_width
line_style
join_style
cap_style
fill_style
clip
dashes
line
fill and clear
fill_arc_mode
arcs
Picture render commands
op
repeat
clip
fill
composite
triangles
tristrip and trifan
Example SXG file
Using XInclude with SXG files
B. COPYING