LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   recompiling GTK & Qt programs with centre-justified menus? (https://www.linuxquestions.org/questions/slackware-14/recompiling-gtk-and-qt-programs-with-centre-justified-menus-4175714178/)

dchmelik 07-03-2022 08:42 AM

recompiling GTK & Qt programs with centre-justified menus?
 
In '0s I came up with a few/couple graphical user interface (GUI) ideas/suggestions KDE implemented, and if I recall correctly, Windows copied some (when MS was influenced by KDE4.) One was menus could be moved to middle, which they didn't use, but lately Windows uses (start menu, don't know about programs' menus like 'File Edit View Help,' etc.)
        GUIs aren't books so there's no reason menus should be left-justified rather than centre-justified. My PC has 1600x1200 (top.) '1080p' drawing pad/LCD (side,) 4K (main,) and having to move from one side of one to other side of another is the worst.
        Has anyone ever recompiled GTK & Qt programs (on Slackware or UNIX) with centre-justified menus, and how difficult might that be--is it worth it?

teckk 07-03-2022 09:11 AM

Quote:

Has anyone ever recompiled GTK & Qt programs (on Slackware or UNIX) with centre-justified menus, and how difficult might that be--is it worth it?
Read the docs, and online examples:

https://docs.gtk.org/gtk3/property.M...justified.html
https://developer-old.gnome.org/gtk3...kMenuItem.html
https://www.murrayc.com/permalink/20...-text-widgets/

https://doc.qt.io/qt-5/qtwidgets-mai...s-example.html
https://www.geeksforgeeks.org/qt-alignment-in-pyqt5/
https://zetcode.com/gui/qt5/menusandtoolbars/

EdGr 07-03-2022 12:02 PM

Quote:

Originally Posted by dchmelik (Post 6365294)
If I'm drawing in GIMP on 4K screen, having to go that far is the worst, and still bad even with programs snapped to each side of the screen...

You may want to increase the mouse acceleration.

Code:

xset mouse 2 25
works well at 4K.
Ed

dchmelik 07-03-2022 04:15 PM

Quote:

Originally Posted by teckk (Post 6365298)

That's just as bad!

Quote:

Originally Posted by EdGr (Post 6365328)
You may want to increase the mouse acceleration.

I increased it to maximum decades ago.

rkelsen 07-03-2022 06:21 PM

Quote:

Originally Posted by dchmelik (Post 6365294)
(when MS was influenced by KDE4.)

HAHAHAHAHA! You're a funny guy.

dchmelik 12-25-2023 08:58 AM

Looked at more documentation: seems can't be done with (older) GTK but can be with newer QT.


All times are GMT -5. The time now is 01:33 PM.