Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> Php-gtk Destroy Window, Destroying windows in PHP-GTK
post Jan 9 2005, 04:37 PM
Post #1

Its GNU/

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165

OK, I have a small PHP-GTK App that creates a new window when a button is clicked. When another button is clicked, I want that window to go away. However, I cant find a fucntion to do it...

I tried

$window -> close();

and also

$window -> destroy();

I dont want to use gtk::main_quit(); because that will kill the whole thing. Any ideas?


Fixed your problem? Let us know! Online Event Management
Go to the top of the page
+Quote Post
Start new topic
Replies (1 - 1)
post Jan 10 2005, 07:10 AM
Post #2

RMS is my Hero

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29

Never tried PHP-GTK,but within the callback of second button,you should get the parent of the button(Which is the window,you want to destroy) and try using close();

Hemant Kumar
user posted image
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 17th March 2018 - 11:36 AM