Re: very confused: "selection_received" signal
- From: Owen Taylor <otaylor redhat com>
- To: gtk-list redhat com
- Subject: Re: very confused: "selection_received" signal
- Date: 08 Oct 1998 00:47:02 -0400
beach@ataman.com writes:
> 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?
Looks like a 1.0.x bug that has been fixed in the 1.1.x branch.
"selection_received" parameters as in the tutorial, but the
signal is created with incorrect type information.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]