[haiku-development] Re: List with columns

  • From: Ralf Schülke <ralf.schuelke@xxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 3 May 2012 06:28:12 +0200

David BColumnListView are private stuff, you need copy from haiku
sorce tree into your app projekt and handle as your class.
stargater

2012/5/3 John Scipione <jscipione@xxxxxxxxx>:
> Hi David,
>
> On Wed, May 2, 2012 at 10:24 PM, David Rawson Couzelis
> <drcouzelis@xxxxxxxxx> wrote:
>>
>> I'm developing an application for Haiku. I'd like to add a list with
>> columns and sortable column headers. (like in a Tracker window)
>>
>> Does a widget like that already exist in the Haiku API?
>
>
> Yes, it is called a BColumnListView and can be found in
> src/kits/interface/ColumnListView.cpp
>
> I recently worked with one in the GLInfo app. You can look
> in src/tests/kits/opengl/glinfo/CapabilitiesView.cpp for an example of one
> being used. You can see the app in action by loading up
> /boot/system/apps/GLInfo on a recent nightly. I took of a screenshot of the
> app when I worked on it, it looks like this:
>
> http://26.media.tumblr.com/tumblr_m2luz8Tuqu1r0f0hfo1_500.png
>
> Does that look like something close to what you are looking for?
>
> A warning though, the class is private so could (and most likely will)
> change before R1.
>
> John Scipione

Other related posts: