On Thu, 03 Mar 2005 18:31:05 +0000, Evil Kosh <[EMAIL PROTECTED]> wrote:
> you have a window, with a GtkPaned splitting it into two halfs, the
> window covers the bottom half of the pane, so the drag bar in the
> middle, is at the bottom of the window being displayed.
> 
> on clicking a button in the top pane, I want to increase the size of the
> window, to EXPOSE the bottom half of the pane, and I want to do it like
> an animation, so clicking it will "expand out" the lower half,
> containing other controls and information.

I think resizing the window is unlikely to work well :-( Maybe the
next generation of window managers will start to support this sort of
animation.

You can move the position of the pane divider quite smoothly though. I
do this in my app with a timeout setting a new position every 50ms or
so (from memory).

Source and binary here if you're curious:

  http://www.vips.ecs.soton.ac.uk/

to see the animation, click View / Toolkit Browser in the main window.
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to