Adds a new plugin which will be used by the forms and grids.
The new plugin, as described by this can declare a custom widget to be used for forms, grids, or both.
If a plugin is already declared with the same name as the requested name, then a warning is issued and the operation fails.
this |
a pointer to a structure filled to describe the new plugin. All the contained information is copied. |