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

Widget Building Library API

This chapter contains descriptions of the following functions, which are included in the widget building library API:

PhWindowChange()
Modify the attributes of a window's region
PhWindowClose()
Close a window
PhWindowOpen()
Create a window region
PtAddWidgetData()
Add data to the widget data chain
PtAnchorDeregister()
Deregister a widget from its parent for anchoring
PtAnchorRegister()
Register a widget with its parent for anchoring
PtAnchorWidget()
Anchor the provided widget
PtApplyAnchors()
Anchor a widget and its children
PtAttemptResize()
Adjust the size of a widget
PtCalcAnchorOffsets()
Update the anchoring values (rules) for the given widget
PtCalcRegion()
Determine whether or not a widget needs a region
PtChildBoundingBox()
Calculate a widget's canvas and its children's bounding boxes
PtClipAdd()
Add a clipping rectangle to the stack
PtClipRemove()
Take a clipping rectangle off the stack
PtCompoundRedirect()
Redirect widgets to a parent
PtCoreChangeRegion()
Determine if a region is required
PtCreateWidgetClass()
Create a widget class
PtDamageExposed()
Damage the specified widgets
PtDestroyCallbackList()
Free the specified callbacks
PtDestroyHotkeyCallbacks()
Free the specified hotkey callbacks
PtDestroyRawCallbacks()
Free the specified raw callbacks
PtFindNextWidgetData()
Find the next appropriate data block
PtFindResource()
Find the record associated with a resource
PtFindResourceRecord()
Deprecated. Use PtFindResource()
PtFindWidgetData()
Find the first data block of a given type and subtype
PtGetCallbackList()
Get a callback list
PtGetStruct()
Retrieve the specified resource
PtInvokeCallbackList()
Invoke a callback list
PtInvokeCallbackType()
Invoke a callback list of a specific type
PtInvokeResizeCallbacks()
Invoke the resize callbacks of the specified container
PtMoveResizeWidget()
Synchronize a widget's extent
PtRemoveWidgetData()
Remove data from the widget data chain
PtResizeCanvas()
Set the size of a widget's canvas
PtResizePolicy()
Determine whether a widget has a resize policy
PtSetExtentFromArea()
Calculate the extent of a widget
PtSetStruct()
Set the specified resource
PtSetValue()
Set the value of a resource using mod_f
PtSuperClassCalcOpaque()
Call the Calc Opaque Rect method of the specified superclass
PtSuperClassChildCreated()
Invoke a Child Created method
PtSuperClassChildDestroyed()
Invoke a Child Destroyed method
PtSuperClassChildGettingFocus()
Invoke a Child Getting Focus method
PtSuperClassChildGettingResources()
Invoke a Child Getting Resources method
PtSuperClassChildLosingFocus()
Invoke a Child Losing Focus method
PtSuperClassChildMovedResized()
Invoke a Child Moved/Resized method
PtSuperClassChildRealized()
Invoke a Child Realized method
PtSuperClassChildSettingResources()
Invoke a Child Setting Resources method
PtSuperClassChildUnrealized()
Invoke a Child Unrealized method
PtSuperClassConnect(), PtSuperClassConnectFrom()
Invoke the Connection method of the specified widget class
PtSuperClassDraw()
Invoke the Draw method of the specified superclass
PtSuperClassExtent()
Invoke the Extent method of the specified superclass
PtSuperClassGetResources()
Get the specified resource
PtSuperClassGotFocus()
Invoke the Got Focus method of the specified superclass
PtSuperClassInit(), PtSuperClassInitFrom()
Invoke the Initialize method of the specified widget class
PtSuperClassLostFocus()
Invoke the Lost Focus method of the specified superclass
PtSuperClassRawEvent(), PtSuperClassRawEventFrom()
Invoke the raw callback list of the specified widget class
PtSuperClassRealized()
Invoke the Realization method of the specified widget class
PtSuperClassSetResources()
Set resources
PtUpdateVisibility()
Tell the widget library about a change in visibility
PtWidgetAbove()
Get the widget that's above a given widget in a family hierarchy