Re: Widget shown test
- From: Owen Taylor <otaylor redhat com>
- To: Marsel Osipov <virtuoso jps net>
- Cc: Gtk+ mailing list <gtk-list redhat com>
- Subject: Re: Widget shown test
- Date: 24 Jan 1999 09:43:47 -0500
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]