Pad


Description:

[ CCode ( has_construct_function = false , returns_floating_reference = true ) ]
public Pad (string? name, PadDirection direction)

Creates a new pad with the given name in the given direction.

If name is null, a guaranteed unique name (across all pads) will be assigned. This function makes a copy of the name so you can safely free the name.

Parameters:

name

the name of the new pad.

direction

the PadDirection of the pad.

Returns: