Re: Using Glade with PHP-GTK
| From: | Sky | Date: | Sun, 16 Nov 2003 16:50:25 +0000 |
| Subject: | Re: Using Glade with PHP-GTK | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4157@lists.php.net to get a copy of this message | ||
use ${your window object}->destroy();
"Matt Palermo" <mpalermo@vt.edu> wrote in message
news:000201c3ac3e$82a13a60$11eed4cc@hulk...
Okay, I actually having working to the point where I can open the
program that I created in Glade now. But I am having trouble closing a
window when a button is click. The mail_app window has a menu bar and
when you click an item in it, it will open another window called
settins_window. I settings_window, I have a cancel button called
settings_cancel. I would like to set it so that when you press the
cancel button it will close the settings_window and return to the
main_app window. Here is the function that I have for it which doesn't
work:
function on_settings_cancel_clicked()
{
delete_event();
}
Anyone know why this isn't working to close the current window? Please
let me know if you do.
Thanks,
Matt