Re: ‘gtk_widget_override_background_color’ is deprecated
- From: Stefan Salewski <mail ssalewski de>
- To: rastersoft <raster rastersoft com>, gtk-app-devel-list list <gtk-app-devel-list gnome org>
- Subject: Re: ‘gtk_widget_override_background_color’ is deprecated
- Date: Thu, 18 Aug 2016 23:02:07 +0200
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]