On Thu, 2016-08-18 at 22:21 +0200, rastersoft wrote:
> Hi all:
>
> Gtk.Widget.override_background is deprecated. How should I replace it? I
> read something about CSS, but not sure how to do it...
>
Yes, the effort is large unfortunately.
Maybe you can continue using the deprecated functions.
Some months ago I wrote a small color test tool in Nim:
https://github.com/ngtk3/nim-gtk3/blob/master/test/colors.nim
I think I found some basic code snippets at stackoverflow.
The
styleContextAddProviderForScreen()
function can really frighten one. But I think that is really the
intended way.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list