Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-20 Thread Alex Horvat
On Thursday, 20 June 2013 at 17:44:18 UTC, Mike Wey wrote: On 06/20/2013 07:53 AM, Alex Horvat wrote: I seem to have missed a few cases in the last commit, would you mind trying again? https://github.com/gtkd-developers/GtkD/commit/7e95380bbb4f569c95fc9435711e1f2ec73122fe Sorry, no change

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-20 Thread Mike Wey
On 06/20/2013 07:53 AM, Alex Horvat wrote: I seem to have missed a few cases in the last commit, would you mind trying again? https://github.com/gtkd-developers/GtkD/commit/7e95380bbb4f569c95fc9435711e1f2ec73122fe Sorry, no changes - still getting the same errors as before. Does this code

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-19 Thread Alex Horvat
I seem to have missed a few cases in the last commit, would you mind trying again? https://github.com/gtkd-developers/GtkD/commit/7e95380bbb4f569c95fc9435711e1f2ec73122fe Sorry, no changes - still getting the same errors as before.

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-19 Thread Mike Wey
On 06/17/2013 09:32 PM, Alex Horvat wrote: On Monday, 17 June 2013 at 17:52:38 UTC, Mike Wey wrote: On 06/17/2013 04:44 AM, Alex Horvat wrote: On Sunday, 16 June 2013 at 18:22:47 UTC, Mi Could you try again with the latest git? https://github.com/gtkd-developers/GtkD/commit/ab664087b9d354f9c

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-17 Thread Alex Horvat
Just upgraded to dmd 2.063.2 - no difference

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-17 Thread Alex Horvat
On Monday, 17 June 2013 at 17:52:38 UTC, Mike Wey wrote: On 06/17/2013 04:44 AM, Alex Horvat wrote: On Sunday, 16 June 2013 at 18:22:47 UTC, Mike Wey wrote: On 06/13/2013 06:14 AM, Alex Horvat wrote: On Wednesday, 12 June 2013 at 21:44:55 UTC, Mike Wey wrote: On 06/11/2013 07:55 PM, Alex Horv

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-17 Thread Mike Wey
On 06/17/2013 04:44 AM, Alex Horvat wrote: On Sunday, 16 June 2013 at 18:22:47 UTC, Mike Wey wrote: On 06/13/2013 06:14 AM, Alex Horvat wrote: On Wednesday, 12 June 2013 at 21:44:55 UTC, Mike Wey wrote: On 06/11/2013 07:55 PM, Alex Horvat wrote: On Tuesday, 11 June 2013 at 17:41:59 UTC, Mike

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-16 Thread Alex Horvat
On Sunday, 16 June 2013 at 18:22:47 UTC, Mike Wey wrote: On 06/13/2013 06:14 AM, Alex Horvat wrote: On Wednesday, 12 June 2013 at 21:44:55 UTC, Mike Wey wrote: On 06/11/2013 07:55 PM, Alex Horvat wrote: On Tuesday, 11 June 2013 at 17:41:59 UTC, Mike Wey wrote: On 06/11/2013 05:56 PM, Alex Hor

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-16 Thread Mike Wey
On 06/13/2013 06:14 AM, Alex Horvat wrote: On Wednesday, 12 June 2013 at 21:44:55 UTC, Mike Wey wrote: On 06/11/2013 07:55 PM, Alex Horvat wrote: On Tuesday, 11 June 2013 at 17:41:59 UTC, Mike Wey wrote: On 06/11/2013 05:56 PM, Alex Horvat wrote: TreeStore store = cast(TreeStore)tvTreeView.ge

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-12 Thread Alex Horvat
On Wednesday, 12 June 2013 at 21:44:55 UTC, Mike Wey wrote: On 06/11/2013 07:55 PM, Alex Horvat wrote: On Tuesday, 11 June 2013 at 17:41:59 UTC, Mike Wey wrote: On 06/11/2013 05:56 PM, Alex Horvat wrote: TreeStore store = cast(TreeStore)tvTreeView.getModel(); In this case store == null I thi

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-12 Thread Mike Wey
On 06/11/2013 07:55 PM, Alex Horvat wrote: On Tuesday, 11 June 2013 at 17:41:59 UTC, Mike Wey wrote: On 06/11/2013 05:56 PM, Alex Horvat wrote: TreeStore store = cast(TreeStore)tvTreeView.getModel(); In this case store == null I think that one should work, how are you setting/creating the Tre

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-11 Thread Alex Horvat
On Tuesday, 11 June 2013 at 17:41:59 UTC, Mike Wey wrote: On 06/11/2013 05:56 PM, Alex Horvat wrote: TreeStore store = cast(TreeStore)tvTreeView.getModel(); In this case store == null I think that one should work, how are you setting/creating the TreeStore? tvTreeView.setModel(CreateModel()

Re: GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-11 Thread Mike Wey
On 06/11/2013 05:56 PM, Alex Horvat wrote: TreeStore store = cast(TreeStore)tvTreeView.getModel(); In this case store == null I think that one should work, how are you setting/creating the TreeStore? -- Mike Wey

GtkD: Best way to get TreeStore out of TreeView.Model

2013-06-11 Thread Alex Horvat
I'm trying to get a TreeStore object back out of a TreeView in GtkD. The reason for this is so that I can change the value of a cell in the TreeView - in this case changing one image for another. I can't use a TreeModel for this as it does not have a setValue function. I've got this workin