Re: GtkToolbar::children and "compatibility"
- From: Soeren Sandmann <sandmann daimi au dk>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: GtkToolbar::children and "compatibility"
- Date: 28 Feb 2004 18:39:41 +0100
Murray Cumming <murrayc murrayc com> writes:
> I'm looking at the new Toolbar API again to see if we can improve the
> gtkmm wrapper.
>
> It looks like the GtkToolbar::children GList is just used for items
> added with the old API. So if you add item A with the new API and item B
> with the old API, then you'd have A and B in GtkToolbar::content, but
> only B in GtkToolbar::children. Is this correct?
You can't add item A with the new API and item B with the old one,
because the two API's are mutually exclusive (you would get a warning
if you tried).
But yes, when you use the new API, toolbar->children should be
NULL. It is not possible to generate meaningful GtkToolbarChildr
structs corresponding to the GtkToolItem objects.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]