Xfce Foundation Classes
Main Page | Index | Namespace List | Alphabetical List | Class List | File List

# dialog.hh File Reference

A GtkDialog C++ wrapper interface. More...

`#include <xfc/gtk/window.hh>`
`#include <gtk/gtkdialog.h>`
`#include <xfc/gtk/inline/dialog.inl>`

## Namespaces

- namespace Xfc
- namespace Xfc::Gdk
- namespace Xfc::Gtk

## Classes

- class Xfc::Gtk::Dialog
    A GtkDialog C++ wrapper class. More...

## Typedefs

- typedef unsigned int DialogFlagsField
    DialogFlagsField holds one or more flags from the Gdk::DialogFlags enumeration OR'd together.

## Enumerations

- enum DialogFlags {
  DIALOG_MODAL = GTK_DIALOG_MODAL,
  DIALOG_DESTROY_WITH_PARENT = GTK_DIALOG_DESTROY_WITH_PARENT,
  DIALOG_NO_SEPARATOR = GTK_DIALOG_NO_SEPARATOR
  }
    Construction/destruction flags. More...
- enum ResponseType {
  RESPONSE_NONE = GTK_RESPONSE_NONE,
  RESPONSE_REJECT = GTK_RESPONSE_REJECT,
  RESPONSE_ACCEPT = GTK_RESPONSE_ACCEPT,
  RESPONSE_DELETE_EVENT = GTK_RESPONSE_DELETE_EVENT,
  RESPONSE_OK = GTK_RESPONSE_OK,
  RESPONSE_CANCEL = GTK_RESPONSE_CANCEL,
  RESPONSE_CLOSE = GTK_RESPONSE_CLOSE,
  RESPONSE_YES = GTK_RESPONSE_YES,
  RESPONSE_NO = GTK_RESPONSE_NO,
  RESPONSE_APPLY = GTK_RESPONSE_APPLY,
  RESPONSE_HELP = GTK_RESPONSE_HELP
  }
    Used to indicate the response_id of the action widget. More...
- enum StockButtonType {
  STOCK_BUTTON_OK,
  STOCK_BUTTON_CANCEL,
  STOCK_BUTTON_CLOSE,
  STOCK_BUTTON_YES,
  STOCK_BUTTON_NO,
  STOCK_BUTTON_APPLY,
  STOCK_BUTTON_HELP
  }
    Used to indicate a stock button and response_id to add to the dialog. More...

## Detailed Description

A GtkDialog C++ wrapper interface.

## Enumeration Type Documentation

enum DialogFlags

  | Construction/destruction flags. Enumeration values:
  DIALOG_MODAL | Calls Gtk::Window::set_modal(true).
  DIALOG_DESTROY_WITH_PARENT | Calls Gtk::Window::set_destroy_with_parent().
  DIALOG_NO_SEPARATOR | No separator bar above the action buttons.

enum ResponseType

  | Used to indicate the response_id of the action widget. Enumeration values:
  RESPONSE_NONE | The action widget has no response_id.
  RESPONSE_REJECT | Returned only if passed as the response for the action widget.
  RESPONSE_ACCEPT | Returned only if passed as the response for the action widget.
  RESPONSE_DELETE_EVENT | The dialog received a 'delete' event.
  RESPONSE_OK | The OK response, when the action widget is clicked.
  RESPONSE_CANCEL | The cancel response, when the action widget is clicked.
  RESPONSE_CLOSE | The close response, when the action widget is clicked.
  RESPONSE_YES | The yes response, when the action widget is clicked.
  RESPONSE_NO | The no response, when the action widget is clicked.
  RESPONSE_APPLY | The apply response, when the action widget is clicked.
  RESPONSE_HELP | The help response, when the action widget is clicked.

enum StockButtonType

  | Used to indicate a stock button and response_id to add to the dialog. Enumeration values:
  STOCK_BUTTON_OK | A stock OK button that returns the id Gtk::RESPONSE_OK.
  STOCK_BUTTON_CANCEL | A stock CANCEL button that returns the id Gtk::RESPONSE_CANCEL.
  STOCK_BUTTON_CLOSE | A stock CLOSE button that returns the id Gtk::RESPONSE_CLOSE.
  STOCK_BUTTON_YES | A stock YES button that returns the id Gtk::RESPONSE_YES.
  STOCK_BUTTON_NO | A stock NO button that returns the id Gtk::RESPONSE_NO.
  STOCK_BUTTON_APPLY | A stock APPLY button that returns the id Gtk::RESPONSE_APPLY.
  STOCK_BUTTON_HELP | A stock HELP button that returns the id Gtk::RESPONSE_HELP.

Xfce Foundation Classes

Copyright © 2004-2005 The XFC Development Team | XFC 4.3