From: Alec B. <wry...@gm...> - 2007-01-18 13:01:59
|
Nevermind, it works perfectly. I had the call to teh child window wrong. It should have been: self.viewerWindow.ShowFullScreen(True) On 1/18/07, Alec Bennett <wry...@gm...> wrote: > I'm trying to open a child window as fullscreen on monitor 2. I'm able > to launch a child window on monitor 2, and I'm able to go fullscreen > on monitor 1, but not fullscreen on monitor 2. > > Here's the code I'm using to launch a child window on monitor 2: > > import minimal > self.viewerWindow = model.childWindow(self, minimal.Minimal) > > # 0 is monitor one, 1 is monitor two > display = wx.Display(1) > geometry = display.GetGeometry() > > w, h = geometry.GetSize() > self.viewerWindow.size = (w, h) > > x = geometry[0] > y = geometry[1] > self.viewerWindow.position = (x, y) > > > Adding this line makes it go fullscreen, but only on monitor 1: > > self.ShowFullScreen(True) > > Does anyone have any tricks to make it go fullscreen on monitor 2? > |