[Gambas-user] Toggle overwrite mode in textbox programmatically

Bruce Steers bsteers4 at gmail.com
Tue Sep 5 15:37:14 CEST 2023


On Tue, 5 Sep 2023, 14:32 Bruce Steers, <bsteers4 at gmail.com> wrote:

>
>
> On Tue, 5 Sep 2023, 13:30 brian, <brian at westwoodsvcs.com> wrote:
>
>> Will this work with Wayland as well
>>
>> ~~~~~ Brian
>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>
>
> Sendkeys is an x11 function I don't think Wayland does it.
>
> But Wayland with xwayland installed does get some things working.
>
> I'd say try it and see.
>
> But officially I think the answer is no. Desktop.SendKeys is an x11 only
> function.
>
> Respects
> BruceS
>

It's deffo no.
Here's the sendkeys code...

Static Public Sub SendKeys(Keys As String)

  Select Case LoadPlatform()
    Case "x11"
      X11.SendKeys(Keys)
    Default
      Main.NotSupported
  End Select

End
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230905/0c2d1b5e/attachment-0001.htm>


More information about the User mailing list