Re: resizing a pane in a paned window from code



Hi,
      Is it possible to resize a particular pane in a paned window from
the program?  Also, is it possible to set which pane will slurp up any extra
space allocated from resizing?
      Thanks,
      Chris

Hi, I've used that widget before and I needed to control it's startup size
from a variable fetched from file.

The way I have it done is to put a container (ie vbox or table) in the
*first* panel (not the second one) and use gtk_widget_set_size() on the
container (vbox or table) in it.

To get the size I just used widget->allocation.width on the vbox or table
before exiting.


--
Sincerely,                  ,"-_                         \|/
-Capt. Taura M.             ,   O=__                    --X--
..__                         ,_JNMNNEO=_                 /|\
OMNOUMmnne.                  {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn.               'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe              '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe.                "7OMMMMNNNNNWWEEEEOOOOOO"   "'.
EEBNNMMMNWNWWEEIMMNe.             __  7EMMMNNNNNWWWEEEEEEEOO.     " .
NNMMMMWWWMMMWEINMMMNn            "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._     .
                  http://furry.ao.net/~learfox/





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