![]() |
![]() |
![]() |
![]() |
![]() |
If you're familiar with earlier versions of Photon, you should read "What's new in Photon for QNX 6.2.0" to find out what has changed in this version. |
The Building Custom Widgets manual accompanies the Photon Developer's Toolkit and is intended for Photon programmers who want to create custom widgets. This manual contains everything you need to know about building your own Photon widgets. Sample code is used throughout this manual to demonstrate new concepts.
When you want to: | Go to: |
---|---|
Learn about widget concepts, attributes, and behavior | Overview |
Initialize a widget class, set up a widget instance structure, or set application resources | Life Cycle of a Widget |
Define a widget class, its resources, methods, or actions | Anatomy of a Widget |
Choose a widget superclass to base your custom widget on | Using Widget Superclasses |
Customize a list widget | Creating a List Widget |
Customize a tree widget | Creating a Tree Widget |
Add a custom widget to the PhAB widget palette | Binding Widgets into PhAB |
Manage widgets using the supplied convenience functions | Widget Building Library API |
Read widget-building tips | Miscellaneous Widget-Building Tips |
Look up Photon terms | Glossary |
This section summarizes the changes to these chapters:
The method for binding widgets into PhAB has changed. If PhAB can open the shared object for your widget, it can display your widget correctly, and you can work with them "live."
New functions:
Various tips have been added.
![]() |
![]() |
![]() |
![]() |