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/ptwindowgetstate.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/ptwindowgetstate.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/ptwindowgetstate.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/ptwindowgetstate.html on line 8

PtWindowGetState()

Return the current state of a window

Synopsis:

long PtWindowGetState( PtWidget_t *widget );

Description:

This function returns the current state of the window pointed to by the widget variable:

State Description
Ph_WM_STATE_ISHIDDEN The window is hidden.
Ph_WM_STATE_ISMAX The window is maximized.
Ph_WM_STATE_ISBACKDROP The window is a backdrop.
Ph_WM_STATE_ISTASKBAR The window is a taskbar.
Ph_WM_STATE_ISICONIFIED The window is iconified.
Ph_WM_STATE_ISFRONT The window is the frontmost in the family.
Ph_WM_STATE_ISFOCUS The window has focus.

Returns:

The current state of the window, or -1 if the widget isn't a PtWindow or wasn't realized.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

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/ptwindowgetstate.html on line 129

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/ptwindowgetstate.html on line 129