View previous topic :: View next topic |
Author |
Message |
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Sun Jun 18, 2006 4:44 pm Post subject: TreeviewModel |
|
|
Did anybody had success with implementing an own TreeModel?
I want to display data from a database in a TreeView (as list). because I don't want to load all data into memory, I want to use a custum model which loads only the needed records and forgets about the old. |
|
Back to top |
|
|
bernd
Joined: 12 May 2006 Posts: 3
|
|
Back to top |
|
|
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Thu Jun 22, 2006 1:48 am Post subject: |
|
|
I don't understand how to do it in D with DUI.
Can you share some source? |
|
Back to top |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Sat Jun 24, 2006 8:45 pm Post subject: |
|
|
tionex wrote: | I don't understand how to do it in D with DUI.
Can you share some source? |
I know have to address this sooner or later, but I guess it's going to be later.
I know this is important for DUI.
I still don't know what will be the best implementation, well for now any would be the best, I don't have any idea on how to do it on DUI.
As it is now I see the data trippled: database, D structs and Gtk structs.
For now this works for me as I have only small simple sets of data to show on a TreeView.
bernd, do you have other resources the one you posted gives me a 404 error.
Ant
PS summer time is always a slow time for DUI as I go outside instead of coding... You don't want me to learn how to sky |
|
Back to top |
|
|
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Sun Jun 25, 2006 3:46 am Post subject: |
|
|
Quote: | bernd, do you have other resources the one you posted gives me a 404 error. |
Try it without the dot. |
|
Back to top |
|
|
|