Re: [gtk-list] Widget shown test
- From: John Kodis <kodis jagunet com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Widget shown test
- Date: Sun, 24 Jan 1999 09:28:35 -0500
On Sat, Jan 23, 1999 at 11:05:07PM -0800, Marsel Osipov wrote:
> 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);
You got it almost right. Try this:
return GTK_WIDGET_VISIBLE(mywindow);
-- John Kodis.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]