Re: Gtk containers

> > No and yes. No, it's a property of the child and yes, the parent is
> > responsible for it.
> sorry, but this is confusing...  an object has a property he can't
> control..

The widget doesn't have X and Y properties. The programmer tells which
container/box the widget is to go in, and the container tells the widget
where to go. It is done this way, so that windows can be scaled. and so the
widget grows as the window is made larger. Soemthing that can't be done with
fixed widgets, without a lot of extra hassle.

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