Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


messagedialog.hh File Reference

A GtkMessageDialog C++ wrapper interface. More...

#include <xfc/gtk/dialog.hh>
#include <gtk/gtkmessagedialog.h>
#include <xfc/gtk/inline/messagedialog.inl>

Namespaces

Classes

Enumerations


Detailed Description

A GtkMessageDialog C++ wrapper interface.

Provides MessageDialog, a dialog with an image representing the type of message (Error, Question, etc.) alongside some message text. It's simply a convenience widget; you could construct the equivalent of MessageDialog from Dialog without too much effort, but MessageDialog saves typing.


Enumeration Type Documentation

enum ButtonType
 

Prebuilt sets of buttons for the dialog.

If none of these choices are appropriate, simply use BUTTONS_NONE then call Gtk::Dialog::add_buttons().

Enumeration values:
BUTTONS_NONE  No buttons at all.
BUTTONS_OK  An OK button.
BUTTONS_CLOSE  A Close button.
BUTTONS_CANCEL  A Cancel button.
BUTTONS_YES_NO  Yes and No buttons.
BUTTONS_OK_CANCEL  OK and Cancel buttons.

enum MessageType
 

The type of message being displayed in the dialog.

Enumeration values:
MESSAGE_INFO  Informational message.
MESSAGE_WARNING  Nonfatal warning message.
MESSAGE_QUESTION  Question requiring a choice.
MESSAGE_ERROR  Fatal error message.
Xfce Foundation Classes


Copyright © 2004-2005 The XFC Development Team XFC 4.3