Re: packing, spacing question



Paul Barton-Davis <pbd op net> writes:
> OK, I've been using GTK for a couple of years or so. I *still* don't
> understand how to do this basic operation:
> 
> 	   pack a box with N elements, with X pixels of padding on
> 	      the outer edge and Y pixels of spacing between them
>

Create the box with spacing of Y, then
gtk_container_set_border_width() on the box to X pixels. Y pixels
between children, X pixels all around the box. Right?

Havoc




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