session_selector_window->set_name ("SessionSelectorWindow");
session_selector_window->set_size_request (200, 400);
session_selector_window->get_vbox()->pack_start (*scroller);
+ session_selector_window->show_all_children();
}
void
add_button (Gtk::Stock::OK, Gtk::RESPONSE_ACCEPT);
add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
-
- add_action_widget (entry, Gtk::RESPONSE_ACCEPT);
entryLabel.set_line_wrap (true);
entryLabel.set_name ("PrompterLabel");
entryBox.set_homogeneous (false);
- entryBox.set_spacing (25);
+ entryBox.set_spacing (5);
entryBox.set_border_width (10);
entryBox.pack_start (entryLabel);
entryBox.pack_start (entry, false, false);
get_vbox()->pack_start (entryBox);
+ show_all_children();
entry.signal_activate().connect (bind (mem_fun (*this, &Prompter::response), Gtk::RESPONSE_ACCEPT));
}