GNOME Bugzilla – Bug 608153
[csw] to-embedder and from-embedder signals are bad for language bindings
Last modified: 2018-02-10 04:33:01 UTC
The GdkWindow::to-embedder [1] and GdkWindow::from-embedder [2] are impossible to bind for PyGTK to bind because they require returning two values via gpointers. Possible solutions are discussed on bug 607393. It is regretful that a new boxed type was not created to hold the gdouble x,y variables and then the result returned via this. [1] http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#GdkWindow-to-embedder [2] http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#GdkWindow-from-embedder
Clarification, the new type does not need to be "boxed type", it can remain a pointer, just not a G_TYPE_POINTER, a subtype: http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#g-pointer-type-register-static
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue for it.