diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-11-04 00:02:52 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-11-04 00:02:52 +0000 |
commit | a01230c5b2aa37f56827c0d211e3591f6acc16bc (patch) | |
tree | 5d02db77a1e48440a5ef613e1b8245200d8c2d04 /simple_dialog.h | |
parent | 6fdbf507997faa68f6dfaf6f6e1ebcb01d7313ba (diff) |
Add the ability to push temporary (and highlighted) messages onto the
statusbar. This lets us notify the user about something significant
without having to pop up an annoying window. Replace a few dialogs with
statusbar messages.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30810 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'simple_dialog.h')
-rw-r--r-- | simple_dialog.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/simple_dialog.h b/simple_dialog.h index 0fc06f395a..1b503e9405 100644 --- a/simple_dialog.h +++ b/simple_dialog.h @@ -90,6 +90,7 @@ typedef enum { extern gpointer simple_dialog(ESD_TYPE_E type, gint btn_mask, const gchar *msg_format, ...) GNUC_FORMAT_CHECK(printf, 3, 4); + /** Create and show a simple dialog using a va_list. * * @param type type of dialog @@ -160,6 +161,15 @@ extern char *simple_dialog_format_message(const char *msg); */ extern void display_queued_messages(void); +/** Show a message in the status bar. + * + * @param msg Status message + */ +extern void simple_status(const gchar *msg_format, ...) + GNUC_FORMAT_CHECK(printf, 1, 2); + + + #ifdef __cplusplus } #endif /* __cplusplus */ |