[gtk-list] Re: top-level window position/size questions



To retreive the window position:
(GtkWindow *)mywindow->x   and y, they're in the struct in gtkwindows.h, I don't know if they actualy work well :)

To set minimum size, I BELEIVE is gtk_widget_set_usize, if I'm not please correct me.  I know when working with the gnome toolbar, it will set the minimum size to keep its contents in view at all times (in the x direction, anyways) I get some weird behavior when I shrink in the y dir (overlapping).  

This brings up a couple of my questions, though..
1) how do you set default size (NOT minimum) ?
2) default behavior of a 'paned' widget is to resize the second component to fit, can that be reversed to resize the first component?

-Erik



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