- int orientation=0;
- if (bbtk::Utilities::loosematch(bbGetInputOrientation(),"0|H|HORIZONTAL")==true) { orientation=0; }
- if (bbtk::Utilities::loosematch(bbGetInputOrientation(),"1|V|VERTICAL")==true) { orientation=1; }
-
- w->addWidget(w1);
- w->addWidget(w2);
-
- if(orientation == 0){ w->setOrientation(Wt::Horizontal);}
- else{ w->setOrientation(Wt::Vertical);}
-