class application : public session { 
\c{\fbox{application}}
public: application(int argc, char* argv[]) : session(argc,argv,"drawtool") {} void main(kit* tk, int argc, char* argv[]) { widget* root = tk->root(); frame* f = new frame(root,".frame"); tablet* c = new tablet(f); toolbox* b = new toolbox(root,c); menubar* m = new menu_bar(f,c,b); tk->pack(m)->pack(c); tk->pack(b,"-side left")->pack(f,"-side right"); } };

slide: The drawing tool