Re: GtkBuilder partial tree construction



On Wed, 2007-06-27 at 11:12 -0300, Johan Dahlin wrote:
> Murray Cumming wrote:
> > By the way, if GtkBuilder can't be used for multiple top-level widgets,
> > we should probably check that gtk_builder_add_from_*() are not called
> > twice on the same instance.
> 
> > Or does "merge" mean something special in 
> > "
> > Parses a file containing a <link linkend="BUILDER-UI">GtkBuilder UI
> > definition</link> and merges it with the current contents of @builder.
> > "
> > ?
> 
> Yes, you're able to create xml definitions which refers to object created by
> previous calls to gtk_builder_add_*.

But I guess that's not implemented at all yet, right, or is it just
"XUL-style overlays" that are not implemented?

> It's not yet supporting XUL-style overlays[1] (like GtkUIManager merges for
> widgets), but we might support it in the future.
> 
> > And this would make it even more useful to have *_new_from_file() and
> > *_new_from_string().
> 
> See http://bugzilla.gnome.org/show_bug.cgi?id=447969 for a simplified API.
> 
> [1]: http://developer.mozilla.org/en/docs/XUL_Overlays
> 
-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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