Re: How to create a dialog window from a thread?



On 16 Nov 2000, at 12:19, Havoc Pennington wrote:

I meant instead of running the main loop, after making all your GTK
calls to create and show the dialog.

I'm afraid I don't quite understand your answer,
how should I program this?

The gtk_main loop is just running by itself, waiting for input, for 
instance a press on an >exit< button.
Could there be a way to block the gtk_main thread, while showing 
the dialog?

This is an X suggestion though - gdk_flush() may or may not do
anything on Windows, and in fact this could be a Windows/GTK bug
you're seeing - I'm just not familiar with the Windows port.

I am suspecting that..., hope it is not the case.
I'll try to do the troublesome parts of the code on Linux during the 
weekend.


- Michael




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