Re: Drag_dest_set



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>


-- 
http://exolucere.ca


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]