Re: Quitting an application
- From: Andreas Stricker <andreas stricker fela ch>
- To: gtk-app-devel-list gnome org
- Subject: Re: Quitting an application
- Date: Mon, 31 Mar 2008 15:18:14 +0200
Sujith wrote:
1 * Init various GUI elements including the track treeview.
2 * Read the DB and append elements to the treeview.
3 * call gtk_main() and wait for events.
What about:
1. Init various GUI elements including the track treeview.
2. Install a g_idle callback.
3. call gtk_main() and wait for events.
4. Read the DB and append elements to the treeview. (split
DB read loop in subsequent g_idle iterations)
5. remove g_idle source when finished.
Cheers, Andy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]