Re: How to use gtk_list_store_newv()



Thanks a million.  

I thought I had tried this, but I guess I had something messed up
somewhere else because this works.  I think I kept second guessing
myself since I didn't have anything to go by and I couldn't figure out
exactly what a GType was from the docs.

In fact, I still don't know what a GType is, although I suspect its and
int.  However, printf("%i\n", types[0]); produces an error, maybe not.


On Mon, 2004-11-22 at 02:55, Tim Müller wrote:
On Monday 22 November 2004 08:18, Greg Breland wrote:
Try something like:

  GType *types;
  gint      n_cols;

  n_cols = 3;
  types = g_new0 (GType, n_cols);





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