Setting panes sizes




Hi to all,

I'm trying to use the horizontal and vertical paned window widgets. I've
followed the examples of the tutorial, and I also tried to use GLADE,
but no matter what I tried, I couldn't find a well explanation of how to
set up either the minimun or initial size of the panes. Most of these
panes contain a scrolled window and either a CTree or a Text widget
inside. I found that by fixing the size of the scrolled window, i can
somehow control the size of the pane ( but in the case of a vertical
pane, only works in the upper pane ( sometimes I want to fix or set up
initially the size of the lower pane and make the upper to occupy the
rest ). Are there any functions that will control the size of the panes
?

I'll appreciate any help regarding this. My application looks very silly
when it starts and everything is somehow dislocated ( I know, the panes
are supposed to be resizable, but at least initially they should display
some significant information, not hid it almost all ).

Thanks in advance


Hugo

--
Hugo Varotto
Computer Science Dept.
University of Pittsburgh
hvarotto@cs.pitt.edu



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