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

Re: How to check if a GtkWidget pointer have been initialized?



kai wrote:

> Dear all,
>
> In case, I want to save time and resource for creating  a group of 
> widget.
> Therefore, I want to avoid any re_generation or any dummy destroy.
> A widget have been created, but how can I check if the widget pointer 
> been initialized?
>
> Any suggestion is appreciated.
> Thanks,
> Kai

Why don't you just initialize the pointers a value of NULL and check for 
that before creating the widget?




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