Could not find gdk_property_change in PyGObject

What is the gdk_property_change binding in PyGobject? I tried Gdk.property_changed, Gdk.Property.change, etc. The Gdk.property_get function exists, and everything else works fine. My system: Ubuntu 12.10, Python 3.2.3, PyGObject 3.4.0, and Gtk 3.6.

+4
source share
1 answer

The method is annotated with (skip) , which means that it should not be included in language bindings. (See gdk_property_change source code).

Here is a commit in which unintrospectable constructs are marked as (skip) . The only explanation is that it is "non-introspective." Perhaps because the data parameter can be any of unsigned short * , unsigned char * or unsigned long * other than unsigned char * , and this was difficult to handle in language bindings.

+1
source

Source: https://habr.com/ru/post/1446768/


All Articles