Re: Why GTK+ ignore, that someone want's to create own widget ?!
- From: Ondrej Tuma <konference webjet cz>
- To: infirit <infirit gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Why GTK+ ignore, that someone want's to create own widget ?!
- Date: Wed, 14 Dec 2016 07:52:54 +0100
Sure, right, that is what i need. Thank you so much.
V Tue, 13 Dec 2016 20:44:52 +0100
infirit <infirit gmail com> napsáno:
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
--
Ondřej Tůma <mcbig zeropage cz>
www: http://ipv6.mcbig.cz jabber: mcbig jabber cz twitter: mcbig_cz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]