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

Mike Wey mike-wey at example.com
Tue Jun 11 10:42:44 PDT 2013


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


More information about the Digitalmars-d-learn mailing list