denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shortcuts text colour and Command Center window problems on Puppy Li


From: Richard Shann
Subject: Re: Shortcuts text colour and Command Center window problems on Puppy Linux
Date: Mon, 02 Mar 2020 12:48:05 +0000

On Mon, 2020-03-02 at 14:18 +0200, Lib Lists wrote:
> On Mon, 2 Mar 2020 at 12:08, Richard Shann <address@hidden>
> wrote:
> > 
> > On Sat, 2020-02-29 at 19:51 +0200, Lib Lists wrote:
> > > 
> > 
> > [...]
> > > > > > The color of the keyboard shortcuts is hard wired,
> > > > > > unfortunately,
> > > > > > and I
> > > > > > see from your picture that it doesn't work well with themes
> > > > > > that
> > > > > > use a
> > > > > > dark background with light colored lettering. The menu
> > > > > > background
> > > > > > color
> > > > > > and the color of the labels in the menus is not hard-wired
> > > > > > by
> > > > > > Denemo
> > > > > > however, so theming should work for them. I've not explored
> > > > > > how
> > > > > > themes
> > > > > > can be chosen under Gtk though so I can't really go beyond
> > > > > > saying
> > > > > > it
> > > > > > should work :( Do other Gtk-based applications change
> > > > > > appropriately
> > > > > > on
> > > > > > that virtual machine?
> > > > > 
> > > > > Hi, just tested with Abiword
> > > > 
> > > > is that a Gtk based program (or Qt for example)?
> > > 
> > > Yes it's a Gtk program.
> > 
> > and the background color of pop-up menus in Abiword changes when
> > you
> > change theme but does not in Denemo?
> 
> Sorry my mistake, Abiword behaves like Denemo i.e. only the title bar
> changes, while the menus don't. However, Gnumeric works well. After
> some research it seems that the installed version of Abiword is a
> Gtk3
> program, while Gnumeric (version 1.10.17) is a Gtk2 program.

You can build Denemo against Gtk2 but there are some features that are
not so good. IIRC Gtk3 has switched to using cascading style sheets (or
some such terminology) where you can specify the style of things at an
extremely granular level - Denemo is exploiting this internally, e.g.
to paint the background of the frames differently for the different
types of Denemo Directive in the Score/Movement/Staff/etc editors.
Ideally this would be done by providing a style sheet with Denemo that
the user could then adjust, but, as I say, I haven't delved so deeply
into how that would work.
I think the installed Gtk3 libraries that you have will include a
variety of styles and something to specify the default, so, short of
finding a Gtk3 theme chooser program you could directly alter that
default (probably by putting the choice in some .config file in your
home directory).

HTH

Richard






reply via email to

[Prev in Thread] Current Thread [Next in Thread]