Re: how to use user_data field in GMarkupParser callbacks?



On Tue, Feb 07, 2006 at 11:14:56AM -0600, Gabriel M. Elder wrote:
> I've been scouring the documentation and the net trying to figure out
> how to (correctly) utilize the "gpointer user_data" parameter to the
> GMarkupParser callbacks. The only information the glib documentation
> provides in this regard is the function prototype in the api reference,
> and i can't find any examples anywhere.

In this argument you get back what you passed as user_data
argument to g_markup_parse_context_new().

Yeti


--
That's enough.



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