gladexml and multiple windows

From: Date: Wed, 13 Nov 2002 15:15:35 +0000
Subject: gladexml and multiple windows
Groups: php.gtk.general php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2613@lists.php.net to get a copy of this message
Hello! I have a question: in wGlade I've made GUI with 2 windows: first main window with button "BROWSE" and second - FileSelectionDialog. How can access FileSelectionDialog inner widget (cancel button for example) properties (such as show/hide or destroy) from my script after I launch Gtk::main()? In the very begging I've made two .glade files: > main.glade - main window with "Browse" button > file.glade - fileselectiondialog and my script was looking like this: > function on_BT_src_clicked() { > $sd = &new GladeXML('gui/file.glade'); > $sd->signal_autoconnect(); > } > // initialize Glade interface > $main = &new GladeXML('gui/main.glade'); > $main->signal_autoconnect(); > Gtk::main(); and in fileselectiondialog widget there is cancel button and I don't know how to write hadler to it for destroing fileselectiondialog widget. Anyone can help me? -- Best regards, Alexander Kuznetsov

« previous php.gtk.general (#2613) next »