# Animated window resize with FXRuby

**URL:** <https://www.ruby-forum.com/t/animated-window-resize-with-fxruby/88934>\
**Category:** Ruby\
**Created:** [March 15, 2007, 6:36pm UTC](https://www.ruby-forum.com/t/animated-window-resize-with-fxruby/88934 "2007-03-15T18:36:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dat\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b19c9b/32.png) [@Dat\_C](https://www.ruby-forum.com/u/Dat_C)\
**Post date:** [March 15, 2007, 6:36pm UTC](https://www.ruby-forum.com/t/animated-window-resize-with-fxruby/88934/1 "2007-03-15T18:36:03Z")

</div>

Hello,

Does anyone know of any prebuilt framework to facilitate animation in  
FXRuby (or GTK, or Qt)? I am coming from the web world and don’t know  
everything about desktop GUI.

I can’t seem to find any information on how to make similar animation  
like those found in Scriptaculous, Mootools, …

Any pointer would be appreciated guys.

---

<div class="post-metadata">

**Author:** ![Dat\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b19c9b/32.png) [@Dat\_C](https://www.ruby-forum.com/u/Dat_C)\
**Post date:** [March 15, 2007, 6:52pm UTC](https://www.ruby-forum.com/t/animated-window-resize-with-fxruby/88934/2 "2007-03-15T18:52:05Z")

</div>

On 3/15/07, Dat C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Does anyone know of any prebuilt framework to facilitate animation in  
> FXRuby (or GTK, or Qt)? I am coming from the web world and don’t know  
> everything about desktop GUI.
> 
> I can’t seem to find any information on how to make similar animation  
> like those found in Scriptaculous, Mootools, …

There’s not really anything like that built-in to FXRuby. You can  
certainly set up a little timeout loop and gradually change the window  
size (i.e. its width and height).

---

<div class="post-metadata">

**Author:** ![Dat\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b19c9b/32.png) [@Dat\_C](https://www.ruby-forum.com/u/Dat_C)\
**Post date:** [March 15, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/animated-window-resize-with-fxruby/88934/3 "2007-03-15T20:51:25Z")

</div>

On Mar 15, 5:33 pm, “Dat C.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello,
> 
> Does anyone know of any prebuilt framework to facilitate animation in  
> FXRuby (or GTK, or Qt)? I am coming from the web world and don’t know  
> everything about desktop GUI.
> 
> I can’t seem to find any information on how to make similar animation  
> like those found in Scriptaculous, Mootools, …
> 
> Any pointer would be appreciated guys.  
> Qt4 QtRuby has Qt::TimeLine for animations that you can use in  
> conjunction with classes like Qt::GraphicsItemAnimation on a  
> Qt::GraphicsView canvas, as well as using it with ordinary Qt::Widgets.
