aboutsummaryrefslogtreecommitdiff
path: root/src/idomessagedialog.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2012-12-14 09:58:39 +1300
committerRobert Ancell <robert.ancell@canonical.com>2012-12-14 09:58:39 +1300
commit6c9a6684a2bd7fb990831175bac8681669e27080 (patch)
treeb6f3e4ed08a7eb78d2b1ed1b76ae286424fed330 /src/idomessagedialog.c
parent21040fcad5f3a0a808d6a0ac2a9beb4d9e595673 (diff)
downloadayatana-ido-6c9a6684a2bd7fb990831175bac8681669e27080.tar.gz
ayatana-ido-6c9a6684a2bd7fb990831175bac8681669e27080.tar.bz2
ayatana-ido-6c9a6684a2bd7fb990831175bac8681669e27080.zip
Add introspection and Vala support to IDO
Diffstat (limited to 'src/idomessagedialog.c')
-rw-r--r--src/idomessagedialog.c21
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,