virtual void managed(osgWidget::WindowManager* wm) { ListBoxBase::managed(wm); wm->addChild(_lbp.get()); _lbp->setOrigin(getX(), getY() + getHeight()); _lbp->hide(); }
virtual bool mousePush(double, double, osgWidget::WindowManager*) { if(_lbp->isVisible()) _lbp->hide(); else { _lbp->show(); _lbp->grabFocus(); } return true; }