Re: Exiting Program...



On Thu, 2003-09-25 at 08:25, Jason Dempsey wrote:
> Ok, since gtk_exit () is depreciated. Whats another way my users can
> click 'Quit' and exit the program entirely?

Create a 'Quit' button and attach a callback function to the widget's
`clicked` event, inside the callback function, invoke gtk_main_quit to
return from the gtk main event loop.

regards,
HOH
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
-- 
Chee Bin HOH (cbhoh yahoo com)

"Where we're going, we don't need roads...", GNOME (http://www.gnome.org)

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html




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