Focus on transient windows/dialogs.



Hi!

I've now spent the morning gleaning the web and GTK-documentation for
information about focusing windows, to no avail. Therefore, I'm hoping
for a share of the collective wisdom of gtk-list in solving my puzzle.

Essentially, I want to open transient dialog windows from other
windows of my application, such that the dialogs get focus and are
immediately ready for input by the user.

The dialogs are of the type search dialog, are you sure, confirm, etc.
I would also want them to open at some intuitive "central" location of
the screen so that they're immediately visible to the user.

I would be grateful for any input on how to do this, pointers to
relevant documentation, etc.

Thanks for your help!

/Daniel

-- 
Daniel Åborg  <tjost ctrl-c liu se>

"IllegalStateException: Can't happen - classname is null, who added this ?"
"You're a valued member to us, [error 4: name not found]!"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]