On Tue, 04 Jul 2006 09:33:41 +0200, chao yeaj <[EMAIL PROTECTED]> wrote:
> I am writing my own gtk widget for my application > What i want to achieve is that: when the user change the > widget's size with his mouse,i want the widget keep this: > height/width = 3/4 . > i did not knowe how to write the widget's > "gtk_xxxx_size_allocate" function to achieve this Maybe you can pack the widget into a GtkAspectFrame. --Daniel _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list