Unable to show a "Loading..." window properly



hi all,

I am running a gtk application, which is very heavy for my system (it
takes almost 4 seconds to load). I want to show a pop-up window
showing "Loading..." till the create_dialog() function returns. This
window will be gtk_widget_show()-ed from the same application only in
a different thread.
I tried running the popup menu inside the gdk_threads_enter()/leave().
Since both of them are gtk-intrinsic APIs, the popup window "popped
up" with the gtk application itself (i.e. after 4 seconds).
Can anyone suggest why it happens so. How can I popup the Loading...
window just as soon as my app starts loading?

Thanks,
Siddharth Kapoor


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