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

Re: X Events



On Wed, 28 Feb 2001, Alexey Vyskubov wrote:

> > > Скажите, а кто-нибудь знает, какую маску нужно поставить, чтобы ловить для
> > > X-окна событие DestroyNotify?
> > 
> >  StructureNotifyMask или SubstructureNotifyMask
> 
> Спасибо.
> 
> > man XDestroyWindowEvent
> 
> А то я не пробовал :) Нельзя ли привести цитату, из которой можно догадаться
> про StructureNotifyMask? :)

 Вот цитата, но если честно из нее сложно об этом догадаться:

       The event member is set either to the destroyed window or
       to its parent, depending on whether StructureNotify or
       SubstructureNotify was selected.  The window member is set
       to the window that is destroyed.
 
Так что, действительно StructureNotifyMask дает ловить это событие? :)

 Best regards,
  -Vlad



Reply to: