knowing if gtk_window_new() has been called



Hi all,

I want to dynamically create and destroy windows. But by i also want to know the current state eg if
it is created or it is destroyed. I guess the only variable i have is the pointer returned by
gtk_window_new(). Can i use this pointer or is there an other method which allows me to check if the
state of the window?

Or is it wise to create the window once and then dynamically show and hide the window. I use the
VISIBLE variable to see the current state.

I prefer the first method.

Thx in advance.

Petro Verheuvel





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