Auto_shrink not working.



I am writing a small gtk program that creates a window that contains a
label. I set the policy of the window to :

gtk_window_set_policy (GTK_WINDOW (window), FALSE, FALSE, FALSE);      

and I include the label in it. It seems as if the auto_shrink does not
do its job because if I resize the label to a smaller size, the window
automaticaly shrinks.

Is this normal? Should I use gdk_??_set_geometry_hints?

Daniel Shane
--




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