Re: I need access to all top-level windows.
- From: Havoc Pennington <hp redhat com>
- To: Brian Cameron <Brian Cameron sun com>
- Cc: james daa com au, gtk-devel-list gnome org
- Subject: Re: I need access to all top-level windows.
- Date: 26 Jul 2001 12:40:22 -0400
Brian Cameron <Brian Cameron sun com> writes:
>
> Just knowing when new windows come on screen is fine. How do you
> set up an emission hook on GtkWindow? I'm familiar with listening
> for signals/property changes for objects that I have a pointer
> handle to, but this is a situation where I need to know when
> GtkWindows are displayed on the screen without having access
> to the GtkWindow pointers.
>
If you poke around in the archives for my "audit module" code it has
an example IIRC.
Basically g_signal_add_emission_hook(), then GTK_IS_WINDOW on the
emitting object.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]