Lumiera
0.pre.03
»edit your freedom«
|
#include "stage/dialog/name-chooser.hpp"
The name chooser dialog is a modal dialog box that prompts the user to choose a string name.
Definition at line 36 of file name-chooser.hpp.
Public Member Functions | |
NameChooser (Gtk::Window &parent, cuString title, cuString defaultName) | |
Creates a name chooser dialog. More... | |
cuString | getName () const |
Gets the current name of the chosen in the dialog. More... | |
Private Attributes | |
Gtk::Label | caption_ |
Gtk::HBox | hBox_ |
Gtk::Entry | name_ |
NameChooser | ( | Gtk::Window & | parent, |
cuString | title, | ||
cuString | defaultName | ||
) |
Creates a name chooser dialog.
parent | The window which will be the parent of this dialog. |
title | The string for the title of this dialog. |
default_name | The name that will be shown by default in the edit box of the dialog. |
Definition at line 34 of file name-chooser.cpp.
|
inline |
Gets the current name of the chosen in the dialog.
Definition at line 59 of file name-chooser.hpp.