37 : Dialog::Dialog(title, parent, true)
38 , caption_(
_(
"Name:"))
41 name_.set_text (defaultName);
42 name_.set_activates_default();
48 Box*
const v_box = get_vbox();
49 REQUIRE (v_box !=
NULL);
50 v_box->pack_start (
hBox_);
55 set_resizable (
false);
58 add_button (Stock::CANCEL, RESPONSE_CANCEL);
59 add_button (Stock::OK, RESPONSE_OK);
60 set_default_response (RESPONSE_OK);
NameChooser(Gtk::Window &parent, cuString title, cuString defaultName)
Creates a name chooser dialog.
Global constants and definitions for dialogs.
A set of basic GTK includes for the UI.
Dialog to enter a string name.
static const int BorderPadding
The space in pixels to pad the border of Lumiera dialog boxes.
static const int BoxSpacing
The spacing for VBoxes and HBoxes in Lumiera dialogs.
Lumiera GTK UI implementation root.