Message.element


Description:

[ CCode ( has_construct_function = false ) ]
public Message.element (Object? src, owned Structure structure)

Create a new element-specific message.

This is meant as a generic way of allowing one-way communication from an element to an application, for example "the firewire cable was unplugged". The format of the message should be documented in the element's documentation. The structure field can be null.

Parameters:

src

The object originating the message.

structure

The structure for the message. The message will take ownership of the structure.

Returns: