Class
GIR.Method
data type representing a function/method
class Method
Topics
Initializers
Designated initialiser
Initialiser to construct a method type from XML
Instance Properties
All associated arguments (parameters) in order
is this a bare factory method that is not the default constructor
indicate whether this is a getter method
indicate whether this is a ref method
indicate whether this is a setter method
indicate whether this is an unref method
String representation of member Methods
Return type
true if this method throws an error
Instance Methods
return whether the method is a constructor of the given record
return whether the method is a factory of the given record
indicate whether this is a getter method for the given setter
indicate whether this is a setter method for the given getter
Relationships
Inherits From
Inherited By
Conforms To
See Also
GIR element models
GIR named thing class
GIR type class
a type with an underlying C type entry
a type alias is just a type with an underlying C type
data type representing a function/method argument or return type
a bitfield is defined akin to an enumeration
a callback is the same as a function, except that the type definition is a @convention(c) callback definition
a class data type record
an entry for a constant
an enumeration entry
a field is a Property
a function is the same as a method
an inteface is similar to a class, but can be part of a more complex type graph
a property is a C type
a data type record to create a protocol/struct/class for