[pygtk] porting gtk2 to gtk3

Giuseppe Penone giuspen at gmail.com
Tue Jun 28 03:29:15 WST 2011


I looked there too but what I need has the mark introspectable="0"
that, as described in http://live.gnome.org/PyGObject/IntrospectionPorting
means Non-introspectable functions/methods.

The problem is that there's not a solution for this.

There's an example

For example, Gtk.Menu.popup() is not introspectable in GTK, but the GTK
override implements this method in terms of Gtk.Menu.popup_for_device()

but I searched for similar functions printing dir(Gdk), dir(Gdk.Window) and
everything possible but I found nothing.




On Mon, Jun 27, 2011 at 18:44, Tomeu Vizoso <tomeu at sugarlabs.org> wrote:

> Hi,
>
> On Sat, Jun 25, 2011 at 22:45, Giuseppe Penone <giuspen at gmail.com> wrote:
> > Hi,
> >
> > I'm trying to understand what's the pygi code for:
> > gdk_x11_window_foreign_new_for_display ()
> > and
> > gdk_x11_window_lookup_for_display ()
> > but cannot find a working solution.
>
> I would try looking up the C symbol in GdkX11-3.0.gir.
>
> Regards,
>
> Tomeu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110627/9c0b88d0/attachment.html>


More information about the pygtk mailing list