Popup window over all other applications?

Hi,

I an writing a utility that inspects the clipboard every second, and as soon
as you copy something that resembles a phonenumber, offers to dial that number.

Can I guarantuee that a popup always comes up on top on MSW, OSX and GTK?

I know that this might be against UI guidelines, but my customer wants this.

Thanks,
Antonio

Hi Antonio,

···

On Apr 6, 3:15 am, Antonio Goméz Soto <antonio.gomez.s...@gmail.com> wrote:

Hi,

I an writing a utility that inspects the clipboard every second, and as soon
as you copy something that resembles a phonenumber, offers to dial that number.

Can I guarantuee that a popup always comes up on top on MSW, OSX and GTK?

I know that this might be against UI guidelines, but my customer wants this.

Thanks,
Antonio

I'd try using a wx.Dialog and use it's ShowModal() method. If that
doesn't work, there is a flag you can pass to a wx.Frame that will
probably work. You'll probably want to do something like this in the
frame's constructor:

style=wx.DEFAULT_FRAME_STYLE|wx.STAY_ON_TOP

HTH

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org