Re: how to stop a function blocking my app?
- From: Paul Davis <pbd Op Net>
- To: Ronald Bultje <rbultje ronald bitfreak net>
- Cc: gtk-list gnome org
- Subject: Re: how to stop a function blocking my app?
- Date: Wed, 07 Feb 2001 13:47:00 -0500
>if a button is pressed, the function connected to it will block the
>function until it is completed. Is there any way to prevent this? I'd need
>to keep control over the application while the process called by the button
>click is running.
you need to run the button function in its own thread. see the GTK+
FAQ for more ideas on how to do this. this is one of the most standard
problems in GUI programming.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]