Re: Python pointers in python-gi ?



On Sun, Mar 11, 2018 at 1:47 AM, Reuben Rissler <silrep emypeople net> wrote:
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?

The function is missing annotations for the last two parameters.
Please file a bug with pygobject or gtk.


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