understanding GtkRGBA
- From: Rudra Banerjee <bnrj rudra yahoo com>
- To: gtk devel <gtk-app-devel-list gnome org>
- Subject: understanding GtkRGBA
- Date: Thu, 11 Oct 2012 11:14:00 +0100
Dear friends,
though this might be Fedora(or gnome shell theme Adwaita) specific
problem, I cannot get color from:
GdkColor colorRed2 = {0x0000, 65535, 29555, 24158};
gtk_widget_modify_bg(button, GTK_STATE_NORMAL, &colorRed2);
So, I am trying to use:
gtk_widget_override_background_color (Hbutton, GTK_STATE_NORMAL,
GdkRGBA(0,0,0,1.));
ofcourse, this is not the way to use RGBA.
What is the correct way of using it?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]