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/gf/dev_guide/api/gf_layer_enable.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/gf/dev_guide/api/gf_layer_enable.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/gf/dev_guide/api/gf_layer_enable.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/gf/dev_guide/api/gf_layer_enable.html on line 8
Enable a display layer
#include <gf/gf.h>
void gf_layer_enable( gf_layer_t layer );
- layer
- The handle of the layer to enable.
gf
This function enables a layer. A layer can be either:
- enabled — displayed to the user
- disabled — not visible to the user
|
In some cases it's not possible to disable a layer.
You can query the layer to determine its GF_LAYER_CAP_DISABLE value. If
GF_LAYER_CAP_DISABLE is 1, then the layer can be disabled. |
QNX Graphics Framework
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
gf_layer_attach(),
gf_layer_detach(),
gf_layer_disable(),
gf_layer_query()
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/gf/dev_guide/api/gf_layer_enable.html on line 114
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/gf/dev_guide/api/gf_layer_enable.html on line 114