Move a widget in front of all its brothers
int PtWidgetToFront( PtWidget_t *widget );
This function moves the specified widget in front of all its brothers (i.e. toward the user). All of widget's children are moved too. Any widgets damaged as a result of this operation are automatically repaired.
|This function doesn't work for PtWindow widgets — their positions are controlled by the Window Manager. To move a window to the front of the workspace, use PtWindowToFront(), which is described in the Photon Widget Reference.|
- Successful completion.
- An error occurred.
“Ordering widgets” in the Managing Widgets in Application Code chapter of the Photon Programmer's Guide