Re: Refining the concept of focus



> >  +----------- GtkWindow (A)--------------+
> >  |                                       |
> >  | GtkPlug (B)------+ GtkPlug-(D)------+ |
> >  | | GtkEntry (C)-+ | | GtkEntry (E)-+ | |
> >  | | |            | | | |[focus here]  | | |
> >  | | +------------+ | | +------------+ | |
> >  | +----------------+ +----------------+ |
> >  +---------------------------------------+
> > 
> > So, in a situation like the above, we might have 
> > 
> >  is_focus set on C and E
> 
> Is is_focus set on the GtkSockets which connect to B and D?
> 
> >  is_active set on A, B, and D
> 
> I expected that only D would have is_active set. It seems I do not 
understand 
> what is_active means.

is_active is true on all windows (ignoring process boundaries) below the X 
toplevel 
(ie A), since A has the X focus. 

> >  has_toplevel_focus set on A and E 
> 
> I assume you mean A and D here.

Yes, I also wondered about that.

Matthias



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