[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.2" ) ]
public LinkLayer (Image image, File file)
Create a new link layer.
This procedure creates a link layer monitoring the specified file.
The new layer still needs to be added to the image as this is not automatic. Add the new layer with the [method@Image.insert_layer] method.
The arguments are kept as simple as necessary for the basic case. All link attributes, however, can be modified with the appropriate `gimp_link_layer_set_*()` procedures.
| image |
The image. |
| file |
The file this link layer will monitor. |
|
The new link layer. The object belongs to libgimp and you should not free it. |