egui_dock: docking support for egui
Credit goes to @Iain-dono for implementing the actual library.
This fork aims to provide documentation and further development if necessary.
Demo
Usage
First, create your context type and your tab widget:
use ;
use Tab;
;
Then construct the initial tree using your tab widget:
use ;
let tab1 = Boxnew;
let tab2 = Boxnew;
let tab3 = Boxnew;
let tab4 = Boxnew;
let tab5 = Boxnew;
let mut tree = new;
// You can modify the tree in runtime
let = tree.split_left;
let = tree.split_below;
let = tree.split_below;
Finally, you can show the tree.
let id = ui.id;
show;
Contribution
Feel free to open issues and pull requests.