开发者

remove tab from TabLayoutPanel programly , GWT

开发者 https://www.devze.com 2022-12-29 17:15 出处:网络
i need an idea how to remove tab if Button within t开发者_如何学运维his tab has been clicked.

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

精彩评论

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