[9092] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] very confused: "selection_received" signal

daemon@ATHENA.MIT.EDU (beach@ataman.com)
Wed Oct 7 19:02:02 1998

Date: Wed, 7 Oct 1998 16:52:02 -0600
From: beach@ataman.com
To: Gtk-List <gtk-list@redhat.com>
Mail-Followup-To: Gtk-List <gtk-list@redhat.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


I took a look at "21. Managine Selections" from the Gtk tutorial.

From reading the C code in the tutorial, it appears that the signal,
"selection_received" is supposed to provide a GtkSelectionData
argument to its selection handler.  But when I run this through a
marshaller, it appears to give a GTK_TYPE_BOXED -- and when I call
gtk_type_name on the argument's type, I get "GdkEvent".  Why is this
happening?  What is the correct way to determine that I'm getting a
GtkSelectionData argument?  What's the right way to marshal it?

-- 
David J. C. Beach <beach@ataman.com>
Ataman Software, Inc.

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post