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

[no subject]



"Note also that the XML parse tree is cached to speed up creating another
GladeXML object for the same file".

>> Sure, you can build the dialog at startup time or on demand
>> the first time, but just hide it and show it on demand.
> 
> That's how I handle things like properties dialog boxes. The display
> windows, however, are different in that there can be more than one
> open at a time, and I have no way to predict how many the user would
> like to have open. Currently, I'm forced to call glade_xml_new for
> each new display window the user would like. If there was a clone
> function, though, I could have done something like create a window on
> startup, then clone it for each new window that the user wanted.

The caching feature mentioned above should avoid the need for such a cloning
feature I believe.

But I have no clue whether this is still true with GtkBuilder...

--
  Olivier



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