lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** RE: Jerky window resizing in Windows GTK app
- Date: Mon, 24 Mar 2008 18:55:14 -0700
- From: "Ian Puleston" <ian@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: ***BOGO*** RE: Jerky window resizing in Windows GTK app
Hi again,
OK, I found the problem. After continuing to pair down the app until the
problem went away, it turned out to be due to this line:
gtk_window_set_position(GTK_WINDOW(mainWin), GTK_WIN_POS_CENTER_ALWAYS);
It's the continual re-centering due to that GTK_WIN_POS_CENTER_ALWAYS that
is not working very well.
After changing it to GTK_WIN_POS_CENTER (which is actually what I really
wanted anyway) it resizes nice and smoothly now.
Ian
> -----Original Message-----
> From: gtk-list-bounces@xxxxxxxxx [mailto:gtk-list-bounces@xxxxxxxxx] On
> Behalf Of Ian Puleston
> Sent: Monday, March 24, 2008 12:33 PM
> To: gtk-list@xxxxxxxxx
> Subject: RE: Jerky window resizing in Windows GTK app
>
> > -----Original Message-----
> > From: tlillqvist@xxxxxxxxx [mailto:tlillqvist@xxxxxxxxx] On Behalf Of
> Tor
> > Lillqvist
> > Sent: Monday, March 24, 2008 1:40 AM
> >
> > I would say that is not expected, at least with a current GTK+
> > version. What version of GTK+ are you using?
>
> Pretty much current - 2.12.3.
>
> > Do you have a minimal but complete sample program that exhibits the
> > behaviour?
>
> I do now. I've cut my program down to bare bones without actually changing
> the layout of the window, and uploaded a zip file (119 Kbytes) containing
> the source plus an exe (compiled with the MinGW compiler) here:
>
> http://diverian.tripod.com/home/Files/gtk-test.zip
>
> The tstapp.exe program in the bin directory demonstrates the problem.
>
> Ian
>
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list@xxxxxxxxx
> http://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list