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

PtScrollAreaCanvas()

Get the viewport canvas of a PtScrollArea

Synopsis:

PhRect_t *PtScrollAreaCanvas( PtWidget_t *widget,
                              PhRect_t *rect );

Library:

ph

Description:

This function determines the canvas rectangle for the specified widget's viewport. The PtScrollArea canvas rectangle describes the area inside the widget's border; the viewport's canvas is the area inside the scrollbars. The rect argument must point to a PhRect_t structure; if you pass rect as NULL, the function returns NULL.

Returns:

A pointer to the viewport's canvas, or NULL if an error occurs.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhRect_t 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/ptscrollareacanvas.html on line 94

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/ptscrollareacanvas.html on line 94