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
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
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
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
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
Just upgraded to dmd 2.063.2 - no difference
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.
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
If I use core.thread.Thread to create a new thread associated to
a function like this:
Thread testThread = new Thread(&DoSomething);
Will the testThread dispose of itself after DoSomething()
completes, or do I need to join/destroy/somethingelse testThread?
On Saturday, 20 July 2013 at 20:36:29 UTC, Ali Çehreli wrote:
On 07/20/2013 12:34 PM, Alex Horvat wrote:
> If I use core.thread.Thread to create a new thread associated
to a
> function like this:
>
> Thread testThread = new Thread(&DoSomething);
>
> Will the testThread d
On Sunday, 21 July 2013 at 15:30:06 UTC, Ali Çehreli wrote:
On 07/20/2013 09:43 PM, Ali Çehreli wrote:
> When the parent thread terminates the child processes
terminate as well.
I am wrong there: What I said above is true for the main
program thread. When the main program terminates, its threa
When a detached thread terminates, its resources are auto-
matically released back to the system:"
Sounds like I can call Thread.getThis().thread_detachThis() from
within DelayedHideTitle() and that will make the thread detached
and therefore it will destroy itself properly.
Or, if tha
On Monday, 22 July 2013 at 16:58:00 UTC, Sean Kelly wrote:
On Jul 22, 2013, at 9:45 AM, "Alex Horvat"
wrote:
When a detached thread terminates, its resources are auto-
matically released back to the system:"
Sounds like I can call Thread.getThis().thread_detachThis
13 matches
Mail list logo