[Gambas-user] Another Embedder + gb.gtk bug

Benoit Minisini gambas at ...1...
Tue Oct 28 01:22:44 CET 2008


On vendredi 24 octobre 2008, M0E Lnx wrote:
> The embedder object has another problem in gb.gtk
>
> I'm using gambas2 (SVN Revision 1640)
>
> Here is how I'm using it
>
> I have a treeview and an embedder. When I double-click the treeview,
> the selected application embeds to the right of the treeview
>
> But I'm trying to detect if the embedder is busy before embedding a
> new application, I thought about using the Embedder.client property
> like this
>
> PUBLIC SUB Treeview1_click()
> IF Embedder1.client then Embedder1.Discard
> END
>
> This results in a signal 11 error on the gambas IDE and my application
> crashes.
>
> Works ok when using gb.qt though
>

Your problem should be fixed in revision #1653.

I have a problem yet with gb.qt: it crashes at exit when something has been 
embedded. Funny that you didn't have any problem.

Regards,

-- 
Benoit Minisini




More information about the User mailing list