[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Touchscreen support
From: |
Po Lu |
Subject: |
Re: Touchscreen support |
Date: |
Tue, 21 Dec 2021 12:35:56 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) |
Richard Stallman <rms@gnu.org> writes:
> That sounds like a big problem, but it is described in a very abstract
> way. Can you present a concrete exanple of such a difference in
> abstractions?
For example, programs in GTK+ aren't supposed to create windows or
widgets manually anymore. Instead, GTK provides a system to create
"applications", which run in the background and respond to requests to
open files or to display a default window, and it also provides an
XML-based format for describing the layout of widgets and windows.
In GTK 4, menus cannot even be modified by applications on-the-fly
anymore. You are again supposed to use a GTK-specific XML format to
describe the menus of your application in a way that cannot be changed
at run-time.
What used to be a few ifdefs (and some code) away now requires you to
write a different XML file for each toolkit, and to redesign your
application to fit various unnecessary limitations imposed by the
toolkit developers.
> Would it be possible to invent a higher-level abstraction to unify
> these toolkits?
I'm not sure.
- Re: Touchscreen support, (continued)
- Re: Touchscreen support, Po Lu, 2021/12/17
- Re: Touchscreen support, Stefan Monnier, 2021/12/17
- Re: Touchscreen support, Po Lu, 2021/12/17
- Re: Touchscreen support, Stefan Monnier, 2021/12/18
- Re: Touchscreen support, Stefan Monnier, 2021/12/18
- Re: Touchscreen support, Richard Stallman, 2021/12/17
- Re: Touchscreen support, Po Lu, 2021/12/17
- Re: Touchscreen support, Richard Stallman, 2021/12/19
- Re: Touchscreen support, Po Lu, 2021/12/20
- Re: Touchscreen support, Richard Stallman, 2021/12/20
- Re: Touchscreen support,
Po Lu <=
- Re: Touchscreen support, Richard Stallman, 2021/12/21
- Re: Touchscreen support, Po Lu, 2021/12/21
- Re: Touchscreen support, Richard Stallman, 2021/12/22
- Re: Touchscreen support, Po Lu, 2021/12/22
- Re: Touchscreen support, Richard Stallman, 2021/12/25
- Re: Touchscreen support, Po Lu, 2021/12/26
- Re: Touchscreen support, Richard Stallman, 2021/12/26
- Re: Touchscreen support, Stefan Monnier, 2021/12/27
- Re: Touchscreen support, Richard Stallman, 2021/12/27
- Re: Touchscreen support, Lars Ingebrigtsen, 2021/12/18