Re: Drag_dest_set
- From: John Ralls <jralls ceridwen us>
- To: Robert Park <rbpark exolucere ca>
- Cc: python-hackers-list gnome org
- Subject: Re: Drag_dest_set
- Date: Tue, 10 Jul 2012 09:23:03 +0100
On Jul 8, 2012, at 1:20 AM, Robert Park wrote:
> On Fri, Jul 6, 2012 at 4:52 PM, John Ralls <jralls ceridwen us> wrote:
>> WTF? Button and Label are both descendants of GtkWidget, which, according to the PyGObject tutorial [0] is supposed
>> to implement drag_dest_set(). The example in the tutorial also fails with this error.
>
> Something's wrong with your setup:
>
> $ python
> Python 2.7.3 (default, Apr 30 2012, 21:18:11)
> [GCC 4.7.0 20120416 (Red Hat 4.7.0-2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from gi.repository import Gtk
>>>> Gtk.Button.drag_dest_set
> <unbound method Button.drag_dest_set>
>
Well, yes, but what?
I don't think that it's the *version* of a dependency, since everything Gnome is built from git master within the last couple of days. It's not a recent change, either, since a version built against gtk+-3.4.3 & glib-2.33.2 shows the same problem.
Poking at it a bit more, the function seems not to be attached to an object hierarchy:
>>> Gtk.drag_dest_set
<function drag_dest_set at 0x1101862a8>
so more likely something is going wrong during introspection scanning.
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]