Re: Signals in gtk



It can be something like  this also I guess ...
keep a signal for closing the application , In the callback check
if the application is not not saved state .. then emit the save signal.
You can see source of application like gedit etc and find
out how to do it..

regds
satya

lalitp tvm tcs co in wrote:

>
> Hello Everybody
>
> This is my first mail to this list. I have a query.
>
> I want to connect two callbacks to a widget and ensure that the second
> one gets called only after the first one has finished executing. For
> example, in a notepad like application, if there is some text in the
> text area and I want to quit the application, then it should first
> allow me to save the text, before closing. Any ideas?
>
> Lalitha Prasad
>
>
> _______________________________________________ gtk-list mailing list
> gtk-list gnome org http://mail.gnome.org/mailman/listinfo/gtk-list




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