[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-app-devel
Subject: Re: Order of children in Box
From: jcupitt () gmail ! com
Date: 2008-02-25 16:34:56
Message-ID: 522c6460802250834q97d467cx2487dd15cd5d7158 () mail ! gmail ! com
[Download RAW message or body]
On 25/02/2008, Jeffrey Barish <jeff_barish@earthlink.net> wrote:
> jcupitt@gmail.com wrote:
> > Generally the most recently added child of any
> > gtkcontainer is at the head of the list.
> >
>
> > However ...
> > you can't really rely on it 100%.
>
> Yes, I too have observed this behavior when I use foreach or get_children.
> I was wondering whether I could count on it. You say that I cannot. If I
> cannot count on these functions to preserve order, I am wondering what
> function I can count on. Would there not have to be a function for getting
You're pretty safe with gtkbox I would think. I just mean that
subclasses can change this behaviour and could break your code some
time in the future. But you ought to be OK.
John
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic