diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2013-01-04 11:18:51 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-01-04 11:18:51 +0000 |
commit | 2db941fba78c2a0b183dcdda671110ba008a3b0a (patch) | |
tree | 3eb068921865c06e4235c23d2e163aef8e1e89ad /src/idomessagedialog.c | |
parent | b7c4bed23b243c047559bbd572dd1be0daa5c060 (diff) | |
parent | bdb90268942fca5a75bb587fc9176a052776259f (diff) | |
download | ayatana-ido-2db941fba78c2a0b183dcdda671110ba008a3b0a.tar.gz ayatana-ido-2db941fba78c2a0b183dcdda671110ba008a3b0a.tar.bz2 ayatana-ido-2db941fba78c2a0b183dcdda671110ba008a3b0a.zip |
Add introspection and vala support. Fixes: https://bugs.launchpad.net/bugs/582985.
Approved by Mathieu Trudel-Lapierre.
Diffstat (limited to 'src/idomessagedialog.c')
-rw-r--r-- | src/idomessagedialog.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/idomessagedialog.c b/src/idomessagedialog.c index 41ff2e7..f2c2e93 100644 --- a/src/idomessagedialog.c +++ b/src/idomessagedialog.c @@ -258,7 +258,7 @@ ido_message_dialog_init (IdoMessageDialog *dialog) * dialog it will expand to provide the secondary message * and the action buttons. * - * Return value: a new #IdoMessageDialog + * Return Value: a new #IdoMessageDialog **/ GtkWidget* ido_message_dialog_new (GtkWindow *parent, @@ -305,6 +305,25 @@ ido_message_dialog_new (GtkWindow *parent, return widget; } +/** + * ido_message_dialog_new_with_markup: + * @parent: transient parent, or %NULL for none + * @flags: flags + * @type: type of message + * @buttons: a set of buttons to use + * @message_format: printf()-style format string, or %NULL + * @Varargs: arguments for @message_format. They will be escaped to allow valid XML. + * + * Creates a new message dialog, which is based upon + * GtkMessageDialog so it shares API and functionality + * with it. IdoMessageDialog differs in that it has two + * states. The initial state hides the action buttons + * and the secondary message. When a user clicks on the + * dialog it will expand to provide the secondary message + * and the action buttons. + * + * Return Value: a new #IdoMessageDialog + **/ GtkWidget* ido_message_dialog_new_with_markup (GtkWindow *parent, GtkDialogFlags flags, |