[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gambas and Wayland (II)
[Thread Prev] | [Thread Next]
- Subject: Re: Gambas and Wayland (II)
- From: Bruce Steers <bsteers4@xxxxxxxxx>
- Date: Sun, 10 Aug 2025 07:57:06 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On Sat, 9 Aug 2025 at 22:17, Benoît Minisini < benoit.minisini@xxxxxxxxxxxxxxxx> wrote: > Le 09/08/2025 à 17:20, Lee a écrit : > > On 8/9/25 8:10 AM, Benoît Minisini wrote: > >> Hi, > >> > >> I have updated the Gambas and Wayland page on the wiki, to fix the > >> presentation a bit, and to add some information. > >> > >> https://gambaswiki.org/wiki/doc/wayland > >> > >> Feel free to fix, comment, and complete the "other problems" table at > >> the end of the page. > >> > >> Or you can just report your problems, and I will gladly add them for > you. > >> > >> In that case, you must always tell which GUI toolkit you use, and > >> which desktop you run, because most the time the problem depends on > them! > >> > >> Regards, > >> > > > > Very well written, Benoît. > > > > I fixed a few grammar issues and added some punctuation to aid > > comprehension. > > > > In the "Moving a top-level window" section, the Tip (Since 3.21) says, > > "It's still possible to ask the window manager to start moving a window > > with the mouse by calling the Window.StartMove() method." > > > > Did you mean, "It's now possible ..."? > > Yes. But I wanted to say that at least it is possible with Wayland to > ask the window manager to start moving a window. They implemented that > because they wanted the windows to be decorated by the client, and > managed on its own decision. > > Only the client application can decide exactly when its window should be > moved, but it cannot know where it is. Go figure the logic... > > -- > Benoît Minisini Ooh Window.Startmove is useful at least. Public Sub plnMove_MouseDown() Me.StartMove End That at least gives a way to move a borderless window with no title bar to drag. It activates moving when mouse is held on pnlMove then stops the move when mouse is released. essentially the same as.. Public Sub plnMove_MouseMove() If Mouse.Left Then Me.Move(Me.ScreenX + (Mouse.X - Mouse.StartX), Me.ScreenY + (Mouse.Y - Mouse.StartY)) End
Gambas and Wayland (II) | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Gambas and Wayland (II) | Lee <t.lee.davidson@xxxxxxxxx> |
Re: Gambas and Wayland (II) | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |