Re: Widget shown test




Marsel Osipov <virtuoso@jps.net> writes:

> Hello all.
> 
> I need to test if a window or a widget is being shown.  Something like
> this:
> 
> if(gtk_widget_is_shown(mywindow)
>   return(true;
> else
>   return(false);
> 
> How would I do that?

if (GTK_WIDGET_VISIBLE (mywindow))
  return TRUE;

                                        Owen



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