Re: How to run during "idle" in the main loop ?
- From: Armin Burgmeier <armin arbur net>
- To: Han <keepsimple gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to run during "idle" in the main loop ?
- Date: Sun, 28 Sep 2008 11:09:55 +0200
On Sat, 2008-09-27 at 21:56 -0700, Han wrote:
Hi,
I am writing a new app using GTK+, but I am new to GTK+. I have a
question: how do I execute code during the "idle" state of a window
or dialog?
I understand I can use g_signal_connect to run some code for certain
signals & events, but how about "idle" ? particularly, I wanted to
run something in the dialog main loop after a dialog is shown, but
before any OK/cancel button is clicked.
Maybe you can also use the "show" signal of the dialog for this.
Armin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]