Hello Is there a way to obtain pointer to any gtkwidget from other application I click on some window and i want to receive pointer to this clicked object
I know how i can do it in xlib, from window id in xlib i can receive gdkwindow But i dont know how to get gtkwidget from gdkwindow or xid:/ What i have to do is check what is type name of clicked window, for example If i clicked edit control i should receive GtkEntry, if i clicked button control I should receive GtkButton, i use for this g_type_name(GTK_WIDGET_TYPE(pWidget)) But i dont have this pointer pWidget:/ for controls in my window is simple to get widget object But from other app i dont have idea how can i do it:/ Maybe i can distinguish types of object in xlib or gdk???? I want to have unique Indetifier of object type, that i can obtain if user click frame or edit or button etc Thanks for any help\ michal _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list