[gtk-list] Re: another question

1999-11-28 Thread leon
Aaron Walker wrote: > > ok, this is what I have: > > gtk_clist_freeze(GTK_CLIST(clist)); > while((fgets(line, sizeof line, results)) != NULL) > { > ptr = (gchar *)&line; > gtk_clist_append(GTK_CLIST(clist), &ptr); > } > gtk_clist_thaw(GTK_CLIST(clist)); > > FILE *results is a

[gtk-list] Re: another question

1999-11-27 Thread leon
Aaron Walker wrote: > ok, this is what I have: > > gtk_clist_freeze(GTK_CLIST(clist)); > while((fgets(line, sizeof line, results)) != NULL) > { > ptr = (gchar *)&line; > gtk_clist_append(GTK_CLIST(clist), &ptr); > } > gtk_clist_thaw(GTK_CLIST(clist)); > > FILE *results is a 200

[gtk-list] Re: another question

1999-11-27 Thread Chris Phelps
Im not totally positive, but I think that your problem has to do with the scrolled window not being big enough. Ive been told that x-windows can only be 32767 pixels tall. So depending on the height of your clist cells, you could be overflowing. I dont know what happens when you try and do that, b

[gtk-list] Re: another question

1999-11-27 Thread Aaron Walker
[EMAIL PROTECTED] wrote: > Aaron Walker wrote: > > > does anyone know if there is there a maximum number of rows you can have in a > > clist? > > cause, I put my clist in a scrolled window, and if I few hundred rows, it is > > ok, but if I add a couple of thousand, the scrolled window acts as tho

[gtk-list] Re: another question

1999-11-27 Thread leon
Aaron Walker wrote: > does anyone know if there is there a maximum number of rows you can have in a > clist? > cause, I put my clist in a scrolled window, and if I few hundred rows, it is > ok, but if I add a couple of thousand, the scrolled window acts as though > there are not enough rows to ne

[gtk-list] Re: another question

1999-11-26 Thread Paul Barton-Davis
>>Ok, so my clist works now... I know how to connect a signal to a clist >>row that captures "select_row", but what about double clicks? See, I >>would like to capture "select_row" events and display info about that >>row in a statusbar, and on a double click, I would like open that row. >> > >In

[gtk-list] Re: another question

1999-11-26 Thread Aaron Walker
Martin Kestel wrote: > > > >Ok, so my clist works now... I know how to connect a signal to a clist > >row that captures "select_row", but what about double clicks? See, I > >would like to capture "select_row" events and display info about that > >row in a statusbar, and on a double click, I woul

[gtk-list] Re: another question

1999-11-26 Thread Martin Kestel
> >Ok, so my clist works now... I know how to connect a signal to a clist >row that captures "select_row", but what about double clicks? See, I >would like to capture "select_row" events and display info about that >row in a statusbar, and on a double click, I would like open that row. > In the