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

M0E Lnx m0e.lnx at ...626...
Tue Oct 28 13:48:41 CET 2008


I do not... as a matter of fact, it works perfectly on gb.qt for me
(or at least I think it does)

At exit, the embedder applications are killed. It does not crash.

I did notice in gb.qt that using the Discard method on the embedder
doesn't really kill the embedded application, rather it just shoots it
out and X windows decorates it.
Not sure that's how it should be.... I was looking for a way to kill
the embedde application.


On Mon, Oct 27, 2008 at 7:22 PM, Benoit Minisini
<gambas at ...1...> wrote:
> 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
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list