Re: setting lists of values in gconfmm



On Tue, 2006-10-31 at 12:02 -0600, Matt Hoosier wrote:
> I'm having some trouble tracing through all the templates in the
> SListHandle to see how one is supposed to convert a mundane
> std::vector<> into the SListHandle required by the various
> Gnome::Conf::Client::set_XXX_list() methods.
> 
> Anybody know the right way to do this? Most examples I find cover the
> case when wants to wrap a pre-existing GSList inside a SListHandle.

this totally confused me when i first encountered it, but then at some
point i discovered that you can just use a std::slist and automatic
conversion takes place. i think ....





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