Initializer
init(name:type:comment:introspectable:deprecated:)
Memberwise initialiser
init(name: String, type: TypeReference, comment: String, introspectable: Bool = false, deprecated: String? = nil)
Parameters
name-
The name of the
Datatypeto initialise type-
The corresponding, underlying GIR type
comment-
Documentation text for the data type
introspectable-
Set to
trueif introspectable deprecated-
Documentation on deprecation status if non-
nil