![]() |
Lumiera 0.pre.04
»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. | |
| cuString | getName () const |
| Gets the current name of the chosen in the dialog. | |
Private Attributes | |
| Gtk::HBox | hBox_ |
| Gtk::Label | caption_ |
| 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. |
| defaultName | The name that will be shown by default in the edit box of the dialog. |
Definition at line 34 of file name-chooser.cpp.
References stage::dialog::BorderPadding, stage::dialog::BoxSpacing, NameChooser::caption_, NameChooser::hBox_, NameChooser::name_, and NULL.
|
inline |
Gets the current name of the chosen in the dialog.
Definition at line 59 of file name-chooser.hpp.
References NameChooser::name_.
|
private |
Definition at line 39 of file name-chooser.hpp.
Referenced by NameChooser::NameChooser().
|
private |
Definition at line 40 of file name-chooser.hpp.
Referenced by NameChooser::NameChooser().
|
private |
Definition at line 41 of file name-chooser.hpp.
Referenced by NameChooser::NameChooser(), and NameChooser::getName().
Inheritance diagram for NameChooser:
Collaboration diagram for NameChooser: