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.

> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
Chee Bin HOH (cbhoh yahoo com)

"Where we're going, we don't need roads...", GNOME (

Please avoid sending me Word or PowerPoint attachments.

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