[prev in list] [next in list] [prev in thread] [next in thread]
List: gambas-devel
Subject: Re: [Gambas-devel] About GB_VARIANT_VALUE
From: Benoit Minisini <gambas () users ! sourceforge ! net>
Date: 2004-06-04 22:55:15
Message-ID: 200406050055.15396.gambas () users ! sourceforge ! net
[Download RAW message or body]
On Saturday 05 June 2004 00:53, Daniel Campos wrote:
> Hi again:
>
> Now I'm beginning to write the 'Delete' method for controls and
> trying to free all properly, as you know 'tag' property is
> stored in:
>
> GB_VARIANT_VALUE tag;
>
> How can I free that? is GB.Free() OK or should I use any other
> function?
>
> Regards,
GB.StoreVariant(NULL, &tag);
I suggest you read the CWidget.cpp QT component source file. Everything is
done after receiving a 'destroy' signal. I think you should have an
equivalent signal in GTK+, and that you just have to copy and adapt the code
from the QT component.
Regards,
--
Benoit Minisini
mailto:gambas@users.sourceforge.net
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Gambas-devel mailing list
Gambas-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic