[Gambas-user] window resize help

Benoit Minisini benoit.minisini at gambas-basic.org
Tue Dec 20 22:21:25 CET 2022

Le 20/12/2022 à 22:09, Bruce Steers a écrit :
> Aah i see, so I guess gambas is not set up to use it at all for a 
> borderless window?
> Or can we access the "kind" startSystemResize function in gambas any way 
> to do it ourselves?

It's possible to add some API for that, as GTK+ supports this method too.

But you still don't have any guarantee that these functions actually do 
what you expect.

> I've often wanted a borderless but resizable window. usually i have 
> added an option to show the titlebar/border to resize then hide it again 
> but it's ugly.
> The routine i have made needs a little refinement but it's working now 
> in a way i'm happy with so I guess i can just adapt it into my programs.

I understand what you want to do, but the Wayland guys decided that only 
the window manager should be able to move and resize windows 
interactively (and moving a toplevel window is forbidden anyway).


Benoît Minisini.

More information about the User mailing list