Re: Keeping an "aspect ratio" on a widget



Hi!

Have you tried GtkAspectFrame?

Cheers,
Vreixo


--- nico <nbd free fr> escreveu:

> 
> 
> Hello
> I try to set an application who display video, and I
> wan't if the main
> window is resized, to preserve an aspect ratio on
> the Drawing area
> widget (within a viewport)  who display the video.
> 
> I need to fix this aspect ratio as 720/576
> (width/height).
> 
> I did not find a way to do that.
> Somebody have an idea on how managing this feature ?
> 
> Thanks in advance
> 
> Nico
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 



      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]