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 = Gtk.Button() >>> button.drag_dest_set() Traceback (most recent call last

Re: Gdk Backend Detection

2012-07-06 Thread John Ralls
On Jul 3, 2012, at 9:40 AM, Tomeu Vizoso wrote: > On Mon, Jul 2, 2012 at 6:25 PM, John Ralls wrote: >> How does one do this in pygobject? >> Pygtk exposed the GDK_WINDOWING_FOO macros as a Gdk.Windowing constant; Gtk3 >> in C defines both those macros for compile time and GDK_IS_FOO_DISPLAY >>