Re: GtkTreeView
- From: Tim Janik <timj gtk org>
- To: Jonathan Blandford <jrb redhat com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>, Gtk+ MList <gtk-list gnome org>
- Subject: Re: GtkTreeView
- Date: Tue, 14 Aug 2001 19:50:30 +0200 (CEST)
On 13 Aug 2001, David Bryant wrote:
> > Easier:
> >
> > gpointer data;
> > gtk_tree_model_get (model, iter, 2, &data, NULL);
> >
> > Regards,
> > Owen
>
> That's neater, but if you don't want it to crash you'll do this:
> gtk_tree_model_get(model, iter, 2, &data, -1);
>
> It feels very unnatural finish an arg list with -1...But then
> again arg lists feel altogether unnatural to C++ programmers :^)
hm, jonathan, was there actually any pressing need to not let
column numbering start out at 1?
>
> Dave
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]