How is scrolling supported in Linux graphical environments such as GNOME and KDE?

I am interested to know: scrolling (for example, in Firefox, Nautilus, etc.) processes each application separately? Or is it done by the environment? Or using widget toolkit?

What bothers me is that in Firefox you can switch to "smooth scrolling", which makes you wonder how each application processes its scrolling separately. However, when writing software for Linux you do not need to specify, and it seems that GTK will take care of this on its own.

The reason I am curious is because I wanted to know if Linux can have its “accelerated” scrolling like OS X. I know that this is possible with the application, because Google Picasa has its own built-in interface.

To make this possible for the entire system, does GTK need to be modified? Or something else?

+3
source share
1 answer
  • Most applications rely on their own toolkit to scroll through behavior.

  • Firefox does a lot of things on its own, partly because it works on different platforms with different toolkits (and not just GTK), and partly because it has advanced needs that are not always met with any toolkit, use it.

  • GTK is far from the only tools used in Linux. There is also Qt (which is used in KDE), wxWidgets, Tk, FLTK, Motif clones, Xt, and you can even create Xlib applications without tools.

  • : " " " ". , .

  • Linux ( X) - . / , .

  • , , , , , .

+1

Source: https://habr.com/ru/post/1776140/


All Articles