See WPopupMenu::popup
->  
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WPopupMenu.html#a9da2dff4c6de6845a5a15b1a7c22572c

something like this should be enough.

void MyPage::myButtonClicked () {
        // Open myPopupMenu at (100|100)
        this->myPopupMenu->popup (WPoint (100, 100));
}

> Hi All,
>
> I would like to popup menu another position that the mouse was clicked.
> How can I do that? I can set that the widget top-left corner will be
> positioned relative to the clicked widget, by using
> widget->setPositionScheme(Relative), but I can not adjust coordinates of
> the top-left corner, because it is generated by witty on the fly and got
> the highest level in the css hierarchy.
>
> Thanks,
>
> Gabor

------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to