Resizing *Paned - defining minimum size of a child



Hi,

Is there a way to define a minimum size of a "child window" of a GtkVPaned
and a GtkHPaned that when user resize the paned and reach minimum size it
turns the size of this child to 0?

Example:
        
----------------
|       |  ch2  |
|       |       |
|       |       |
|   ch1 |       |
|       |       |
-----------------

ch1 must have at least 100 pixels of size. Otherwise some text edit's
inside it will hide only it size is 0.

What I need?
When users resize ch1 to a size of 100 or minus, it automagically goes to
size 0.


Is there a way to do this?

Thanks in Advance,

Leslie
 



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