Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

wftk::MessageDialog Class Reference

Display a message to the user, allow them to dismiss this box. More...

#include <messagebox.h>

Inheritance diagram for wftk::MessageDialog:

wftk::BorderedDialog wftk::Dialog wftk::SingleContainer wftk::Widget wftk::ScreenArea List of all members.

Public Member Functions

 MessageDialog (const std::string &title, const std::string &msg, const std::string &border_res_name="dialogbox_frame", const Font &font=Font())
 Create a message box.

 MessageDialog (const std::string &msg)
 Create a message box, just specifying the message.


Detailed Description

Display a message to the user, allow them to dismiss this box.


Constructor & Destructor Documentation

wftk::MessageDialog::MessageDialog const std::string &  title,
const std::string &  msg,
const std::string &  border_res_name = "dialogbox_frame",
const Font font = Font()
[inline]
 

Create a message box.

Parameters:
title the title of the message box
msg message to display in the box
border_res_name std::string containing the name of the ressource to use for the frame. The ressources are
  • <name>_v for the vertical frames
  • <name>_h for the horizontal frames
  • <name>_edge for the corners
If any of those ressources aren't found, it is left out. Defaults to dialogbox_frame
font font to use, defaults to Font()

wftk::MessageDialog::MessageDialog const std::string &  msg  )  [inline]
 

Create a message box, just specifying the message.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
msg the message that should be displayed


The documentation for this class was generated from the following files:

Generated Fri Mar 5 08:11:01 2004.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.