Re: GtkTreeView
- From: Jonathan Blandford <jrb redhat com>
- To: Tim Janik <timj gtk org>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>, Gtk+ MList <gtk-list gnome org>
- Subject: Re: GtkTreeView
- Date: 14 Aug 2001 18:41:37 -0400
Tim Janik <timj gtk org> writes:
> 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?
Beyond the fact we're writing our code in C and not pascal?
-Jonathan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]