Re: Nesting gtk_main ?
- From: jcupitt gmail com
- To: Siddu <siddu sjce gmail com>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: Nesting gtk_main ?
- Date: Sat, 30 Jan 2010 21:30:56 +0000
On 30 January 2010 18:48, Siddu <siddu sjce gmail com> wrote:
>> Modal dialog boxes etc.
>
> Yes thats right ! but later gtk_main blocks the former which is not what i
> want
>
> Assuming i have two different windows window1 and window2
>
> can the events or signals on each of them be processed concurrently with two
> gtk_main( one for window1 and other for window2) being isolated under their
> own GMainContexts (maybe in two threads) ?
A single gtk_main will run multiple independent windows. You only need
to nest them if you want a modal dialog.
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]