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/wid_build/api/set_state.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/wid_build/api/set_state.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/wid_build/api/set_state.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/wid_build/api/set_state.html on line 8
A function exported by PhAB to set the state of a window
created by create_window()
int set_state (
PhabResWindowHandle_t wnd,
ResFullWindowState_t state );
- wnd
- The window handle returned by PhABExportCreateWindowF_t
create_window().
- state
- The render action to take. Can be one of:
-
RESPLUGIN_STATE_DISABLED — the
plugin has no data applied.
- RESPLUGIN_STATE_MATCH_DEFAULT — the
plugin data matches the default value for that resource.
- RESPLUGIN_STATE_MATCH_MASTER — the
plugin data matches PhAB's value for that resource.
- RESPLUGIN_STATE_MATCH_DEFAULT_MASTER — indicates
that the plugin data matches both the default value and PhAB's value
for that resource.
- RESPLUGIN_STATE_NO_MATCH — indicates
that the data inside the plugin doesn't match either the default
value or PhAB's value for that resource.
- RESPLUGIN_STATE_BLOCKED — indicates
that the plugin is blocked (has no input).
- RESPLUGIN_STATE_UNBLOCKED — indicates
that the plugin is unblocked (has input).
This function is exported from PhAB in the PhABResExportFull_t structure.
You can call this function from a full resource editor to render
the window created in create_window() in
a certain state.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
create_window(), destroy(), get_area(), get_res(), PhABResExportFull_t, to_front().
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/wid_build/api/set_state.html on line 111
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/wid_build/api/set_state.html on line 111