[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

About This Manual

The Building Custom Widgets guide is intended for Photon programmers who want to create custom widgets.

Note: If you're familiar with earlier versions of Photon, you should read:

to find out what has changed in this version.

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
Create a custom PhAB resource editor for your widget's resources Creating custom resource editors
Read about the resource editor plugin API The resource editor API
See an example of a resource editor plugin Resource editor plugin example
Read widget-building tips Miscellaneous Widget-Building Tips
Look up Photon terms Glossary

What's new in Photon for QNX Neutrino 6.3.0 Service Pack 1

Two new functions:

What's new in Photon for QNX Neutrino 6.3

Resource editor plugin API

The chapters dealing with the resource editor plugin API are new. These chapters are:

The new function PtFindResouce() replaces PtFindResourceRecord(), which is deprecated.

Binding Widgets into PhAB -- There is a new ushort resource type.

What's new in Photon for QNX Neutrino 6.2.1


Corrected the description.

What's new in Photon for QNX Neutrino 6.2.0

This section summarizes the changes to these chapters:


Anatomy of a Widget

Creating a List Widget

Creating a Tree Widget

Binding Widgets into PhAB

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."

Widget Building Library API

New functions:

Miscellaneous Widget-Building Tips

Various tips have been added.

Copyright ©1996 -- 2005, QNX Software Systems. All rights reserved.

[Previous] [Contents] [Index] [Next]