Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/whatsnew.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/whatsnew.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/whatsnew.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/whatsnew.html on line 8
This appendix describes what's new in the Widget Building Guide in each release.
Two new functions:
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.
- PtWidgetAbove()
- Corrected the description.
This section summarizes the changes to these chapters:
- Anchoring is now done by PtWidget instead of
PtContainer.
- The section on
PtResourceRec_t resource records
includes new mod_f special values
(Pt_CHANGE_CANVAS and Pt_CHANGE_CANVAS_REDRAW)
and a new arg_value type (Pt_ARG_IS_IMAGE).
- Widget classes now include a textual description. See
“Widget class resource table.”
- PtContainerChildRedirect() no longer exists;
use the Pt_SET_CHILD_REDIRECT_F manifest in your widget's
class-creation function instead. See
“Container widget anatomy.”
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:
- PtContainerChildRedirect() no longer exists;
use the Pt_SET_CHILD_REDIRECT_F manifest in your widget's
class-creation function instead. See
“Container widget anatomy”
in the Anatomy of a Widget chapter.
- PtGetAnchoredExtent() no longer exists; anchors are handled
by the widget library.
- PtInvokeResizeCallbacks()
is now a void function. It assumes that the widget passed
to it is a container.
Various tips have been added.
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/whatsnew.html on line 233
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/whatsnew.html on line 233