Constructor
TalkatuAttachmentPreviewnew
Declaration [src]
GtkWidget*
talkatu_attachment_preview_new (
TalkatuAttachment* attachment
)
Parameters
attachment-
Type:
TalkatuAttachmentThe
TalkatuAttachmentwe’re previewing.The data is owned by the caller of the function.
Return value
Type: GtkWidget
The new TalkatuAttachmentPreview.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |