Re: Window Visibility Signal

2005-07-26 Thread Owen Taylor
On Mon, 2005-07-25 at 14:45 -0600, Kevin DeKorte wrote: > On Monday 25 July 2005 02:11 pm, David Necas (Yeti) wrote: > > On Mon, Jul 25, 2005 at 01:57:02PM -0600, Kevin DeKorte wrote: > > > Nice tip, but unfortunately the expose event does not signal when the > > > object is covered up. Only when r

Re: Window Visibility Signal

2005-07-25 Thread Kevin DeKorte
On Monday 25 July 2005 02:11 pm, David Necas (Yeti) wrote: > On Mon, Jul 25, 2005 at 01:57:02PM -0600, Kevin DeKorte wrote: > > Nice tip, but unfortunately the expose event does not signal when the > > object is covered up. Only when revealed. I even hooked "event" and > > "event-after" and nothing

Re: Window Visibility Signal

2005-07-25 Thread Tristan Van Berkom
Kevin DeKorte wrote: [...] Nice tip, but unfortunately the expose event does not signal when the object is covered up. Only when revealed. I even hooked "event" and "event-after" and nothing was emitted when I covered up the window. Only events were triggered when I moved the mouse into the win

Re: Window Visibility Signal

2005-07-25 Thread David Necas (Yeti)
On Mon, Jul 25, 2005 at 01:57:02PM -0600, Kevin DeKorte wrote: > > Nice tip, but unfortunately the expose event does not signal when the object > is covered up. Only when revealed. I even hooked "event" and "event-after" > and nothing was emitted when I covered up the window. Only events were >

Re: Window Visibility Signal

2005-07-25 Thread Zeeshan Ali
Hello, > Nice tip, but unfortunately the expose event does not signal when the object > is covered up. Only when revealed. I even hooked "event" and "event-after" > and nothing was emitted when I covered up the window. Only events were > triggered when I moved the mouse into the window and out of

Re: Window Visibility Signal

2005-07-25 Thread Kevin DeKorte
On Monday 25 July 2005 12:38 pm, Zeeshan Ali wrote: > Hello, > > > Expose is no problem, but what about when it is hid? basically I > > want to know when the window is hid, so I don't draw to it. > >If you only want to check if a widget is visible or not at a > particular time, you'll n

Re: Window Visibility Signal

2005-07-25 Thread Zeeshan Ali
Hello, > Expose is no problem, but what about when it is hid? basically I want > to know > when the window is hid, so I don't draw to it. If you only want to check if a widget is visible or not at a particular time, you'll need to check for the 'visible' property of the widget. Moreov

Re: Window Visibility Signal

2005-07-25 Thread Kevin DeKorte
On Monday 25 July 2005 12:22 pm, Tristan Van Berkom wrote: > Kevin DeKorte wrote: > > What Signal is issued when a window becomes visible or invisible. > > > > Say I have a window and other window covers it up, is there signal that > > is emitted or if a window is uncovered? > > You'll recieve "exp

Re: Window Visibility Signal

2005-07-25 Thread Tristan Van Berkom
Kevin DeKorte wrote: What Signal is issued when a window becomes visible or invisible. Say I have a window and other window covers it up, is there signal that is emitted or if a window is uncovered? You'll recieve "expose-event" whenever X needs to redraw a widget, I think that in cases where