I'm developing an application using 2.4.2.4 (GDK/GTK 1.2.10) that needs the ability to create a "control" window on one X11 display and then create subsequent windows on different screens with the same X11 display (e.g. control window on host:0.0 and subsequent windows on host:0.1, host:0.2, etc..). Is this possible with the version of wxPython/GTK I'm using (even if requires a hack?) From my understanding, GTK 2.2 and beyond supports this kind of thing but I'm not sure if wxPython has caught up with this support. Looking through the underlying wxWidgets source I can see it's supported for the Motif and X11 ports via the "SetDisplay" function and (apparently) not for the GTK port. Am I asking for the impossible or is there some work-around I can try?
Upgrading to wxPython 2.5.X (unfortunately) isn't an option for me at this time. Suggestions are welcome.
Thanks...
Schmottlach, Glenn E. wrote:
I'm developing an application using 2.4.2.4 (GDK/GTK 1.2.10) that needs the ability to create a "control" window on one X11 display and then create subsequent windows on different screens with the same X11 display (e.g. control window on host:0.0 and subsequent windows on host:0.1, host:0.2, etc..). Is this possible with the version of wxPython/GTK I'm using (even if requires a hack?) From my understanding, GTK 2.2 and beyond supports this kind of thing but I'm not sure if wxPython has caught up with this support. Looking through the underlying wxWidgets source I can see it's supported for the Motif and X11 ports via the "SetDisplay" function and (apparently) not for the GTK port. Am I asking for the impossible or is there some work-around I can try?
Upgrading to wxPython 2.5.X (unfortunately) isn't an option for me at this time. Suggestions are welcome.
Thanks...
As far as I remember wx 2.4 doesn't support enumerating displays. The way I got around this was just guessing the region the display should be in (assuming all the displays are the same size) and that worked on 2.4
David