[haiku-3rdparty-dev] Re: A Table View of some sort

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Wed, 11 Nov 2009 09:25:08 +0100

Urias McCullough <umccullough@xxxxxxxxx> wrote:
> On Tue, Nov 10, 2009 at 6:39 PM, Yashasvi A.C. <yashasviac@xxxxxxxxx> 
> wrote:
> > Can BListView be modified to do this? Or do I have to use some 
> > other object
> > in the BeBook? I cant seem to find any BTable or something similar 
> > of that
> > sort. :(
> Looks like there's a non-public "BColumnListView" in the interface 
> kit
> (I'm guessing this is what Tracker uses):

No, Tracker is using something different. The BColumnListView certainly 
isn't the result of great API design, but the rest of the interface kit 
isn't that much better either :-)

> > There are a bunch of goodies in the private headers that 3rd party
> > devs can't use :(
> Technically, if one copies the private header and uses it as is, 
> can't
> they link directly to the version Haiku provides already? Is it in
> libbe.so?

Sure, you *could* use it. But it's not a good idea, as binary 
compatibility isn't maintained between releases of private APIs. Since 
it's not much code, and the license is pretty liberal, it makes a lot 
more sense to just copy it into your project instead, or else you risk 
that it won't work anymore after each new release.

Bye,
   Axel.


Other related posts: