Re: visibleEvent

2011-07-05 Thread Jeff Larsen
Also you could have your textbox be an autohide partner of the popup panel, so that interacting with the TextBox won't hide the PopupPanel -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://g

Re: visibleEvent

2011-07-05 Thread Brian Reilly
A tooltip is something that you generally only have one of on the screen at at time, so you could have a single DecoratedPopupPanel as a sibling of the TabLayoutPanel. Then, create a tooltip event that you fire from a handler on the TextBox to either show/position or hide the tooltip, but also hide

Re: visibleEvent

2011-07-05 Thread Jeff Larsen
Ok, that is a little different. Do you have autohide enabled? That should hide the popup if you click somewhere else. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/m

Re: visibleEvent

2011-07-05 Thread Rob Coops
In that case you could fire a custom event every time you change the visibility, as far as I know you should be able to figure out if widget X is visible or not by simply asking it ( component.isVisible ). The only thing is that you will have to ensure that you fire this custom event everywhere in

Re: visibleEvent

2011-07-05 Thread gwtomni gwtomni
thank you for your quick response. I have a textBox with a DecoratedPopupPanel on its right like a toolTip. Both of them are in a TabLayoutPanel. problem is when I am switching between tabs, the toolTip is still visible. I want a way to know that the textBox is no longer visible to be able to hid

Re: visibleEvent

2011-07-05 Thread Jeff Larsen
Not as far as I know. It would be really difficult to implement one properly, because visibility can be changed in so many different ways. CSS, inline etc. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the w

visibleEvent

2011-07-05 Thread gwtomni gwtomni
hello everyone. is there any event related to the visibility of a widget on the screen ? thank you -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscrib