Window tree
- From: KC <kcc1967 gmail com>
- To: gtk-list <gtk-list gnome org>
- Subject: Window tree
- Date: Mon, 21 Mar 2005 15:34:05 +0800
Hi,
How can I get the Window tree of X from root window by using Gtk or Gdk ?
I tried gtk_window_list_toplevels() but the following example will
return NULL list:
int main(int argc, char *argv[])
{
GList *list = NULL;
gtk_init(&argc, &argv);
list = gtk_window_list_toplevels();
if (!list) {
printf("NULL List\n");
} else {
do something ...
}
exit(0);
}
Thanks
KC
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]