Re: Window focus



muppet wrote:


On Oct 5, 2005, at 9:50 PM, Daniel Kasak wrote:

I've got a main menu with a list of buttons that open up other  windows.
When a button is clicked, I check to see if the window already exists before creating one. Now, if the window *does* already exist, how do I bring it to the front?


$window->present()

http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#id3213536

Thanks muppet :)

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak nusconsulting com au
website: http://www.nusconsulting.com.au



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]