Window tree

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

 



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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux