I'm working on a GUI test automation project and I need to be able to get the caption or titlebar text of a window that I did not create, and indeed may not even be a window created by a managed code framework. On the Windows platform, I'd call the GetWindowText API. However, that API obviously doesn't exist on other operating systems. Absent a platform-independent way to accomplish this (and searches have been remarkably fruitless to find one), is there anything in the gtk# framework that might help me? I've thought about possibly using p/invoke to call the X11 API directly, but that seems awfully low-level. Any suggestions? -- View this message in context: http://www.nabble.com/P-invoke-to-get-window-text-tp25006934p25006934.html Sent from the Mono - Gtk# mailing list archive at Nabble.com.
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
