Re: Drag_dest_set

2012-07-10 Thread John Ralls
On Jul 8, 2012, at 1:20 AM, Robert Park wrote: > On Fri, Jul 6, 2012 at 4:52 PM, John Ralls 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 th

Re: Drag_dest_set

2012-07-10 Thread John Ralls
On Jul 8, 2012, at 1:20 AM, Robert Park wrote: > On Fri, Jul 6, 2012 at 4:52 PM, John Ralls 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 th

Re: Drag_dest_set

2012-07-07 Thread Robert Park
On Fri, Jul 6, 2012 at 4:52 PM, John Ralls 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 wron

Re: Drag_dest_set

2012-07-07 Thread Sebastian Pölsterl
Am 06.07.2012 23:52, schrieb John Ralls: >>>> from gi.repository import Gtk >>>> label = Gtk.Label() >>>> label.drag_dest_set(0, [], 0) > Traceback (most recent call last): > File "", line 1, in > AttributeError: 'Label'

Drag_dest_set

2012-07-06 Thread John Ralls
>>> from gi.repository import Gtk >>> label = Gtk.Label() >>> label.drag_dest_set(0, [], 0) Traceback (most recent call last): File "", line 1, in AttributeError: 'Label' object has no attribute 'drag_dest_set' >>> button = G