Re: instance pointer from EmissionHook?
- From: Tim Janik <timj gtk org>
- To: Richard Hestilow <hestilow ximian com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: instance pointer from EmissionHook?
- Date: Mon, 7 Jan 2002 20:33:33 +0100 (CET)
On 7 Jan 2002, Richard Hestilow wrote:
> I'm porting gnome sound events to gtk+2, and noticed that in an
> EmissionHook callback there doesn't seem to be any way to get a
> reference to the actual object that emitted the signal. Looking at
> gobject sources indicates that the pointer is known, just isn't
> accessible. Any ideas? This is pretty necessary for sound events,
> because there are some per-object things that need to be checked before
> playing anything.
g_value_get_object (param_values[0]);
>
> -- Richard
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]