开发者

remove tab from TabLayoutPanel programly , GWT

i need an idea how to remove tab if Button within t开发者_如何学运维his tab has been clicked.

thx.


Add a ClickHandler to the button, and have it call one of the remove methods (either the one that takes an int or the one that takes the tab's widget) with an argument that corresponds to the tab that it's on.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜