Hi there, Glade seem VERY cool, but I'm having trouble figuring out how to use the object oriented code that it spits out (specifically glade-perl): I have a bit of experience with non-OO gtk and gtk-perl. Here's the scenario: I have a main window that needs to collect a bunch of user-input data from some other windows, and when that's done, to kill the other windows before it dies. In a glade-produced app, how can one window access another's data (eg user input) without the hassle of storing each bit of data in global variables ? Surely this communication between objects is a very common thing to want to do, but I can't find any mention of it on the web !! I tried cheating by storing whole windows in global variables, but doesn't this defeat the purpose of having each window as a seperate class object ? Also, after the main window kills all the other windows (using the global window variables) something must be wrong because the windows disappear BUT the whole program no longer dies when the main window calls Gtk -> main_quit (there are no visible windows left, but perl is still running). I'm confused! What is the difference between a window dying in response to one of its own buttons being clicked, say, and calling the same function (through a global window variable) in response to an event in a different window ? Maybe my global windows are really just *copies* of the original windows ? (but the original ones do disappear when I try to kill them in this way, so I think they can't be copies...) Any help much appreciated, Thanks, Hilary _______________________________________________ Glade-devel maillist - [EMAIL PROTECTED] http://lists.helixcode.com/mailman/listinfo/glade-devel
