Python pointers in python-gi ?



This email is thoroughly explained by :

https://stackoverflow.com/questions/49213440/how-does-one-call-gdk-frame-clock-get-refresh-info-from-python


As far as I can tell, when python-gi passes in a variable to a C function which uses pointers, the Python program segfaults. The exact same problem happens when using GtkSpinbutton input/output signals. What would be required to fix or workaround this?

Thanks, Reuben



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]