LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-03-2022, 08:42 AM   #1
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,068

Rep: Reputation: 148Reputation: 148
Lightbulb 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?

Last edited by dchmelik; 07-03-2022 at 04:27 PM.
 
Old 07-03-2022, 09:11 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,142
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
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/
 
1 members found this post helpful.
Old 07-03-2022, 12:02 PM   #3
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
Quote:
Originally Posted by dchmelik View Post
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
 
Old 07-03-2022, 04:15 PM   #4
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,068

Original Poster
Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by teckk View Post
That's just as bad!

Quote:
Originally Posted by EdGr View Post
You may want to increase the mouse acceleration.
I increased it to maximum decades ago.
 
Old 07-03-2022, 06:21 PM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,462
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by dchmelik View Post
(when MS was influenced by KDE4.)
HAHAHAHAHA! You're a funny guy.
 
Old 12-25-2023, 08:58 AM   #6
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,068

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this price justified in any way? sycamorex General 34 02-11-2010 08:24 AM
How do you justified your linux home based webserver's capabilities? seow_ming Linux - Networking 2 06-01-2008 10:45 PM
Firewalls for home networks, is separate justified? setiDude Linux - Security 12 10-18-2004 08:55 PM
Gotta love those ٱٱٱٱٱٱٱ&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM
alignment justified in HTML nephilim Programming 1 10-31-2003 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration