Relative Content

Tag Archive for haskellgobjectgtk4

What exactly does the function objectGetProperty need in its third argument value “GValue”?

I am trying to compile the example from https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/blob/main/video/gtk4/examples/gtksink.py . I need to write it in Haskell and I’m currently stuck on the paintable = gtksink.get_property('paintable') function written in Python. I’ve searched around and found objectGetProperty from the Gi-GObject library which seems like the one that I need. However I can’t seem to get it to work because it asks me for a GValue of some kind in its third argument. I have tried to pass it a lot of stuff but nothing seems correct.