Hi everyone
In my application, I create a GUIX event which must be handled by the event function of the "graph_window".
Each window contains several widgets. My problem is that I send, in a GUIX event, a pointer on a buffer to update the line chart. I tried several solutions, but even if the target is "graph_window" (by the ID or the &main_window.main_window_graph_window), the event is never received.
Here is my function to generate the event :
g_gx_event.gx_event_sender = 0;
g_gx_event.gx_event_target = &main_window.main_window_graph_window;
g_gx_event.gx_event_payload.gx_event_ulongdata = &(adc->adcData_ptr);
g_gx_event.gx_event_type = GX_EVENT_REDRAW;
status = gx_system_event_send (&g_gx_event);
The event is correctly created and sent.
I don't understand why the event function doesn't receive it. Any idea?
Best regards