set_preview


Description:

[ Version ( since = "3.42" ) ]
public virtual bool set_preview (string? preview)

Set preview as the body preview of the associated message.

Use null or an empty string to unset the value.

If the this changed, the 'dirty' flag is set automatically, unless the this is aborting notifications. There is not emitted folder's "changed" signal for this this.

Parameters:

this

a MessageInfo

preview

message body preview, or null

Returns:

Whether the value changed.