Re: ‘gtk_widget_override_background_color’ is deprecated

2016-08-18 Thread Stefan Salewski
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


‘gtk_widget_override_background_color’ is deprecated

2016-08-18 Thread rastersoft
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...

Thanks.


-- 
Nos leemos
 RASTER(Linux user #228804)
ras...@rastersoft.com  http://www.rastersoft.com

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list