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/lib_ref/pt/ptcontainerfocusprev.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/lib_ref/pt/ptcontainerfocusprev.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/lib_ref/pt/ptcontainerfocusprev.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/lib_ref/pt/ptcontainerfocusprev.html on line 8

PtContainerFocusPrev()

Give focus to the previous Pt_GETS_FOCUS widget

Synopsis:

PtWidget_t *PtContainerFocusPrev( 
                PtWidget_t *widget,
                PhEvent_t *event );

Library:

ph

Description:

This function gives focus to the previous widget that has Pt_GETS_FOCUS set in its Pt_ARG_FLAGS and is in the same container as the currently focused widget in widget's family. If no widget has the Pt_GETS_FOCUS flag set, the container's focus is nullified (that is, none of its children will have focus).

The event argument is a pointer to a PhEvent_t structure that describes the event that's passed to the lost-focus callback of the widget losing focus and to the got-focus callback of the widget getting focus.

If event is NULL, this function generates a PhEvent_t structure filled with zeros for you.

Returns:

A pointer to the newly focused widget.

Examples:

See PtContainerGiveFocus().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhEvent_t, PtContainerFocusNext(), PtContainerGiveFocus(), PtContainerNullFocus(), PtWidgetExtent()


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/lib_ref/pt/ptcontainerfocusprev.html on line 116

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/lib_ref/pt/ptcontainerfocusprev.html on line 116