Re: How do i find out if a widget is shown or hidden?

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

 



On Mon, 10 May 2010 04:31:59 +0200
Lothar Scholz <llothar@xxxxxx> wrote:
> There seems to be no "gtk_widget_is_shown" or "gtk_widget_is_hidden"
> function. How do i find out if it is already shown?
 
That depends on what you mean.  You can find out if it has been shown or
hidden programmatically by calling GTK_WIDGET_VISIBLE() (or from gtk+-2.18,
gtk_widget_get_visible()). However, that will not tell you whether the
widget is obscured or iconified (that is, whether it is actually
visible on the desktop). You will need to track notify events and state
events to do that.

Chris
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux