Re: Why GTK+ ignore, that someone want's to create own widget ?!
- From: infirit <infirit gmail com>
- To: Ondrej Tuma <konference webjet cz>, gtk-app-devel-list gnome org
- Subject: Re: Why GTK+ ignore, that someone want's to create own widget ?!
- Date: Tue, 13 Dec 2016 20:44:52 +0100
Op 12/13/2016 om 08:03 PM schreef Ondrej Tuma:
You are near. Application is Mind Map Architect. So I get / use system
colors by default to set map background, selected / normal nodes etc.
You probably will get what you want with gtk_style_context_get, so
something like below:
GdkRGBA *color;
gtk_style_context_get (GtkStyleContext, GtkStateFlags,
"background-color", &color, NULL);
<code>
gdk_rgba_free (color);
~infirit
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]