[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SendKeys() in Wayland


Hi

A lot of distributions are now recommending Wayland, especially Ubuntu.
However, Wayland component in gambas has no support for Desktop.SendKeys()
yet.

We have been using SendKeys extensively to allow user press Return key to
move the cursor to the next control (eg TextBox). How can this be achieved
in Wayland?

I am using following code:

  If Key.Code = Key.Return Or If Key.Code = Key.Enter Or If Key.Code =
Key.AltKey Then
    If Application.ActiveControl
        Desktop.SendKeys("\t")
    Endif
  Endif

-- 
Regards
Safiur Rahman

Follow-Ups:
Re: SendKeys() in WaylandBruce Steers <bsteers4@xxxxxxxxx>
Re: SendKeys() in WaylandJussi Lahtinen <jussi.lahtinen@xxxxxxxxx>