CheckButton background color

2017-04-21 Thread Rúben Rodrigues
Hi, Someone knows how to change gtkcheckbutton background and size in CSS? i tried this: Checkbutton CSS for Red: GtkCheckButton .check { background: red; color: white; min-width: 8px; min-height: 8px; border-width: 0px; } and checkbutton check { background: red; color: white;

Update Gtk+3.0

2017-04-21 Thread Rúben Rodrigues
Hi guys, I'm in trouble with gtk version i think. When i run pkg-config --modversion gtk+-3.0 in my Raspberry Pi that is running Raspbian OS, i get 3.14.5 version. If i try to update with sudo apt-get update and sudo apt-get upgrade, i have the same version. How i can update to gtk+-3.20 versi

Re: Doubt

2017-04-21 Thread Emmanuele Bassi
On 20 April 2017 at 11:03, Rúben Rodrigues wrote: > Hi guys, > > i have a problem with callback functions. I have a struct in parameter but > always give null values. Here is an example: > > > struct pxToggleData{ > LineChartSeries *series; > LineChart *chart; > GtkWidget *canvas; > }

Doubt

2017-04-21 Thread Rúben Rodrigues
Hi guys, i have a problem with callback functions. I have a struct in parameter but always give null values. Here is an example: struct pxToggleData{ LineChartSeries *series; LineChart *chart; GtkWidget *canvas; }; xTempToggle.canvas = canvas; xTempToggle.chart = chart; xTempToggl