Re: overriding rubber band selection color



Thanks for the response but css file method is not very suitable for my
purpose. I need a more dynamic solution.

In the meantime, I found out that the situation is not different with
pure Gtk+. So it is not Gtkmm's fault, if at all. I have created a bug
report about the issue:
https://bugzilla.gnome.org/show_bug.cgi?id=678352

Regards,

Ahmet

On Pzt, 2012-06-18 at 08:39 +0200, Giuseppe Penone wrote:
> Hi,
> I think you have to go through the css for this and override the theme
> properties you are using.
> I made this way for a button background:
> http://stackoverflow.com/questions/8952679/gtkmm-3-button-background-color-change
> Note I did insert the answer in the question detailing how to include
> a css with the overridden property.
> Cheers.
> 
> 
> 
> On Sun, Jun 17, 2012 at 8:09 PM, ahmet öztürk <bilheps gmail com>
> wrote:
>         Hi everybody,
>         
>         I have recently upgraded the diary program that I have been
>         working on
>         for quite a few years (http://lifeograph.wikidot.com/) to
>         gtkmm 3. The
>         process was fairly straightforward. After making several
>         adjustments
>         here and there, now the program is almost as good as it has
>         ever been.
>         But, for the following issue I've failed to find any solution
>         on
>         Internet:
>         
>         I used to change background color of an IconView using
>         modify_bg. Now I
>         have switched to override_background_color() with
>         STATE_FLAG_NORMAL
>         flag. However, the new function also modifies background color
>         (and
>         opacity) of the rubber band selection rectangle. Is it
>         possible to
>         change the background color without touching the rubber band
>         color or to
>         modify the rubber band color itself?
>         
>         Thanks in advance,
>         
>         Ahmet
>         
>         _______________________________________________
>         gtkmm-list mailing list
>         gtkmm-list gnome org
>         https://mail.gnome.org/mailman/listinfo/gtkmm-list
> 




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