Re: Enabling drag destination
- From: Florian Max <florian muellner gmail com>
- To: Chris Vine <chris cvine freeserve co uk>
- Cc: Chris Vine <javascript-list-bounces gnome org>, javascript-list gnome org
- Subject: Re: Enabling drag destination
- Date: Tue, 22 Nov 2011 14:44:55 +0100
On Tue, Nov 22, 2011 at 1:22 PM, Chris Vine
<chris cvine freeserve co uk> wrote:
I did check this out before posting and with
gobject-introspection-1.30.0 it doesn't work for the same reason that
constructing a Gtk.TargetEntry object doesn't work, namely that this;
var targets = new Gtk.TargetList();
generates this error in gjs:
Unable to construct boxed type TargetList since it has no zero-args
<constructor>, can only wrap an existing one"
You should be able to work around this by doing
var targets = Gtk.TargetList.new(entries);
Florian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]