# Wait until the Window is closed

**URL:** <https://www.ruby-forum.com/t/wait-until-the-window-is-closed/165869>\
**Category:** Ruby\
**Created:** [April 18, 2009, 6:57pm UTC](https://www.ruby-forum.com/t/wait-until-the-window-is-closed/165869 "2009-04-18T18:57:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![reittier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/73ab20/32.png) [@reittier](https://www.ruby-forum.com/u/reittier)\
**Post date:** [April 18, 2009, 6:57pm UTC](https://www.ruby-forum.com/t/wait-until-the-window-is-closed/165869/1 "2009-04-18T18:57:26Z")

</div>

Hi all,

I have a problem with a Frame.

I open a new Window

calendar = Calendar.new(self)  
calendar.show  
#here i want wait  
set\_date\_from

and I want wo wait until the Window is closed to execute the next  
function.

I hope anybody can help me 😉

thx  
reittier

---

<div class="post-metadata">

**Author:** ![reittier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/73ab20/32.png) [@reittier](https://www.ruby-forum.com/u/reittier)\
**Post date:** [April 19, 2009, 5:03am UTC](https://www.ruby-forum.com/t/wait-until-the-window-is-closed/165869/2 "2009-04-19T05:03:12Z")

</div>

> calendar = Calendar.new(self)  
> calendar.show  
> #here i want wait  
> set\_date\_from
> 
> and I want wo wait until the Window is closed to execute the next  
> function.
> 
> I hope anybody can help me 😉  
> what framework is this?  
> -=r
