Re: Order of children in Box
- From: jcupitt gmail com
- To: jeff_barish earthlink net
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Order of children in Box
- Date: Sun, 24 Feb 2008 14:47:12 +0000
On 23/02/2008, Jeffrey Barish <jeff_barish earthlink net> wrote:
If I do foreach on a Box, will the order in which the children are retrieved
correspond to the order in which they were packed? How about get_children?
I think so. Generally the most recently added child of any
gtkcontainer is at the head of the list. You can change the order by
reffing a child, removing it, adding it again, and unreffing.
However this behaviour can be changed by subclasse of gtkcontainer and
you can't really rely on it 100%.
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]