take_headers
Description:
Takes headers of the associated message.
This property is considered static, in a meaning that it should not change during the life-time of the this, the same as it doesn't change in the associated message.
If the this changed, the 'dirty' flag and the 'folder-flagged' flag are set automatically, unless the this is aborting notifications. There is not emitted folder's "changed" signal for this this.
Note that it's not safe to use the headers
after the call to this function, because it can be freed due to no change.
Parameters:
this | |
headers |
headers to set, as NameValueArray, or null |
Returns:
Whether the value changed. |