Gtk3: implemented SetAlphaBlend().

This commit is contained in:
zeljan1 2025-02-12 09:47:42 +01:00
parent 5731b3c4cf
commit c82b207c96

View File

@ -490,6 +490,11 @@ begin
{$IFDEF GTK3DEBUGCORE}
DebugLn('TGtk3WSCustomForm.SetAlphaBlend');
{$ENDIF}
if Gtk3IsGtkWindow(TGtk3Widget(ACustomForm.Handle).Widget) then
if AlphaBlend then
TGtk3Widget(ACustomForm.Handle).Widget^.set_opacity(Alpha / 255)
else
TGtk3Widget(ACustomForm.Handle).Widget^.set_opacity(1);
end;
{ mdi support }