Passing reference or binary data via drag&drop/clipboard?
- From: Peter Daum <gator_ml yahoo de>
- To: gtk-perl-list gnome org
- Subject: Passing reference or binary data via drag&drop/clipboard?
- Date: Thu, 09 Jul 2009 13:52:23 +0200
Hi,
is there any direct way to pass a reference via drag and drop?
My attempts always result in "stringified" data like HASH(0xabcd).
I suspect this might have something to do with the parameters
"type" and "format" of Gtk2::SelectionData::set.
The documentation only says:
$selection_data->set ($type, $format, $data)
* $type (Gtk2::Gdk::Atom)
* $format (integer)
* $data (Glib::UChar)
without specifying which values for $type and $format are possible.
I came up with workarounds using global variables or Storable::freeze,
but still would like to know if there is a better way ...
Regards,
Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]