wx.BusyInfo() and wx.lib.busy.BusyInfo()

Using wxpython 4.0.1 gtk2 on Linux (Mint 18.3)

Neither wx.BusyInfo not wx.lib.busy.BusyInfo display the busy text.

They both show just the grey busy window.

Does anyone know how to get the text to display or is a bug?

None of these options work:

wait = wx.BusyInfo(“Pre-Rolling media - please wait!”,self)

while self.media_get_state() != Gst.State.PAUSED:

time.sleep(0.1)

continue

del wait

wait = wx.lib.busy.BusyInfo(“Pre-Rolling media - Please wait!”)

while self.media_get_state() != Gst.State.PAUSED:

time.sleep(0.1)

continue

wait.Close()

with wx.lib.busy.BusyInfo(“Pre-Rolling media - Please wait!”):

while self.media_get_state() != Gst.State.PAUSED:

time.sleep(0.1)

continue

No worries, found the problem.

I was missing wx.GetApp().Yield()

···

On 16/02/18 17:41, rolfofsaxony wrote:

Using wxpython 4.0.1 gtk2 on Linux (Mint 18.3)
Neither wx.BusyInfo not wx.lib.busy.BusyInfo display the busy text.
They both show just the grey busy window.
Does anyone know how to get the text to display or is a bug?

None of these options work:

        wait = wx\.BusyInfo\("Pre\-Rolling media \- please wait\!",self\)
        while self\.media\_get\_state\(\) \!= Gst\.State\.PAUSED:
            time\.sleep\(0\.1\)
            continue
        del wait

        wait = wx\.lib\.busy\.BusyInfo\("Pre\-Rolling media \- Please

wait!")
while self.media_get_state() != Gst.State.PAUSED:
time.sleep(0.1)
continue
wait.Close()

        with wx\.lib\.busy\.BusyInfo\("Pre\-Rolling media \- Please wait\!"\):
            while self\.media\_get\_state\(\) \!= Gst\.State\.PAUSED:
                time\.sleep\(0\.1\)
                continue

--
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
<mailto:wxpython-users+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.