Xfce Foundation Classes
Main Page | Index | Namespace 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

- namespace Xfc
- namespace Xfc::Gtk

## Classes

- class Xfc::Gtk::MessageDialog
    A GtkMessageDialog C++ wrapper class. More...

## Enumerations

- enum MessageType {
  MESSAGE_INFO = GTK_MESSAGE_INFO,
  MESSAGE_WARNING = GTK_MESSAGE_WARNING,
  MESSAGE_QUESTION = GTK_MESSAGE_QUESTION,
  MESSAGE_ERROR = GTK_MESSAGE_ERROR
  }
    The type of message being displayed in the dialog. More...
- enum ButtonType {
  BUTTONS_NONE = GTK_BUTTONS_NONE,
  BUTTONS_OK = GTK_BUTTONS_OK,
  BUTTONS_CLOSE = GTK_BUTTONS_CLOSE,
  BUTTONS_CANCEL = GTK_BUTTONS_CANCEL,
  BUTTONS_YES_NO = GTK_BUTTONS_YES_NO,
  BUTTONS_OK_CANCEL = GTK_BUTTONS_OK_CANCEL
  }
    Prebuilt sets of buttons for the dialog. More...

## 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