Window-to-Window Communication in a Glade Project
One thing that will come up very quickly in a project of any size is the need to get data from one widget and move it to another widget. If both of the target widgets are in the same top-level window, this is easy to do with the standard call for the type of widget you are referencing. However, as you shall see, when the widgets containing the data are in two different top-level forms, getting and placing data can be more difficult. Fortunately, Glade includes a mechanism for handling situations such as these: the lookup_widget() function found in the support.c file.
Getting Cross-Window Widgets to Communicate
The problem is essentially one of scope. According to the way Glade creates functions, ...