Re: GtkToolbar::children and "compatibility"



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]