// -*- c++ -*-
//  Generated by gtkmmproc from /usr/obj/ports/gnomemm-1.2.3/gnomemm-1.2.3/src/build_sources/../messagebox.gen_h -- DO NOT MODIFY!
#ifndef _GNOMEMM_MESSAGEBOX_H
#define _GNOMEMM_MESSAGEBOX_H

/* $Id: messagebox.gen_h,v 1.8 2001/08/03 20:00:29 murrayc Exp $ */


/* messagebox.gen_h
 *
 * Copyright (C) 1999 The Gtk-- Development Team
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include <gnome--/dialog.h>
#include <libgnomeui/gnome-messagebox.h>

namespace Gnome {
class MessageBox;
class MessageBox_Class;
}
namespace Gtk { Gnome::MessageBox *wrap (GnomeMessageBox *o); }
namespace Gnome
{
//: Create popup windows for simple messages.
//- Unlike GnomeMessageBox in C, Gnome::MessageBox does not self-destruct when
//- run() or run_and_close() returns, so you can use it again.
//- Just delete it later, like any other Window.

class MessageBox : public Dialog
{

public:
  typedef MessageBox          CppObjectType;
  typedef MessageBox_Class    CppClassType;
  typedef GnomeMessageBox           BaseObjectType;
  typedef GnomeMessageBoxClass      BaseClassType;

private:
  friend class MessageBox_Class;
  static CppClassType message_box_class;

  MessageBox(const MessageBox&);
  MessageBox& operator=(const MessageBox&); // not implemented

protected:
  void   initialize_class();
  explicit MessageBox(GnomeMessageBox *castitem);

public:
  static GtkType get_type();
  GnomeMessageBox* gtkobj()             { return (GnomeMessageBox*)(gtkobject); }
  const GnomeMessageBox* gtkobj() const { return (GnomeMessageBox*)(gtkobject); }
  static bool isA(Gtk::Object *checkcast);

  // Hook for proxies
  static const char* const signal_names[];

  virtual ~MessageBox();

private:

public:

  //: Use stock names to get stock features, or just use your own text.
  //- message:
  //-  The text to be displayed.
  //- messagebox_type:
  //-  GNOME_MESSAGE_BOX_INFO,
  //-  GNOME_MESSAGE_BOX_WARNING,
  //-  GNOME_MESSAGE_BOX_ERROR ,
  //-  GNOME_MESSAGE_BOX_QUESTION,
  //-  GNOME_MESSAGE_BOX_GENERIC
  //- buttons:
  //-  e.g. GNOME_STOCK_BUTTON_OK: See gnome-stock.h
  //- Alternatively, add the buttons later with append_button().
  MessageBox(const Gtk::nstring &message,
		   const Gtk::nstring &messagebox_type,
		   const Gtk::SArray &buttons);

	MessageBox(const Gtk::nstring &message = 0,
		   const Gtk::nstring &messagebox_type = 0);

  // gnome_message_box_set_modal and gnome_message_box_set_default
  // are both deprecated

public:

protected:
  // impl functions

};



}


#endif
