[ CCode ( returns_floating_reference = true ) ]
public static Element make_from_uri (URIType type, string uri, string? elementname) throws Error
Creates an element for handling the given URI.
| type |
Whether to create a source or a sink |
| uri |
URI to create an element for |
| elementname |
Name of created element, can be null. |
|
a new element or null if none could be created |