On Sat, 2008-04-26 at 14:48 +0200, Johannes Schmid wrote:
> Hi!
> 
> Probably a silly question, but how can I savely store a pointer to an
> object in a Gtk::SelectionData. I guess I have to use
> 
> Gtk::SelectionData::set (int format, guint8* data, int length)
> 
> somehow but I cannot figure out how to store a pointer there in a
> portable and save way. I only want to use the SelectionData within one
> application (no cross application drag & drop).

GINT_TO_POINTER() and GPOINTER_TO_INT() might be useful.

-- 
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to