I am trying to use the widget inspection tool on a modal dialog box. I
call Show() on it before I call ShowModal - the inspection tool comes
up, but the GUI is non responsive. I guess this is because my dialog
box is modal. Is there a way I can use the inspection tool with a
modal dialog?
Hi Larry,
I am trying to use the widget inspection tool on a modal dialog box. I
call Show() on it before I call ShowModal - the inspection tool comes
up, but the GUI is non responsive. I guess this is because my dialog
box is modal. Is there a way I can use the inspection tool with a
modal dialog?
I always init the WIT in OnInit as shown on the wiki:
class MyApp(wx.App, wx.lib.mixins.inspection.InspectionMixin):
def OnInit(self):
self.Init() # initialize the inspection tool
Then start the dialog and hit 'ctrl-alt-i'.
Have to say that I have seen the WIT not being responsive but IIRC that is only with Phoenix.
Werner
···
On 8/12/2014 0:32, Larry Martell wrote:
If I do it like this, the WIT is unresponsive when the dialog box is
displayed - it works when the dialog box is not displayed. I changed the
ShowModal to a Show (just for testing), and then the WIT was responsive.
Thanks.
···
On Tue, Aug 12, 2014 at 2:18 AM, Werner <wernerfbd@gmx.ch> wrote:
Hi Larry,
On 8/12/2014 0:32, Larry Martell wrote:
I am trying to use the widget inspection tool on a modal dialog box. I
call Show() on it before I call ShowModal - the inspection tool comes
up, but the GUI is non responsive. I guess this is because my dialog
box is modal. Is there a way I can use the inspection tool with a
modal dialog?I always init the WIT in OnInit as shown on the wiki:
class MyApp(wx.App, wx.lib.mixins.inspection.InspectionMixin):
def OnInit(self):
self.Init() # initialize the inspection toolThen start the dialog and hit 'ctrl-alt-i'.
Have to say that I have seen the WIT not being responsive but IIRC that is
only with Phoenix.
What platform is this?
Werner
···
Hi Larry,
On 8/12/2014 21:35, Larry Martell wrote:
On Tue, Aug 12, 2014 at 2:18 AM,
Werner wernerfbd@gmx.ch
wrote:Hi
Larry,
On 8/12/2014 0:32, Larry Martell wrote:
I
am trying to use the widget inspection tool on a
modal dialog box. Icall Show() on it before I call ShowModal - the
inspection tool comes
up, but the GUI is non responsive. I guess this is
because my dialog
box is modal. Is there a way I can use the
inspection tool with a
modal dialog?
I always init the WIT in OnInit as shown on the wiki:
class MyApp(wx.App, wx.lib.mixins.inspection.InspectionMixin): def OnInit(self): self.Init() # initialize the inspection tool Then start the dialog and hit 'ctrl-alt-i'. Have to say that I have seen the WIT not being responsive
but IIRC that is only with Phoenix.
If I do it like this, the WIT is unresponsive when the
dialog box is displayed - it works when the dialog box is
not displayed. I changed the ShowModal to a Show (just
for testing), and then the WIT was responsive. Thanks.
CentOS 5.8, wxpython 2.8.9.1, python 2.5
···
On Tue, Aug 12, 2014 at 4:07 PM, Werner <wernerfbd@gmx.ch> wrote:
Hi Larry,
On 8/12/2014 21:35, Larry Martell wrote:
On Tue, Aug 12, 2014 at 2:18 AM, Werner <wernerfbd@gmx.ch> wrote:
Hi Larry,
On 8/12/2014 0:32, Larry Martell wrote:
I am trying to use the widget inspection tool on a modal dialog box. I
call Show() on it before I call ShowModal - the inspection tool comes
up, but the GUI is non responsive. I guess this is because my dialog
box is modal. Is there a way I can use the inspection tool with a
modal dialog?I always init the WIT in OnInit as shown on the wiki:
class MyApp(wx.App, wx.lib.mixins.inspection.InspectionMixin):
def OnInit(self):
self.Init() # initialize the inspection toolThen start the dialog and hit 'ctrl-alt-i'.
Have to say that I have seen the WIT not being responsive but IIRC that is
only with Phoenix.If I do it like this, the WIT is unresponsive when the dialog box is
displayed - it works when the dialog box is not displayed. I changed the
ShowModal to a Show (just for testing), and then the WIT was responsive.
Thanks.What platform is this?
So you had the modal open, then did ctrl-alt-i? Or did you have the WIT open first, then openend the modal?
···
On Tuesday, August 12, 2014 12:36:04 PM UTC-7, Larry....@gmail.com wrote:
On Tue, Aug 12, 2014 at 2:18 AM, Werner wern...@gmx.ch wrote:
Hi Larry,
On 8/12/2014 0:32, Larry Martell wrote:
I am trying to use the widget inspection tool on a modal dialog box. I
call Show() on it before I call ShowModal - the inspection tool comes
up, but the GUI is non responsive. I guess this is because my dialog
box is modal. Is there a way I can use the inspection tool with a
modal dialog?
I always init the WIT in OnInit as shown on the wiki:
class MyApp(wx.App, wx.lib.mixins.inspection.InspectionMixin):
def OnInit(self): self.Init() # initialize the inspection tool
Then start the dialog and hit ‘ctrl-alt-i’.
Have to say that I have seen the WIT not being responsive but IIRC that is only with Phoenix.
If I do it like this, the WIT is unresponsive when the dialog box is displayed - it works when the dialog box is not displayed. I changed the ShowModal to a Show (just for testing), and then the WIT was responsive. Thanks.
So you had the modal open, then did ctrl-alt-i? Or did you have the WIT open
first, then openend the modal?
Tried it both ways, got the same result. When the modal was up the WIT
was unresponsive.
···
On Tue, Aug 12, 2014 at 4:38 PM, Nathan McCorkle <nmz787@gmail.com> wrote:
On Tuesday, August 12, 2014 12:36:04 PM UTC-7, Larry....@gmail.com wrote:
On Tue, Aug 12, 2014 at 2:18 AM, Werner <wern...@gmx.ch> wrote:
Hi Larry,
On 8/12/2014 0:32, Larry Martell wrote:
I am trying to use the widget inspection tool on a modal dialog box. I
call Show() on it before I call ShowModal - the inspection tool comes
up, but the GUI is non responsive. I guess this is because my dialog
box is modal. Is there a way I can use the inspection tool with a
modal dialog?I always init the WIT in OnInit as shown on the wiki:
class MyApp(wx.App, wx.lib.mixins.inspection.InspectionMixin):
def OnInit(self):
self.Init() # initialize the inspection toolThen start the dialog and hit 'ctrl-alt-i'.
Have to say that I have seen the WIT not being responsive but IIRC that
is only with Phoenix.If I do it like this, the WIT is unresponsive when the dialog box is
displayed - it works when the dialog box is not displayed. I changed the
ShowModal to a Show (just for testing), and then the WIT was responsive.
Thanks.--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Larry,
...
If I do it like this, the WIT is unresponsive when the dialog box is
displayed - it works when the dialog box is not displayed. I changed the
ShowModal to a Show (just for testing), and then the WIT was responsive.
Thanks.What platform is this?
CentOS 5.8, wxpython 2.8.9.1, python 2.5
Just tried on Linux Mint 17 with 2.8.12.1 and 3.0 Phoenix and in both cases the WIT is unresponsive.
Maybe log/check an issue for that on the trac: http://trac.wxwidgets.org/
Werner
···
On 8/12/2014 22:11, Larry Martell wrote: