Re: Question regarding GTypeValueTable





  Ed Catmur  wrote:
David Shultz wrote:
I was looking at the api and came to a section

that explains GTypeValueTable structure. It talks about
collect_format member and says "Each character in
the format represents an argument to be collected"
what is this argument? Does it mean an argument
to a function? if yes of what function?

Yes, an argument to the collect_value() function of the GTypeValueTable.  Documented in the "Varargs Value Collection" page[1]; you almost certainly don't need to implement it.

Indeed, you almost certainly don't need to implement your own fundamental GValue types; what exactly are you trying to do here?

Ed

1. http://www.gtk.org/api/2.6/gobject/gobject-Varargs-Value-Collection.html

Thanks Ed. I just wanted to know how GValue works. Again thanks.

--David


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