Exemplo n.º 1
0
void DifficultyEditor::populateWindow()
{
	// Pack the treeview and the editor pane into a GtkPaned
	Gtk::HPaned* paned = Gtk::manage(new Gtk::HPaned);
	paned->add1(createTreeView());
	paned->add2(createEditingWidgets());

	// Pack the pane into the topmost editor container
	_editor->pack_start(*paned, true, true, 0);
}