Gtk3::TargetEntry



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

Attachment: signature.asc
Description: OpenPGP digital signature



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