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

Re: Top Level Windows



Hi,

In fact, I am writing some kind of tasklist app. So I want to get all the
Top Level Windows that are currently in my desktop.
What kind of methods can I use?

Michael

----- Original Message -----
From: Emmanuel DELOGET <logout@free.fr>
To: <gtk-app-devel-list@redhat.com>
Sent: Monday, October 25, 1999 10:01 PM
Subject: Re: Top Level Windows


> > Hi all,
> >
> > Q1.
> > How can I get all the top level windows using GTK or GDK. I've found the
> > function
> > gdk_window_get_toplevels();, can I use it?
>
>     If you want to get the top window of a widget, simpley use
>     gtk_widget_get_toplevel();
>     If you want to get all the ancestors of a widget, you
>     should use gtk_widget_get_ancestor(). Have a look at
>     the FAQ #5.5 on gtk.org/faq
>
> >
> > Michael
>
>     Yours,
>
> Emmanuel
>
>
> --
>          To unsubscribe: mail gtk-app-devel-list-request@redhat.com with
>                        "unsubscribe" as the Subject.
>
> Mailing list concerns should be mailed to <listmaster@redhat.com>
>



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