[Gambas-user] Deprecated controls and components

Benoît Minisini gambas at ...1...
Sun Nov 15 03:19:07 CET 2015


Le 15/11/2015 03:03, adamnt42 at ...626... a écrit :
> Hi Benoît,
>
> A few questions.
>
> 1. How are you marking a control as being deprecated e.g. LCDNumber?
> It would be quite handy at the moment for us to do the same thing. We
> have a significant number of clean up work going on currently and I'd
> like to be able to mark some old custom controls the same way.

Public Const _Group As String = "Deprecated"

>
> 2. Similarly, how are you marking components as deprecated, e.g.
> gb.sdl? I note that deprecated components no longer appear in the
> selection list for project properties even though the source is still
> in the repo.

In the project property dialog, "information" tab : set the component 
advancement to "Deprecated".

For components written in C/C++, you must update the *.component file by 
hand.

To see deprecated components in the component list, click on the little 
button located at the top left of the list.

>
> 3. The Embedder control is now deprecated, is there a replacement?

No. This feature will disappear with Wayland I guess, so supporting it 
is worthless.

Regards,

-- 
Benoît Minisini




More information about the User mailing list