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

ResPluginGetAreaF_t

A function you must write to retrieve the area occupied by the full resource editor window

Synopsis:

typedef void ResPluginGetAreaF_t (
  ResPluginHandle_t handle,
  PhArea_t *area )

Description:

This function is exported in the ResPluginFullEditor_t structure

This function is called by PhAB to find out the current area of the full resource editor. The plugin should fill in the area pointer with the editor's current area.

Arguments:

handle
The ResPluginHandle_t handle returned when the instance of the editor is created with ResPluginFullCreateF_t.
area
A pointer to a PhArea_t structure you fill in to define the current area of the resource editor.

Examples:

This sample ResPluginGetAreaF_t function for a full editor is from the complete plugin example at the end of this chapter.

static void plugin_full_get_area( ResPluginHandle_t handle, PhArea_t *area )
{
  PluginFullInstance_t *instance = ( PluginFullInstance_t * ) handle;
  instance->exp->get_area( instance->convenience_handle, area );
}

Classification:

QNX Neutrino

See also:

ResPluginFullCreateF_t, ResPluginFullEditor_t, PhArea_t.


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/resplugingetareaf_t.html on line 98

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/resplugingetareaf_t.html on line 98