[maemo-developers] How to keep window on top? (python)
From: Tony Maro tonymaro at gmail.comDate: Mon Aug 13 23:39:52 EEST 2007
- Previous message: How to keep window on top? (python)
- Next message: Java acceleration/Jazelle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 8/13/07, Pierre Amadio <pierre.amadio at laposte.net> wrote: > > Hi there. > > On Mon, Aug 13, 2007 at 11:46:38AM -0400, Tony Maro wrote: > > I've got a modal window I'm creating, and I've tried doing > > "set_transient_for" but no matter what I've done, it won't stay on top > of > > the base application window. You can easily pick the app window from > the > > taskbar and switch to it, even though it can't get input. > > I use something like: > > self.prefWindow=hildon.Window() > self.prefWindow.set_title("Preferences") > self.prefWindow.set_modal(True) > self.prefWindow.set_transient_for(self.mainWindow) > self.prefWindow.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG) > > Hopes it helps :) Exactly what I needed. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070813/62e18e9d/attachment.htm
- Previous message: How to keep window on top? (python)
- Next message: Java acceleration/Jazelle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]