![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Ab ¦ Al ¦ Ap ¦ mbstr ¦ Pd ¦ Pf ¦ Pg ¦ Ph ¦ Pi ¦ Pm ¦ Pp ¦ Pt ¦ Px ¦ Rt ¦ utf8 ¦ wc
The widget toolkit functions let you create or destroy widgets, or manipulate widgets and the relationships between them. These functions gather detailed information about widgets and their environment.
![]()  | 
For widget extension functions (which extend the attributes of a widget beyond its resources) and convenience functions (which simplify control over certain widget resources), see the Widget Reference. | 
PtAddCallback()
PtAddCallbacks()
PtAddClassStyle()
PtAddData()
PtAddEventHandler()
PtAddEventHandlers()
PtAddFilterCallback()
PtAddFilterCallbacks()
PtAddHotkeyHandler()
PtAddResponseType()
PtAlert()
PtAllowExit()
PtAppAddCallback()
PtAppAddEventHandler()
PtAppAddFd()
PtAppAddFdPri()
PtAppAddFilterCallback()
PtAppAddHotkeyHandler()
PtAppAddInput()
PtAppAddInputRemote()
PtAppAddSignalProc()
PtAppAddWorkProc()
PtAppCreatePulse()
PtAppDeletePulse()
PtAppGetResource()
PtAppGetResources()
PtAppInit()
PtAppPulseTrigger()
PtAppRemoveCallback()
PtAppRemoveEventHandler()
PtAppRemoveFd()
PtAppRemoveFilterCallback()
PtAppRemoveHotkeyHandler()
PtAppRemoveInput()
PtAppRemoveSignal()
PtAppRemoveSignalProc() -- deprecated; use
  PtAppRemoveSignal()
PtAppRemoveWorkProc()
PtAppSetFdMode()
PtAppSetResource()
PtAppSetResources()
PtArg_t
Pt_ARG()
PtAskQuestion() -- deprecated; use
  PtPrompt()
PtBasicWidgetCanvas() -- deprecated; use
  PtCalcCanvas()
PtBkgdHandlerProcess()
PtBlit()
PtBlockAllWindows()
PtBlockWindow()
PtCalcAbsPosition()
PtCalcCanvas()
PtCalcSurface()
PtCalcSurfaceByAction()
PtCalcSurfaceById()
PtCancelDnd()
PtChannelCreate()
PtCheckSurfaces()
PtChildType()
PtClearWidget()
PtClipAdd()
PtClippedBlit()
PtClipRemove()
PtCondTimedWait()
PtCondWait()
PtConnectionAddEventHandlers()
PtConnectionAddMsgHandlers()
PtConnectionClientDestroy()
PtConnectionClientGetUserData()
PtConnectionClientSetError()
PtConnectionClientSetUserData()
PtConnectionFindId()
PtConnectionFindName()
PtConnectionFlush()
PtConnectionNotify()
PtConnectionReply()
PtConnectionReplymx()
PtConnectionResizeEventBuffer()
PtConnectionSend()
PtConnectionSendmx()
PtConnectionServerDestroy()
PtConnectionServerGetUserData()
PtConnectionServerSetError()
PtConnectionServerSetUserData()
PtConnectionTmpName()
PtConnectionWaitForName()
PtConnectorCreate()
PtConnectorDestroy()
PtConnectorGetId()
PtConsoleSwitch()
PtContainerBox()
PtContainerFindFocus()
PtContainerFocusNext()
PtContainerFocusPrev()
PtContainerGiveFocus()
PtContainerHit()
PtContainerHold()
PtContainerNullFocus()
PtContainerRelease()
PtCRC()
PtCRCValue()
PtCreateActionSurface()
PtCreateClassStyle()
PtCreateSurface()
PtCreateTransportCtrl()
PtCreateWidget()
PtDamageExtent()
PtDamageSurface(), PtDamageSurfaceById()
PtDamageSurfaceByAction()
PtDamageWidget()
PtDestroyAllSurfaces()
PtDestroySurface()
PtDestroySurfaceById()
PtDestroyWidget()
PtDeTranslateRect() -- deprecated; use
  PhDeTranslateRect()
PtDisableSurface(), PtDisableSurfaceById()
PtDisableSurfaceByAction()
PtDndFetch_t
PtDndSelect()
PtDupClassStyle()
PtEnableSurface(), PtEnableSurfaceById()
PtEnableSurfaceByAction()
PtEndFlux()
PtEnter()
PtEventHandler()
PtExit()
PtExtentWidget()
PtExtentWidgetFamily()
PtFDProc_t
PtFepCmd()
PtFileSelection()
PtFindChildClass()
PtFindChildClassMember()
PtFindClassStyle()
PtFindContainer()
PtFindData()
PtFindDisjoint()
PtFindFocusChild()
PtFindFocusNextFrom()
PtFindFocusPrevFrom()
PtFindGuardian()
PtFindNextData()
PtFindSurface()
PtFindSurfaceByAction()
PtFlush()
PtFontSelection()
PtForwardWindowEvent()
PtForwardWindowTaskEvent()
PtFrameSize() -- depecated; use
  PtWindowGetFrameSize()
PtGetAbsPosition()
PtGetControlFlags()
PtGetDndFetchIndex()
PtGetParent()
PtGetParentWidget()
PtGetRcvidPid()
PtGetRcvidPidNd()
PtGetResource()
PtGetResources()
PtGetStyleMember()
PtGetWidgetStyle()
PtGiveFocus()
PtGlobalFocusNext()
PtGlobalFocusNextContainer()
PtGlobalFocusNextFrom()
PtGlobalFocusPrev()
PtGlobalFocusPrevContainer()
PtGlobalFocusPrevFrom()
PtHelpQuit()
PtHelpSearch()
PtHelpTopic()
PtHelpTopicRoot()
PtHelpTopicTree()
PtHelpUrl()
PtHelpUrlRoot()
PtHideSurface(), PtHideSurfaceById()
PtHideSurfaceByAction()
PtHit()
PtHold()
PtInflateBalloon()
PtInit()
PtInitDnd()
PtInputCallbackProc_t
PtInsertSurface(), PtInsertSurfaceById()
PtIsFluxing()
PtIsFocused()
PtLabelWidgetCanvas() -- deprecated; use
  PtCalcCanvas()
PtLeave()
PtMainLoop()
PtMakeModal()
PtMessageBox()
PtModalBlock()
PtModalEnd()
PtModalStart()
PtModalUnblock()
PtNextTopLevelWidget()
PtNotice()
PtPassword()
PtPositionMenu()
PtPreventExit()
PtPrintPropSelect()
PtPrintSelect()
PtPrintSelection()
PtProcessEvent()
PtPrompt()
PtPulseArm()
PtPulseArmFd() -- deprecated; use
  PtPulseArm()
PtPulseArmPid() -- deprecated; use
  PtPulseArm()
PtPulseDeliver() -- deprecated; use
  MsgDeliverEvent()
PtPulseDisarm() -- you don't need this under QNX Neutrino
PtQuerySystemInfo()
PtQuitMainLoop()
PtRealizeWidget()
PtReattach()
PtRectIntersect() -- deprecated; use
  PhRectIntersect()
PtRectUnion() -- deprecated; use
  PhRectUnion()
PtRelease()
PtReleaseTransportCtrl()
PtRemoveCallback()
PtRemoveCallbacks()
PtRemoveData()
PtRemoveEventHandler()
PtRemoveEventHandlers()
PtRemoveFilterCallback()
PtRemoveFilterCallbacks()
PtRemoveHotkeyHandler()
PtReParentWidget() -- now called
  PtReparentWidget()
PtReparentWidget()
PtRealizeWidget()
PtResizeEventMsg()
PtSendEventToWidget()
PtSetAreaFromCanvas()
PtSetAreaFromExtent() -- deprecated; use
  PhRectToArea()
PtSetAreaFromWidgetCanvas() -- deprecated; use
  PtSetAreaFromCanvas()
PtSetArg()
PtSetClassStyleMethods()
PtSetParentWidget()
PtSetResource()
PtSetResources()
PtSetStyleMember()
PtSetStyleMembers()
PtSetWidgetStyle()
PtShowSurface(), PtShowSurfaceById()
PtShowSurfaceByAction()
PtSignalProc_t
PtSpawn()
PtSpawnDeleteCallback()
PtSpawnSetCallback()
PtSpawnWait()
PtStartFlux()
PtSurfaceActionId()
PtSurfaceAddData(), PtSurfaceAddDataById()
PtSurfaceBrotherBehind()
PtSurfaceBrotherInFront()
PtSurfaceCalcBoundingBox(), PtSurfaceCalcBoundingBoxById()
PtSurfaceExtent(), PtSurfaceExtentById()
PtSurfaceGetData(), PtSurfaceGetDataById()
PtSurfaceHit()
PtSurfaceId()
PtSurfaceInBack()
PtSurfaceInFront()
PtSurfaceIsDisabled()
PtSurfaceIsEnabled()
PtSurfaceIsHidden()
PtSurfaceIsShown()
PtSurfaceRect(), PtSurfaceRectById()
PtSurfaceRemoveData(), PtSurfaceRemoveDataById()
PtSurfaceTestPoint()
PtSurfaceToBack(), PtSurfaceToBackById()
PtSurfaceToFront(), PtSurfaceToFrontById()
PtSyncPhoton() -- deprecated; use
  PtExit()
PtSyncWidget()
PtTimerArm()
PtTranslateRect() -- deprecated; use
  PhTranslateRect()
PtTransportCtrl_t
PtTransportRequestable()
PtTransportType()
PtUnblockWindows()
PtUnlinkData()
PtUnrealizeWidget()
PtUpdate()
PtValidParent()
PtWidgetActiveSurface()
PtWidgetArea()
PtWidgetBrotherBehind()
PtWidgetBrotherInFront()
PtWidgetCanvas() -- deprecated; use
  PtCalcCanvas()
PtWidgetChildBack()
PtWidgetChildFront()
PtWidgetClass()
PtWidgetClassFlags()
PtWidgetDim()
PtWidgetExtent()
PtWidgetFamily()
PtWidgetFlags()
PtWidgetHelpHit()
PtWidgetInsert()
PtWidgetIsClass()
PtWidgetIsClassMember()
PtWidgetIsRealized()
PtWidgetMinimumSize()
PtWidgetOffset()
PtWidgetParent()
PtWidgetPreferredSize()
PtWidgetRid()
PtWidgetSkip()
PtWidgetToBack()
PtWidgetToFront()
PtWidgetTree()
PtWidgetTreeTraverse()
PtWidgetVisibleExtent()
PtWindowConsoleSwitch()
PtWindowFrameSize() -- deprecated; use
  PtWindowGetFrameSize()
PtWorkProc_t
The following are described in the Photon Widget Reference:
PtBalloonCallback_t
PtCallback_t
PtCallbackInfo_t
PtComboBoxListOpen()
PtComboBoxListClose()
PtFSAddAfter()
PtFSAddFirst()
PtFSAllItems()
PtFSAllocItem()
PtFSClearSelection()
PtFSDamageItem()
PtFSExpandParents()
PtFSFolderCollapse()
PtFSFolderExpand()
PtFSFreeAllItems()
PtFSFreeItems()
PtFSGetCurrent()
PtFSGetSelIndexes()
PtFSGoto()
PtFSItemIndex()
PtFSRemoveChildren()
PtFSRemoveItem()
PtFSRemoveList()
PtFSRootItem()
PtFSSelect()
PtFSSelectedItems()
PtFSSetSelIndexes()
PtFSShow()
PtFSUnselect()
PtFSUnselectNonBrothers()
PtGenListAddItems()
PtGenListAllItems()
PtGenListClearSelection()
PtGenListCreateTextBalloon()
PtGenListDamageItem()
PtGenListDrawBackground()
PtGenListDrawString()
PtGenListFirstItem()
PtGenListGetCurrent()
PtGenListGetSelIndexes()
PtGenListGoto()
PtGenListHold()
PtGenListItem_t
PtGenListItemIndex()
PtGenListItemRealloc()
PtGenListLastItem()
PtGenListLockItem()
PtGenListRelease()
PtGenListRemoveItems()
PtGenListResize()
PtGenListSelect()
PtGenListSelectedItems()
PtGenListSetColumnBalloon()
PtGenListSetGflags()
PtGenListSetSelIndexes()
PtGenListShow()
PtGenListUnlockItem()
PtGenListUnselect()
PtGenTreeAddAfter()
PtGenTreeAddFirst()
PtGenTreeAllItems()
PtGenTreeClearSelection()
PtGenTreeCollapse()
PtGenTreeDamageItem()
PtGenTreeExpand()
PtGenTreeExpandParents()
PtGenTreeFreeAllItems()
PtGenTreeFreeItems()
PtGenTreeGetCurrent()
PtGenTreeGetSelIndexes()
PtGenTreeGoto()
PtGenTreeItem_t
PtGenTreeItemIndex()
PtGenTreeItemRealloc()
PtGenTreeItemResize()
PtGenTreeRemoveChildren()
PtGenTreeRemoveItem()
PtGenTreeRemoveList()
PtGenTreeResize()
PtGenTreeRootItem()
PtGenTreeSelect()
PtGenTreeSelectedItems()
PtGenTreeSetSelIndexes()
PtGenTreeShow()
PtGenTreeUnselect()
PtGenTreeUnselectNonBrothers()
PtHotkeyCallback_t
PtListAddItems()
PtListDeleteAllItems()
PtListDeleteItemPos()
PtListDeleteItems()
PtListGotoPos()
PtListItemExists()
PtListItemPos()
PtListRemovePositions()
PtListReplaceItemPos()
PtListReplaceItems()
PtListSelectPos()
PtListShowPos()
PtListUnselectPos()
PtMultiLines_t
PtMultiTextSegment_t
PtMultiTextAttributes_t
PtMultiTextCallback_t
PtMultiTextControl_t
PtMultiTextCreateAttributes()
PtMultiTextGetAttributes()
PtMultiTextInfo()
PtMultiTextInfo_t
PtMultiTextLine_t
PtMultiTextModifyAttributes()
PtMultiTextModifyText()
PtMultiTextQuery_t
PtProgressEntireSegment()
PtProgressFirstSegment()
PtProgressNextSegment()
PtProgressTextRect()
PtPGCreatePopup()
PtPGFindIndexByPanel()
PtPGFindIndexByTitle()
PtPGFindPanelByIndex()
PtPGFindPanelByTitle()
PtPGFindTitleByIndex()
PtRawCallback_t
PtTerminalCharset_t
PtTerminalCharsets_t
PtTerminalCopy()
PtTerminalCreateCsXlat()
PtTerminalDefaultCharsets()
PtTerminalFontInfo()
PtTerminalGetKeys()
PtTerminalGetSelection()
PtTerminalName()
PtTerminalPasteClipboard()
PtTerminalPasteSelection()
PtTerminalPut()
PtTerminalPutc()
PtTerminalPuts()
PtTerminalSelectWord()
PtTextCallback_t
PtTextControl_t
PtTextControlInfo_t
PtTextGetSelection()
PtTextModifyText()
PtTextSetSelection()
PtTreeAddAfter()
PtTreeAddFirst()
PtTreeAddImages()
PtTreeAllItems()
PtTreeAllocItem()
PtTreeClearSelection()
PtTreeCollapse()
PtTreeExpand()
PtTreeFreeAllItems()
PtTreeFreeItems()
PtTreeGetCurrent()
PtTreeGetSelIndexes()
PtTreeGoto()
PtTreeItem_t
PtTreeItemIndex()
PtTreeModifyItem()
PtTreeModifyItemString()
PtTreeRemoveChildren()
PtTreeRemoveItem()
PtTreeRemoveList()
PtTreeRootItem()
PtTreeSelect()
PtTreeSelectedItems()
PtTreeSetSelIndexes()
PtTreeShow()
PtTreeUnselect()
PtTreeUnselectNonBrothers()
PtTrendChangeData()
PtTrendChangeTrendData()
PtTtyShell()
PtWindowFocus()
PtWindowGetState()
PtWindowToBack()
PtWindowToFront()
The following are described in Building Custom Widgets:
PtAddWidgetData()
PtAnchorDeregister()
PtAnchorRegister()
PtAnchorWidget()
PtApplyAnchors()
PtAttemptResize()
PtCalcAnchorOffsets()
PtCalcRegion()
PtChildBoundingBox()
PtCompoundRedirect()
PtCoreChangeRegion()
PtCreateWidgetClass()
PtDamageExposed()
PtDestroyCallbackList()
PtDestroyHotkeyCallbacks()
PtDestroyRawCallbacks()
PtFindNextWidgetData()
PtFindResource()
PtFindResourceRecord() -- deprecated; use PtFindResource()
PtFindWidgetData()
PtGetCallbackList()
PtGetStruct()
PtInvokeCallbackList()
PtInvokeCallbackType()
PtInvokeResizeCallbacks()
PtMoveResizeWidget()
PtRemoveWidgetData()
PtResizeCanvas()
PtResizePolicy()
PtSetExtentFromArea()
PtSetStruct()
PtSetValue()
PtSuperClassCalcOpaque()
PtSuperClassChildCreated()
PtSuperClassChildDestroyed()
PtSuperClassChildGettingFocus()
PtSuperClassChildGettingResources()
PtSuperClassChildLosingFocus()
PtSuperClassChildMovedResized()
PtSuperClassChildRealized()
PtSuperClassChildSettingResources()
PtSuperClassChildUnrealized()
PtSuperClassConnect()
PtSuperClassDraw()
PtSuperClassExtent()
PtSuperClassGenListDraw()
PtSuperClassGenListInflate()
PtSuperClassGenListKey()
PtSuperClassGenListMouse()
PtSuperClassGenListSelect()
PtSuperClassGenTreeDrawItem()
PtSuperClassGenTreeItemState()
PtSuperClassGetResources()
PtSuperClassGotFocus()
PtSuperClassInit()
PtSuperClassLostFocus()
PtSuperClassRawEvent()
PtSuperClassRealized()
PtSuperClassSetResources()
PtUpdateVisibility()
PtWidgetAbove()
Ab ¦ Al ¦ Ap ¦ mbstr ¦ Pd ¦ Pf ¦ Pg ¦ Ph ¦ Pi ¦ Pm ¦ Pp ¦ Pt ¦ Px ¦ Rt ¦ utf8 ¦ wc
![]()  | 
![]()  | 
![]()  | 
![]()  |