Re: I need access to all top-level windows.



On Thu, 26 Jul 2001, Brian Cameron wrote:

>
> Gtk Experts:
>
> The ATK needs access to pointers of all top-level windows of
> the running process.  By top-level window I mean any window
> that is being managed by the window manager (including pop-ups,
> dialogs, etc.).
>
> I believe that all such top-level windows must be a GtkWindow
> (or inherit from GtkWindow), so perhaps I am just needing
> pointers to all GObjects that are instances of GtkWindow?
>
> Furthermore I need to be able to receive some sort of notification
> via signal, property, or something when a top-level window is
> added or removed.
>
> What is the best way to do this?

Maybe the gtk_window_list_toplevels() function would do what you want?

James.

-- 
Email: james daa com au
WWW:   http://www.daa.com.au/~james/






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]