Re: How to use gtk_list_store_newv()
- From: Greg Breland <gbreland mozillanews org>
- To: gtk-app-devel <gtk-app-devel-list gnome org>
- Cc: Tim Müller <zen18864 zen co uk>
- Subject: Re: How to use gtk_list_store_newv()
- Date: Mon, 22 Nov 2004 03:25:58 -0600
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]