Re: Exiting Program...

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

 



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@xxxxxxxxx
> http://mail.gnome.org/mailman/listinfo/gtk-list
-- 
Chee Bin HOH (cbhoh@xxxxxxxxx)

"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

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux