34 NameChooser::NameChooser (Window &parent,
37 : Dialog::Dialog(title, parent, true)
38 , caption_(_(
"Name:"))
41 name_.set_text (defaultName);
42 name_.set_activates_default();
44 hBox_.pack_start (caption_);
45 hBox_.pack_start (name_);
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);
static const int BorderPadding
The space in pixels to pad the border of Lumiera dialog boxes.
Lumiera GTK UI implementation root.
static const int BoxSpacing
The spacing for VBoxes and HBoxes in Lumiera dialogs.
Global constants and definitions for dialogs.
Dialog to enter a string name.
A set of basic GTK includes for the UI.