#include <questionbox.h>
Inheritance diagram for wftk::QuestionBox:
Public Member Functions | |
QuestionBox (const std::string &title, const std::string &question, const std::string &border_res_name="dialogbox_frame", const Font &font=Font()) | |
Create a questionbox. | |
QuestionBox (const std::string &question) | |
Create a questionbox, just specifing the question. | |
void | click (bool) |
allows the program to trigger the equivalent of a click | |
bool | getResult () const |
get the dialog result (true for yes, false for no) | |
Public Attributes | |
SigC::Signal1< void, bool > | result |
signal sent with value of click (true for yes, false for no) |
|
Create a questionbox.
|
|
Create a questionbox, just specifing the question. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
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.