Re: Nesting gtk_main ?

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

 



On 1/30/2010 10:30 PM, jcupitt@xxxxxxxxx wrote:
On 30 January 2010 18:48, Siddu<siddu.sjce@xxxxxxxxx>  wrote:
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.

What should you do if you want to run two dialog boxes at the same time?

In electronics design, it is common to have two independent windows, one which shows the schematics and the other shows the circuit board. You don't want dialog boxes pertaining to one window to block the other.
--
Martin
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux