You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I developed a plugin for LXQt panel. It embedded an external Python-GTK program in QWidget. I want to keep its background the same as the panel, so I need to redraw the background of that program.
Then I found that there is no direct way to get the background settings of the panel. I have to detect the current configuration file from the command line arguments, then find the required settings in that file and monitor file changes.
This method is not only troublesome, but also cannot guarantee that the configuration file format will not change in the future.
I hope there is a more direct way to get the styling of the panel and notify the changes of related options.
The text was updated successfully, but these errors were encountered:
Such a plugin is on the wish list of many users, so that is a nice achievement anyway!
For getting the background color I see the issue but I'm not familiar with the code.
You could try using a background image for the panel:
<source>A partial workaround for widget styles that
cannot give a separate theme to the panel.
You might also want to disable:
LXQt Appearance Configuration →
Icons Theme →
Colorize icons based on widget style (palette)</source>
I developed a plugin for LXQt panel. It embedded an external Python-GTK program in QWidget. I want to keep its background the same as the panel, so I need to redraw the background of that program.
Then I found that there is no direct way to get the background settings of the panel. I have to detect the current configuration file from the command line arguments, then find the required settings in that file and monitor file changes.
This method is not only troublesome, but also cannot guarantee that the configuration file format will not change in the future.
I hope there is a more direct way to get the styling of the panel and notify the changes of related options.
The text was updated successfully, but these errors were encountered: