widget aspect ratio control



How can I control the aspect ratio of a child widget (specifically, a
descendant of GtkDrawingArea)?  I've tried
gtk_window_set_geometry_hints(), but rather than constrain the geometry
of the child GtkWidget I pass this function, it applies the aspect
ration constraint to the top-level GtkWindow.  Note that the child
widget is a couple of containers removed from the top-level Window.

Thanks,
-Jonathan Brandmeyer





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