[ Version ( since = "3.0" ) ]
public static unowned Resource? get_by_id (int32 resource_id)
Returns a Resource representing resource_id.
Since Resource is an abstract class, the real object type will actually be the proper subclass.
Note: in most use cases, you should not need to retrieve a Resource by its ID, which is mostly internal data and not reusable across sessions. Use the appropriate functions for your use case instead.
| resource_id |
The resource id. |
|
a Resource for |