Doubt
- From: Rúben Rodrigues <ruben_gr live com pt>
- To: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Doubt
- Date: Thu, 20 Apr 2017 10:03:55 +0000
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;
xTempToggle.series = pxLogView_TempSensors[iProbe].series;
g_signal_connect((GObject *)pxLogView_TempSensors[iProbe].cButton, "toggled", (GCallback)series_toggled,
&xTempToggle);
Someone could help me? Why it give always xTempToggle null in series_toggled callback function?
--
Rúben Rodrigues
AUTOFRAN, Lda
www.autofran.net<http://www.autofran.net>
[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
Sem vírus.
www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]