gtk widget focus



Hi,

I am writing an gtk+ applicaiton on iPAQ with one window and some buttons in it.
The window has the same size as the iPAQ screen.

When I click one of those buttons, a small dialog box wipp popup to let me select
a number from it. This small dialog box sits right above the parent window.

But if I don't select anything and goes directly to the parent window to do something else,
this small dialog box will lose it's focus and is covered completely by the parent window.
Except moving the parent window,  I cannot bring it back.

So my problem is how to keep the focus of this small dialog box and let it sit right
over the parent window evenif I cliked the parent window.

I tried modal.

Thanks,

Jin





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