On 8/13/07, Pierre Amadio <[EMAIL PROTECTED]> 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!
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers