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/widget_ref/pt/ptwindowtofront.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/widget_ref/pt/ptwindowtofront.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/widget_ref/pt/ptwindowtofront.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/widget_ref/pt/ptwindowtofront.html on line 8
Bring a window to the front and give it focus
void PtWindowToFront( PtWidget_t *widget );
This function brings the specified window widget
and all its child windows to the
front of the workspace and gives the front window focus. To do this, the
function sends a message to the Window Manager. The Window
Manager may switch consoles if the specified window isn't
within the current workspace.
|
There's no way to move a parent window in front of its child.
If you want to be able to move one window in front of another in
your application, they must be siblings.
For example, to make a window a sibling rather than a child of the
base window, set the window's parent to NULL. |
PtWidget_t *my_window;
/* bring my window to the front */
PtWindowToFront( my_window );
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtWindowToBack(),
PtWindowFocus()
PtForwardWindowEvent(),
PtWidgetToBack(),
PtWidgetToFront()
in the Photon Library Reference
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/widget_ref/pt/ptwindowtofront.html on line 110
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/widget_ref/pt/ptwindowtofront.html on line 110