Re: GtkOrientable and GtkBox



On Wed, Jun 3, 2009 at 1:56 PM, Sven Neumann <sven gimp org> wrote:
[...]
>
> I haven't tried this, but unless I am mistaken this should reverse the
> order of children in a box. Seems easy enough to do and avoids the need
> to introduce yet another special case in the GtkBox code. Perhaps if
> this solution is not obvious enough, this should be turned into a
> utility function gtk_box_reverse_children_order() ?

Good point I over looked this api

no need to ref, unparent, repack children, unref.

Cheers,
          -Tristan


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