Features/GTK3/Shell: Difference between revisions
DanielDrake (talk | contribs) No edit summary |
DanielDrake (talk | contribs) No edit summary |
||
| Line 24: | Line 24: | ||
python-xklavier is based on pygtk codegen, we can probably just drop the link to pygtk, but failing that, we will need introspection bindings. | python-xklavier is based on pygtk codegen, we can probably just drop the link to pygtk, but failing that, we will need introspection bindings. | ||
=== gdk_property_get === | |||
Not working: | |||
<pre> | |||
def _property_get_trapped(window, prop, prop_type): | |||
Gdk.error_trap_push() | |||
prop_atom = Gdk.Atom.intern(prop, False) | |||
type_atom = Gdk.Atom.intern(prop_type, False) | |||
logging.warning("get prop %s %s %s", window, prop_atom, type_atom) | |||
prop_info = Gdk.property_get(window, prop_atom, type_atom, 0, 9999, False) | |||
</pre> | |||
TypeError: Could not caller allocate argument 6 of callable property_get | |||