![]() |
![]() |
![]() |
![]() |
GObject * | attachment | Read / Write / Construct Only |
char * | comment | Read / Write / Construct Only |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── GtkDialog ╰── TalkatuAttachmentDialog
GtkWidget * talkatu_attachment_dialog_new (TalkatuAttachment *attachment
,const gchar *comment
);
Creates a new TalkatuAttachmentDialog with the given attachment and comment.
attachment |
The TalkatuAttachment we're customizing. |
|
comment |
A default comment to display. |
TalkatuAttachment *
talkatu_attachment_dialog_get_attachment
(TalkatuAttachmentDialog *dialog
);
Gets the TalkatuAttachment from dialog
.
const gchar *
talkatu_attachment_dialog_get_comment (TalkatuAttachmentDialog *dialog
);
Get the comment the user entered, or empty string if nothing was entered.
#define TALKATU_TYPE_ATTACHMENT_DIALOG (talkatu_attachment_dialog_get_type())
The standard _get_type macro for TalkatuAttachmentDialog.
typedef struct _TalkatuAttachmentDialog TalkatuAttachmentDialog;
A GtkDialog that allows the user to customize an image message.
“attachment”
property“attachment” GObject *
The attachment that this dialog is customizing.
Owner: TalkatuAttachmentDialog
Flags: Read / Write / Construct Only
“comment”
property“comment” char *
The comment to add to the attachment.
Owner: TalkatuAttachmentDialog
Flags: Read / Write / Construct Only
Default value: ""