Gtk3::TargetEntry

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Gtk3::TargetEntry

Jeff
Hi all,

In migrating my Gtk2 application to Gtk3, I am struggling to find the
new name for the Gtk3::TargetFlags

This doesn't work:

    my $target_entry = Gtk3::TargetEntry->new(
        'Glib::Scalar',    # some string representing the drag type
        Gtk3::TARGET_SAME_WIDGET,     # Gtk3::TargetFlags
        $ID_PAGE,          # some app-defined integer identifier
    );

Looking at the source, I can replace Gtk3::TARGET_SAME_WIDGET with 2,
which works, but rather isn't the point.

Thanks for any help.

Regards

Jeff


_______________________________________________
gtk-perl-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

signature.asc (849 bytes) Download Attachment