Re: GTK equivalent to exit() function in callback
- From: Joakim Majander <joakim majander luukku com>
- To: vijayasarathy setsindia net, gtk-app-devel-list gnome org
- Subject: Re: GTK equivalent to exit() function in callback
- Date: Mon, 14 Jan 2008 13:21:20 +0200 (EET)
vijayasarathy setsindia net kirjoitti 14.01.2008 kello 12:53:
Hi all,
How do I exit from callback function at my discretion[instead of
quitting
by reaching end of callback function].
By "return", "return FALSE" or "return TRUE" depending on what kind of callback you are talking about and
what you want to happen next. "return TRUE" means there is an error and possibly has an effect on the program
flow.
You should probably study a bit of C basics before going deeper into gtk, which is quite hard to master
without basic C knowledge, which certainly include "return".
Joakim
...................................................................
Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]