Пример #1
0
void PackMonitor(Gtk::HPaned& hpaned, Timeline::DAMonitor& mon, TrackLayout& layout)
{
    // 1 окно выбора файлов
    PackFileChooserWidget(hpaned, bb::bind(&OpenFileWithTrackLayout, boost::ref(layout), _1),
                          true);

    // 1.1 монитор
    hpaned.add2(PackMonitorIn(mon));
}
Пример #2
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);
}