Attachment Dialog

Attachment Dialog — A GtkDialog for sending message attachments.

Functions

Properties

GObject * attachment Read / Write / Construct Only
char * comment Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkWindow
                        ╰── GtkDialog
                            ╰── TalkatuAttachmentDialog

Implemented Interfaces

TalkatuAttachmentDialog implements AtkImplementorIface and GtkBuildable.

Description

A GtkDialog that allows the user to customize attachments for a message.

Functions

talkatu_attachment_dialog_new ()

GtkWidget *
talkatu_attachment_dialog_new (TalkatuAttachment *attachment,
                               const gchar *comment);

Creates a new TalkatuAttachmentDialog with the given attachment and comment.

Parameters

attachment

The TalkatuAttachment we're customizing.

 

comment

A default comment to display.

 

Returns

The new TalkatuAttachmentDialog.

[transfer full]

talkatu_attachment_dialog_get_attachment ()

TalkatuAttachment *
talkatu_attachment_dialog_get_attachment
                               (TalkatuAttachmentDialog *dialog);

Gets the TalkatuAttachment from dialog .

Parameters

dialog

The TalkatuAttachmentDialog.

 

Returns

The TalkatuAttachment for the file that the user selected.

[transfer full]

talkatu_attachment_dialog_get_comment ()

const gchar *
talkatu_attachment_dialog_get_comment (TalkatuAttachmentDialog *dialog);

Get the comment the user entered, or empty string if nothing was entered.

Parameters

dialog

The TalkatuAttachmentDialog.

 

Returns

The comment that the user entered.

Types and Values

TALKATU_TYPE_ATTACHMENT_DIALOG

#define TALKATU_TYPE_ATTACHMENT_DIALOG (talkatu_attachment_dialog_get_type())

The standard _get_type macro for TalkatuAttachmentDialog.

TalkatuAttachmentDialog

typedef struct _TalkatuAttachmentDialog TalkatuAttachmentDialog;

A GtkDialog that allows the user to customize an image message.

Property Details

The “attachment” property

  “attachment”               GObject *

The attachment that this dialog is customizing.

Owner: TalkatuAttachmentDialog

Flags: Read / Write / Construct Only

The “comment” property

  “comment”                  char *

The comment to add to the attachment.

Owner: TalkatuAttachmentDialog

Flags: Read / Write / Construct Only

Default value: ""