Attachment Preview

Attachment Preview — Previews for TalkatuAttachments.

Functions

Properties

GObject * attachment Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBox
                    ╰── GtkInfoBar
                        ╰── TalkatuAttachmentPreview

Implemented Interfaces

TalkatuAttachmentPreview implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Description

A simple widget that displays a preview of a TalkatuAttachment.

Functions

talkatu_attachment_preview_new ()

GtkWidget *
talkatu_attachment_preview_new (TalkatuAttachment *attachment);

Creates a new TalkatuAttachmentPreview for the given attachment.

Parameters

attachment

The TalkatuAttachment we're previewing.

 

Returns

The new TalkatuAttachmentPreview.

[transfer full]

talkatu_attachment_preview_get_attachment ()

TalkatuAttachment *
talkatu_attachment_preview_get_attachment
                               (TalkatuAttachmentPreview *preview);

Gets the TalkatuAttachment from preview .

Parameters

preview

The TalkatuAttachmentPreview.

 

Returns

The TalkatuAttachment from preview .

[transfer full]

Types and Values

TALKATU_TYPE_ATTACHMENT_PREVIEW

#define TALKATU_TYPE_ATTACHMENT_PREVIEW (talkatu_attachment_preview_get_type())

The standard _get_type macro for TalkatuAttachmentPreview.

TalkatuAttachmentPreview

typedef struct _TalkatuAttachmentPreview TalkatuAttachmentPreview;

A GtkWidget that displays a preview of a TalkatuAttachment and allows the user to save it.

Property Details

The “attachment” property

  “attachment”               GObject *

The attachment that this preview is customizing.

Owner: TalkatuAttachmentPreview

Flags: Read / Write / Construct Only