Here is the definition of a
Window<http://www.gwt-ext.com/docs/2.0.4/com/gwtext/client/widgets/Window.html>on
GWT-Ext
A specialized panel intended for use as an application window. *Windows are
floated and draggable by default*, and also provide specific behavior like
the ability to maximize and restore (with an event for * minimizing, since
the minimize behavior is application-specific). Windows can also be linked
to a WindowGroup or managed by the WindowManager to provide grouping,
activation, to front/back and other application-specific behavior.

Im not sure but i think if you do setConstrain(true); , you get the
behavior you want, but i'm not sure, if that does work then try the listener
thing..

Hope it helps,

_____________________
Ing. Gabriel Gutiérrez



On Thu, Jun 11, 2009 at 9:14 AM, Gabriel Ernesto Gutierrez Añez <
[email protected]> wrote:

> Windows are manage differently they are always on top.
> You should implemt TabListener on the TabPanel object and use the method
>
> doBeforeTabChange()
>
> check out http://www.gwt-ext.com/docs/2.0.4/
>
> so if the tab is another than the first one, just hide the window.
>
> Hope it helps,
> _____________________
> Ing. Gabriel Gutiérrez
>
>
>
>   On Thu, Jun 11, 2009 at 9:08 AM, Kinjal Khandhar <
> [email protected]> wrote:
>
>> Hello All,
>> I am using GWT-EXTs window and tabpanel.
>>
>> I have a tabpanel with multiple tabs.In first tab I have fetch button
>> onclick of which a window should be opened.I want this window to be added in
>> that first tab only.If I move to a different tab window should disappear.
>>
>> I tried tabpanel.add(window)--->Didnt work.
>>
>> Also I tried window.show(button.getId).
>>
>> *I see the functionality implemented in the demo.Can anyone please tell
>> me how can I close those windows when I switch between tabs.In short I want
>> to make the windows tab specific which should be as per logic.*
>>
>> Thanks.
>>
>> Kinjal.
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to