Creates a new Resource for the given filename located in the
module directory.
If filename is null then "${module_name}.gresource" will be loaded.
| this |
A PluginInfo. |
| filename |
The filename of the resource, or null. |
|
a new Resource, or null. |