I was able to get/set text from input fields in Win32 another application windows by traversing the windows using FindWinodwEx, finding the field, and then using SendMessage to send WM_GETTEXT/WM_SETTEXT to set/get text from that input field. This works great as long as I am working with Win32 windows of course. However, Gtk+ application only return the title of the window (this is because it is not possible to return the window's internal component using Win32 API since it is written using Gtk+ API).
So is there a low-level API in Gtk+ that is similar to the Win32 that I used to traverse the components of a window and get/set text in that window.
Thank you.