Re[2]: How do i find out if a widget is shown or hidden?
- From: Lothar Scholz <llothar web de>
- To: Chris Vine <chris cvine freeserve co uk>
- Cc: gtk-list gnome org
- Subject: Re[2]: How do i find out if a widget is shown or hidden?
- Date: Mon, 10 May 2010 12:22:58 +0200
Hello Chris,
Monday, May 10, 2010, 11:03:31 AM, you wrote:
CV> On Mon, 10 May 2010 04:31:59 +0200
CV> Lothar Scholz <llothar web de> 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?
CV>
CV> That depends on what you mean. You can find out if it has been shown or
CV> hidden programmatically by calling GTK_WIDGET_VISIBLE() (or from gtk+-2.18,
CV> gtk_widget_get_visible()). However, that will not tell you whether the
CV> widget is obscured or iconified (that is, whether it is actually
CV> visible on the desktop). You will need to track notify events and state
CV> events to do that.
Thanks, i thought on X11 it just means this "visible".
So if it is fully covered by other windows or moved out of the range
of the root window.
I will check it.
And what does "mapped" mean?
--
Best regards,
Lothar mailto:llothar web de
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]