On Wed, Apr 2, 2008 at 10:21 PM, Zhe Su <james.su@xxxxxxxxx> wrote:
Hi,
I'm writing an program, which uses a GtkFixed widget and a GtkSocket inside it. The GtkFixed widget is in a toplevel window. I need adjust the position and size of the GtkSocket widget according to the size of its parent, the GtkFixed widget, in a proportional way. And the user must be able to change the window size.
Using gtk_widget_size_size_request to set the minimal size of the GtkSocket widget works, but it'll prevent the user from shrinking the window size. After checking gtk manual, I found that gtk_widget_size_allocate might be the right function, but unfortunately it doesn't take effect at all. So is there any way to solve this issue?
Regards
James Su
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list